Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/video/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.cpp287 int nTotalMB; in PVAllocVideoData() local
300 video->nTotalMB = in PVAllocVideoData()
357 nTotalMB = video->nTotalMB; in PVAllocVideoData()
363 video->memoryUsage += nTotalMB; in PVAllocVideoData()
366 video->memoryUsage += (nTotalMB); in PVAllocVideoData()
369 video->memoryUsage += (nTotalMB * sizeof(typeDCStore)); in PVAllocVideoData()
376 video->memoryUsage += nTotalMB; in PVAllocVideoData()
379 video->memoryUsage += nTotalMB; in PVAllocVideoData()
382 video->memoryUsage += (nTotalMB * sizeof(int)); in PVAllocVideoData()
392 video->memoryUsage += (sizeof(MOT) * 8 * nTotalMB); in PVAllocVideoData()
[all …]
Ddatapart_decode.cpp50 int nTotalMB = video->nTotalMB; in DecodeFrameDataPartMode() local
62 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameDataPartMode()
63 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameDataPartMode()
109 mbnum = nTotalMB; in DecodeFrameDataPartMode()
117 if (mbnum >= nTotalMB) in DecodeFrameDataPartMode()
144 int nTotalMB = video->nTotalMB; in DecodeDataPart_I_VideoPacket() local
202 while (tmpvar != DC_MARKER && video->mbnum < nTotalMB); in DecodeDataPart_I_VideoPacket()
309 int nTotalMB = video->nTotalMB; in DecodeDataPart_P_VideoPacket() local
379 while (tmpvar != MOTION_MARKER_COMB && video->mbnum < nTotalMB); in DecodeDataPart_P_VideoPacket()
641 int TotalMB = video->nTotalMB; in GetMBData_DataPart()
Dcombined_decode.cpp52 int nTotalMB = video->nTotalMB; in DecodeFrameCombinedMode() local
73 oscl_memset(video->motX, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameCombinedMode()
74 oscl_memset(video->motY, 0, sizeof(MOT)*4*nTotalMB); in DecodeFrameCombinedMode()
205 if (mbnum >= nTotalMB) return PV_SUCCESS; in DecodeFrameCombinedMode()
223 if (mbnum >= nTotalMB) /* in case no valid stuffing 06/23/01 */ in DecodeFrameCombinedMode()
229 ConcealPacket(video, mb_start, nTotalMB, slice_counter); in DecodeFrameCombinedMode()
247 if (mbnum >= nTotalMB) /* in case no valid stuffing 06/23/01 */ in DecodeFrameCombinedMode()
256 ConcealPacket(video, mb_start, nTotalMB, slice_counter); in DecodeFrameCombinedMode()
319 mbnum = nTotalMB; in DecodeFrameCombinedMode()
328 if (mbnum >= nTotalMB) break; in DecodeFrameCombinedMode()
[all …]
Dvop.cpp689 video->nTotalMB = video->nMBPerRow * video->nMBPerCol; in DecodeVOLHeader()
690 video->nBitsForMBID = CalcNumBits((uint)video->nTotalMB - 1); in DecodeVOLHeader()
1359 video->nTotalMB = video->width / MB_SIZE * video->height / MB_SIZE; in DecodeShortHeader()
1361 if (video->nTotalMB <= 48) in DecodeShortHeader()
1365 else if (video->nTotalMB <= 99) in DecodeShortHeader()
1369 else if (video->nTotalMB <= 396) in DecodeShortHeader()
1373 else if (video->nTotalMB <= 1584) in DecodeShortHeader()
1377 else if (video->nTotalMB <= 6336) in DecodeShortHeader()
1381 else if (video->nTotalMB <= 9216) in DecodeShortHeader()
1424 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
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dmp4enc_api.cpp192 Int size = 0, nTotalMB = 0; in PVInitVideoEncoder() local
508 nTotalMB = ((encParams->LayerWidth[i] + 15) / 16) * ((encParams->LayerHeight[i] + 15) / 16); in PVInitVideoEncoder()
510 if (nTotalMB > 0) in PVInitVideoEncoder()
511 profile_max_framerate = (float)encParams->LayerMaxMbsPerSec[i] / (float)nTotalMB; in PVInitVideoEncoder()
613 nTotalMB = ((max_width * max_height) >> 8); in PVInitVideoEncoder()
617 mbsPerSec = (Int)(nTotalMB * video->encParams->LayerFrameRate[idx]); in PVInitVideoEncoder()
646 video->QPMB = (UChar *) M4VENC_MALLOC(nTotalMB * sizeof(UChar)); /* Memory for MB quantizers */ in PVInitVideoEncoder()
650 …video->headerInfo.Mode = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for MB Modes… in PVInitVideoEncoder()
652 …video->headerInfo.CBP = (UChar *) M4VENC_MALLOC(sizeof(UChar) * nTotalMB); /* Memory for CBP (Y … in PVInitVideoEncoder()
657 video->mot = (MOT **)M4VENC_MALLOC(sizeof(MOT *) * nTotalMB); 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.h124 Int nTotalMB; member
Dmotion_est.cpp145 Int totalMB = currVol->nTotalMB; in MotionEstimation()