Home
last modified time | relevance | path

Searched refs:nTotalMB (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpacket_util.cpp40 int nTotalMB = video->nTotalMB; in PV_ReadVideoPacketHeader() local
59 if (*next_MB >= nTotalMB) /* fix 04/05/01 */ in PV_ReadVideoPacketHeader()
62 if (*next_MB >= nTotalMB) /* this check is needed */ in PV_ReadVideoPacketHeader()
63 *next_MB = nTotalMB - 1; in PV_ReadVideoPacketHeader()
200 int nTotalMB = video->nTotalMB; in PV_H263SliceHeader() local
213 if (*next_MB >= nTotalMB) /* fix 04/05/01 */ in PV_H263SliceHeader()
216 if (*next_MB >= nTotalMB) /* this check is needed */ in PV_H263SliceHeader()
217 *next_MB = nTotalMB - 1; in PV_H263SliceHeader()
Dpvdec_api.cpp308 int nTotalMB; in PVAllocVideoData() local
323 video->nTotalMB = in PVAllocVideoData()
391 nTotalMB = video->nTotalMB; in PVAllocVideoData()
397 video->memoryUsage += nTotalMB; in PVAllocVideoData()
400 video->memoryUsage += (nTotalMB); in PVAllocVideoData()
403 video->memoryUsage += (nTotalMB * sizeof(typeDCStore)); in PVAllocVideoData()
410 video->memoryUsage += nTotalMB; in PVAllocVideoData()
413 video->memoryUsage += nTotalMB; in PVAllocVideoData()
416 video->memoryUsage += (nTotalMB * sizeof(int)); in PVAllocVideoData()
426 video->memoryUsage += (sizeof(MOT) * 8 * nTotalMB); in PVAllocVideoData()
[all …]
Ddatapart_decode.cpp49 int nTotalMB = video->nTotalMB; in DecodeFrameDataPartMode() local
61 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameDataPartMode()
62 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameDataPartMode()
108 mbnum = nTotalMB; in DecodeFrameDataPartMode()
116 if (mbnum >= nTotalMB) in DecodeFrameDataPartMode()
143 int nTotalMB = video->nTotalMB; in DecodeDataPart_I_VideoPacket() local
201 while (tmpvar != DC_MARKER && video->mbnum < nTotalMB); in DecodeDataPart_I_VideoPacket()
308 int nTotalMB = video->nTotalMB; in DecodeDataPart_P_VideoPacket() local
378 while (tmpvar != MOTION_MARKER_COMB && video->mbnum < nTotalMB); in DecodeDataPart_P_VideoPacket()
640 int TotalMB = video->nTotalMB; in GetMBData_DataPart()
Dcombined_decode.cpp51 int nTotalMB = video->nTotalMB; in DecodeFrameCombinedMode() local
72 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameCombinedMode()
73 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameCombinedMode()
204 if (mbnum >= nTotalMB) return PV_SUCCESS; in DecodeFrameCombinedMode()
222 if (mbnum >= nTotalMB) /* in case no valid stuffing 06/23/01 */ in DecodeFrameCombinedMode()
228 ConcealPacket(video, mb_start, nTotalMB, slice_counter); in DecodeFrameCombinedMode()
246 if (mbnum >= nTotalMB) /* in case no valid stuffing 06/23/01 */ in DecodeFrameCombinedMode()
255 ConcealPacket(video, mb_start, nTotalMB, slice_counter); in DecodeFrameCombinedMode()
318 mbnum = nTotalMB; in DecodeFrameCombinedMode()
327 if (mbnum >= nTotalMB) break; in DecodeFrameCombinedMode()
[all …]
Dvop.cpp692 video->nTotalMB = video->nMBPerRow * video->nMBPerCol; in DecodeVOLHeader()
693 video->nBitsForMBID = CalcNumBits((uint)video->nTotalMB - 1); in DecodeVOLHeader()
1362 video->nTotalMB = video->width / MB_SIZE * video->height / MB_SIZE; in DecodeShortHeader()
1364 if (video->nTotalMB <= 48) in DecodeShortHeader()
1368 else if (video->nTotalMB <= 99) in DecodeShortHeader()
1372 else if (video->nTotalMB <= 396) in DecodeShortHeader()
1376 else if (video->nTotalMB <= 1584) in DecodeShortHeader()
1380 else if (video->nTotalMB <= 6336) in DecodeShortHeader()
1384 else if (video->nTotalMB <= 9216) in DecodeShortHeader()
1427 video->nTotalMB = video->nMBPerRow * video->nMBPerCol; in DecodeShortHeader()
[all …]
Dpost_filter.cpp42 int nTotalMB = video->nTotalMB; in PostFilter() local
102 pp_mod += (nTotalMB << 2); in PostFilter()
132 pp_mod += nTotalMB; in PostFilter()
Dmb_motion_comp.cpp155 int32 size = (int32) video->nTotalMB << 8; in MBMotionComp()
562 int32 size = (int32) video->nTotalMB << 8; in SkippedMBMotionComp()
Dmp4lib_int.h238 int nTotalMB; member
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dmp4enc_api.cpp199 Int size = 0, nTotalMB = 0; in PVInitVideoEncoder() local
515 nTotalMB = ((encParams->LayerWidth[i] + 15) / 16) * ((encParams->LayerHeight[i] + 15) / 16); in PVInitVideoEncoder()
517 if (nTotalMB > 0) in PVInitVideoEncoder()
518 profile_max_framerate = (float)encParams->LayerMaxMbsPerSec[i] / (float)nTotalMB; in PVInitVideoEncoder()
624 nTotalMB = ((max_width * max_height) >> 8); in PVInitVideoEncoder()
628 mbsPerSec = (Int)(nTotalMB * video->encParams->LayerFrameRate[idx]); in PVInitVideoEncoder()
657 video->QPMB = (UChar *) M4VENC_MALLOC(nTotalMB * sizeof(UChar)); /* Memory for MB quantizers */ in PVInitVideoEncoder()
661 …video->headerInfo.Mode = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for MB Modes… in PVInitVideoEncoder()
663 …video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y … in PVInitVideoEncoder()
668 if ((size_t)nTotalMB > SIZE_MAX / sizeof(MOT *)) { in PVInitVideoEncoder()
[all …]
Dcombined_encode.cpp270 Int nTotalMB = currVol->nTotalMB; in EncodeSliceCombinedMode() local
486 if (mbnum < nTotalMB || video->end_of_buf) /* return here */ in EncodeSliceCombinedMode()
506 …if (mbnum < nTotalMB - 1 && currVol->stream->byteCount + bs1->byteCount + 1 >= currVol->stream->bu… in EncodeSliceCombinedMode()
574 … if (mbnum == nTotalMB) /* there's one more GOB to packetize for the next round */ in EncodeSliceCombinedMode()
581 if (mbnum < nTotalMB) /* return here */ in EncodeSliceCombinedMode()
592 else if (mbnum < nTotalMB) /* do not write GOB header if end of vop */ in EncodeSliceCombinedMode()
662 if (mbnum < nTotalMB) in EncodeSliceCombinedMode()
Ddatapart_encode.cpp218 Int nTotalMB = currVol->nTotalMB; in EncodeSliceDataPartMode() local
415 if (mbnum < nTotalMB || video->end_of_buf) /* return here */ in EncodeSliceDataPartMode()
473 if (mbnum < nTotalMB) in EncodeSliceDataPartMode()
Drate_control.cpp199 M4VENC_MEMSET(video->QPMB, currVop->quantizer, sizeof(UChar)*currVol->nTotalMB); in RC_VopQPSetting()
207 M4VENC_MEMSET(video->QPMB, currVop->quantizer, sizeof(UChar)*currVol->nTotalMB); in RC_VopQPSetting()
215 i = currVol->nTotalMB; /* testing changing QP at MB level */ in RC_VopQPSetting()
222 M4VENC_MEMSET(video->QPMB, currVop->quantizer, sizeof(UChar)*currVol->nTotalMB); in RC_VopQPSetting()
247 pMP->mad = video->sumMAD / (float)currVol->nTotalMB; in RC_VopQPSetting()
555 curr_mad = video->sumMAD / (float)currVol->nTotalMB; in targetBitCalculation()
726 curr_mad = video->sumMAD / (float)currVol->nTotalMB; in calculateQuantizer_Multipass()
Dvop.cpp58 M4VENC_MEMSET(Mode, MODE_INTRA, sizeof(UChar)*currVol->nTotalMB); in EncodeVop()
61 M4VENC_MEMSET(Mode, MODE_INTER, sizeof(UChar)*currVol->nTotalMB); in EncodeVop()
252 if (video->mbnum >= currVol->nTotalMB && status != PV_END_OF_BUF) /* end of Vop */ in EncodeSlice()
Dmp4lib_int.h122 Int nTotalMB; member
Dmotion_est.cpp145 Int totalMB = currVol->nTotalMB; in MotionEstimation()