Searched refs:currVop (Results 1 - 22 of 22) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop);
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
45 Vop *currVop = video->currVop; local
55 switch (currVop->predictionType)
126 Vop *currVop = video->currVop; local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
146 if (currVol->GOVStart && currVop->predictionType == I_VOP)
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encod
194 Vop *currVop = video->currVop; local
313 Vop *currVop = video->currVop; local
353 EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop) argument
412 EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop) argument
509 Vop *currVop = video->currVop; local
[all...]
H A Ddatapart_encode.cpp40 Vop *currVop = video->currVop; local
42 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
43 Int lx = currVop->pitch; /* with padding */
61 video->QP_prev = currVop->quantizer;
76 if (currVop->predictionType == P_VOP)
78 else if (currVop->predictionType == I_VOP)
108 /* MB Prediction:Put into MC macroblock, substract from currVop, put in predMB */
118 video->QP_prev = currVop->quantizer; /* store QP */
151 if (video->currVop
215 Vop *currVop = video->currVop; local
[all...]
H A Dcombined_encode.cpp41 Vop *currVop = video->currVop; local
43 Int width = currVop->width; /* has to be Vop, for multiple of 16 */
44 Int lx = currVop->pitch; /* with padding */
64 video->QP_prev = currVop->quantizer;
79 if (currVop->predictionType == P_VOP)
81 else if (currVop->predictionType == I_VOP)
101 if (currVol->shortVideoHeader && currVop->gobFrameID != currVop->predictionType)
102 currVop
266 Vop *currVop = video->currVop; local
[all...]
H A Dmp4enc_api.cpp752 video->currVop = (Vop *) M4VENC_MALLOC(sizeof(Vop)); /* Memory for Current VOP */
753 if (video->currVop == NULL) goto CLEAN_UP;
776 video->currVop->allChan = video->currVop->yChan = (PIXEL *)M4VENC_MALLOC(sizeof(PIXEL) * (size + (size >> 1))); /* Memory for currVop Y */
777 if (video->currVop->yChan == NULL) goto CLEAN_UP;
778 video->currVop->uChan = video->currVop->yChan + size;/* Memory for currVop U */
779 video->currVop
[all...]
H A Dfastcodemb.cpp37 /* currVop->yChan,uChan,vChan Reconstructed pixels */
73 Vop *currVop = video->currVop; local
77 Int lx = currVop->pitch;
78 Int width = currVop->width;
129 rec = currVop->yChan + offset;
161 rec = currVop->uChan + offsetc;
182 rec = currVop->vChan + offsetc;
266 /* currVop->yChan,uChan,vChan Reconstructed pixels */
304 Vop *currVop local
[all...]
H A Dfindhalfpel.cpp79 Int lx = video->currVop->pitch;
80 Int width = video->currVop->width; /* padding */
194 Int lx = video->currVop->pitch;
195 Int width = video->currVop->width; /* , padding */
H A Drate_control.cpp171 reset QPMB[], currVop->quantizer, rc->Ec, video->header_bits */
174 2. Set currVop->quantizer
187 Vop *currVop = video->currVop; local
199 M4VENC_MEMSET(video->QPMB, currVop->quantizer, sizeof(UChar)*currVol->nTotalMB);
207 M4VENC_MEMSET(video->QPMB, currVop->quantizer, sizeof(UChar)*currVol->nTotalMB);
213 currVop->quantizer = video->rc[currLayer]->Qc;
219 video->QPMB[i] = (i & 1) ? currVop->quantizer - 1 : currVop->quantizer + 1;
222 M4VENC_MEMSET(video->QPMB, currVop
[all...]
H A Dmotion_est.cpp140 Vop *currVop = video->currVop; local
184 if (video->currVop->predictionType == I_VOP)
467 currVop->predictionType = I_VOP;
469 currVop->quantizer = video->encParams->InitQuantIvop[video->currLayer];
517 currVop->fcodeForward = (f_code_p > f_code_n ? f_code_p : f_code_n);
537 Int lx = video->currVop->width; // padding
540 Int rx = video->currVop->pitch;
682 Int width = video->currVop->width;
744 Int width = video->currVop
[all...]
H A Dmotion_comp.cpp101 Vop *currVop = video->currVop; local
116 round1 = (Int)(1 - video->currVop->roundingType);
118 pitch = currVop->pitch;
119 height = currVop->height;
158 pitch_uv, (currVop->width) >> 1, height_uv, round1);
182 pitch_uv, (currVop->width) >> 1, height_uv, round1);
H A Dvlc_encode.cpp1056 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].x - pmvx, bs1); /* Write x to bitstream */
1057 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].y - pmvy, bs1); /* Write y to bitstream */
1064 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].x - pmvx, bs1);
1065 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].y - pmvy, bs1);
1338 if (!((video->vol[video->currLayer]->scalability) && (video->currVop->refSelectCode == 3)))
1343 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].x - pmvx, bs1); /* Write x to bitstream */
1344 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][0].y - pmvy, bs1); /* Write y to bitstream */
1351 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].x - pmvx, bs1);
1352 WriteMVcomponent(video->currVop->fcodeForward, video->mot[mbnum][i].y - pmvy, bs1);
2515 *intraDC_decision = IntraDCSwitch_Decision(Mode, video->currVop
[all...]
H A Dmp4lib_int.h328 Vop *currVop; /* Current reconstructed VOP */ member in struct:tagVideoEncData
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpacket_util.cpp32 Vop *currVop = video->currVop; local
42 fcode_forward = currVop->fcodeForward;
45 if (currVop->predictionType != I_VOP) resync_marker_length = 16 + fcode_forward;
68 currVop->quantizer = quantizer;
100 if (currVop->predictionType != I_VOP)
104 if (currVop->predictionType == B_VOP)
147 Vop *currVop = video->currVop; local
184 currVop
198 Vop *currVop = video->currVop; local
[all...]
H A Dvop.cpp808 PV_STATUS DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_timestamp) argument
836 currVop->timeStamp = -1;
852 currVop->predictionType = (int) BitstreamReadBits16(stream, 2);
879 currVop->timeInc = BitstreamReadBits16(stream, currVol->nbitsTimeIncRes);
890 currVop->vopCoded = (int) BitstreamRead1Bits(stream);
893 if (currVop->vopCoded == 0)
901 if (currVop->predictionType == P_VOP)
903 currVop->roundingType = (int) BitstreamRead1Bits(stream);
907 currVop->roundingType = 0;
927 if (currVop
1018 DecodeShortHeader(VideoDecData *video, Vop *currVop) argument
1631 CalcVopDisplayTime(Vol *currVol, Vop *currVop, int shortVideoHeader) argument
[all...]
H A Dpvdec_api.cpp128 video->currVop = IMEM_currVop;
129 if (video->currVop == NULL) status = PV_FALSE;
130 else oscl_memset(video->currVop, 0, sizeof(Vop));
138 video->currVop = (Vop *) oscl_malloc(sizeof(Vop));
139 if (video->currVop == NULL) status = PV_FALSE;
140 else oscl_memset(video->currVop, 0, sizeof(Vop));
338 video->currVop->yChan = IMEM_currVop_yChan; /* Allocate memory for all VOP OKA 3/2/1*/
339 if (video->currVop->yChan == NULL) status = PV_FALSE;
340 video->currVop->uChan = video->currVop
1088 Vop *currVop = video->currVop; local
1300 Vop *currVop = video->currVop; local
[all...]
H A Dcombined_decode.cpp46 Vop *currVop = video->currVop; local
64 switch (currVop->predictionType)
75 resync_marker_length = 16 + currVop->fcodeForward;
116 QP = video->currVop->quantizer;
289 mbnum = currVop->gobNumber * video->nMBinGOB;
325 QP = video->currVop->quantizer;
363 VopType = video->currVop->predictionType;
536 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
666 c_comp = video->currVop
[all...]
H A Ddatapart_decode.cpp42 Vop *currVop = video->currVop; local
47 int vopType = currVop->predictionType;
64 resync_marker_length = 16 + currVop->fcodeForward;
154 QP = video->currVop->quantizer;
406 QP = video->currVop->quantizer;
521 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
627 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
716 c_comp = video->currVop->yChan + offset;
755 BlockIDCT(video->currVop
[all...]
H A Dmp4dec_lib.h275 PV_STATUS DecodeVOPHeader(VideoDecData *video, Vop *currVop, Bool use_ext_tiemstamp);
276 PV_STATUS DecodeShortHeader(VideoDecData *video, Vop *currVop);
278 uint32 CalcVopDisplayTime(Vol *currVol, Vop *currVop, int shortVideoHeader);
H A Dmb_motion_comp.cpp39 video->currVop->yChan contents are the newly calculated luminance
41 video->currVop->uChan contents are the newly calculated chrominance
43 video->currVop->vChan contents are the newly calculated chrominance
170 round1 = (int)(1 - video->currVop->roundingType);
262 c_comp = video->currVop->yChan + offset;
472 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2);
473 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2);
599 comp = video->currVop;
H A Dconceal.cpp41 int intra_dc_vlc_thr = video->currVop->intraDCVlcThr;
128 CopyVopMB(video->currVop, video->concealFrame, i, video->width, video->height);
H A Dblock_idct.cpp224 Vop *currVop = video->currVop; local
237 c_comp = currVop->yChan + offset;
238 cu_comp = currVop->uChan + (offset >> 2) + (x_pos << 2);
239 cv_comp = currVop->vChan + (offset >> 2) + (x_pos << 2);
H A Dmp4lib_int.h206 Vop *currVop; /* Current VOP (frame) */ member in struct:tagVideoDecData
H A Dvlc_decode.cpp136 int f_code_f = video->currVop->fcodeForward;

Completed in 238 milliseconds