Home
last modified time | relevance | path

Searched refs:mbNum (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_util.c264 void h264bsdSetCurrImageMbPointers(image_t *image, u32 mbNum) in h264bsdSetCurrImageMbPointers() argument
273 row = mbNum / width; in h264bsdSetCurrImageMbPointers()
274 col = mbNum % width; in h264bsdSetCurrImageMbPointers()
Dh264bsd_intra_prediction.h52 image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data);
63 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
Dh264bsd_image.c171 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data, in h264bsdWriteOutputBlocks() argument
193 ASSERT(mbNum < image->width * image->height); in h264bsdWriteOutputBlocks()
199 row = mbNum / picWidth; in h264bsdWriteOutputBlocks()
200 col = mbNum % picWidth; in h264bsdWriteOutputBlocks()
Dh264bsd_inter_prediction.h53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
Dh264bsd_image.h63 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data,
Dh264bsd_inter_prediction.c198 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) in h264bsdInterPrediction() argument
221 colAndRow = mbNum / currImage->width; in h264bsdInterPrediction()
223 colAndRow += (mbNum - colAndRow * currImage->width) << 16; in h264bsdInterPrediction()
361 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) in h264bsdInterPrediction() argument
378 row = mbNum / currImage->width; in h264bsdInterPrediction()
379 col = mbNum - row * currImage->width; in h264bsdInterPrediction()
472 h264bsdWriteOutputBlocks(currImage, mbNum, data, in h264bsdInterPrediction()
Dh264bsd_macroblock_layer.c965 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum, in h264bsdDecodeMacroblock() argument
982 ASSERT(mbNum < currImage->width*currImage->height); in h264bsdDecodeMacroblock()
989 h264bsdSetCurrImageMbPointers(currImage, mbNum); in h264bsdDecodeMacroblock()
1027 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, in h264bsdDecodeMacroblock()
1116 tmp = h264bsdIntraPrediction(pMb, pMbLayer, currImage, mbNum, in h264bsdDecodeMacroblock()
1122 tmp = h264bsdInterPrediction(pMb, pMbLayer, dpb, mbNum, in h264bsdDecodeMacroblock()
Dh264bsd_intra_prediction.c474 image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data) in h264bsdIntraPrediction() argument
493 ASSERT(mbNum < image->width * image->height); in h264bsdIntraPrediction()
496 h264bsdGetNeighbourPels(image, pelAbove, pelLeft, mbNum); in h264bsdIntraPrediction()
540 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum) in h264bsdGetNeighbourPels() argument
555 ASSERT(mbNum < image->width * image->height); in h264bsdGetNeighbourPels()
557 if (!mbNum) in h264bsdGetNeighbourPels()
562 row = mbNum / width; in h264bsdGetNeighbourPels()
563 col = mbNum - row * width; in h264bsdGetNeighbourPels()
Dh264bsd_util.h176 void h264bsdSetCurrImageMbPointers(image_t *image, u32 mbNum);
Dh264bsd_conceal.c261 u32 mbNum; in ConcealMb() local
289 mbNum = row * width + col; in ConcealMb()
291 h264bsdSetCurrImageMbPointers(currImage, mbNum); in ConcealMb()
Dh264bsd_macroblock_layer.h200 image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum,
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dmb_access.cpp22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum) in InitNeighborAvailability() argument
27 video->mbAddrA = mbNum - 1; in InitNeighborAvailability()
28 video->mbAddrB = mbNum - PicWidthInMbs; in InitNeighborAvailability()
29 video->mbAddrC = mbNum - PicWidthInMbs + 1; in InitNeighborAvailability()
30 video->mbAddrD = mbNum - PicWidthInMbs - 1; in InitNeighborAvailability()
Ddeblock.cpp300 int mbNum = mb_y * video->PicWidthInMbs + mb_x; in DeblockMb() local
305 MbQ = &(video->mblock[mbNum]); // current Mb in DeblockMb()
314 … filterLeftMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - 1, mbNum); in DeblockMb()
315 …geFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - video->PicWidthInMbs, mbNum); in DeblockMb()
389 mbNum = Beta; in DeblockMb()
489 Beta = mbNum; in DeblockMb()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dslice.cpp35 video->mbNum = CurrMbAddr = sliceHdr->first_mb_in_slice;// * (1+video->MbaffFrameFlag); in AVCEncodeSlice()
43 video->mbNum = CurrMbAddr; in AVCEncodeSlice()
128 video->mbNum = CurrMbAddr; in AVCEncodeSlice()
165 int CurrMbAddr = video->mbNum; in EncodeMB()
Dinit.cpp777 video->mbNum = 0; /* start from zero MB */ in InitFrame()
806 sliceHdr->first_mb_in_slice = video->mbNum; in InitSlice()
807 if (video->mbNum) // not first slice of a frame in InitSlice()
Dmotion_est.cpp350 video->mbNum = mbnum; in AVCMotionEstimation()
838 AVCEnc_Status AVCMBMotionSearch(AVCEncObject *encvid, AVCMacroblock *currMB, int mbNum, in AVCMBMotionSearch() argument
965 int mbnum = video->mbNum; in AVCMBMotionSearch()
1340 encvid->rateCtrl->MADofMB[encvid->common->mbNum] = (min_sad / 256.0); // for rate control in AVCFullSearch()
1362 int mbnum = video->mbNum; in AVCCandidateSelection()
Drate_control.cpp776 rateCtrl->MADofMB[video->mbNum] = AVCSAD_Macroblock_C(orgL, in RCCalculateMAD()
781 rateCtrl->MADofMB[video->mbNum] = encvid->i4_sad / 256.; in RCCalculateMAD()
Dintra_est.cpp1851 void MBIntraSearch(AVCEncObject *encvid, AVCMacroblock *currMB, int mbNum) in MBIntraSearch() argument
1853 (void)(mbNum); in MBIntraSearch()
2004 void MBIntraSearch(AVCEncObject *encvid, AVCMacroblock *currMB, int mbNum) in MBIntraSearch() argument
Dheader.cpp332 if (video->mbNum == 0) /* first mb in frame */ in EncodeSliceHeader()
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davclib_common.h364 OSCL_IMPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum);
Davcint_common.h679 uint mbNum; /* number of current MB */ member