Home
last modified time | relevance | path

Searched refs:mblock (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dcombined_decode.cpp431 video->mblock->direction = 0; in GetMBheader()
435 video->mblock->direction = 1; in GetMBheader()
530 MacroBlock *mblock = video->mblock; local
543 int *no_coeff = mblock->no_coeff;
585 mblock->DCScalarLum = cal_dc_scaler(QP, LUMINANCE_DC_TYPE); /* 3/01/01 */
586 mblock->DCScalarChr = cal_dc_scaler(QP, CHROMINANCE_DC_TYPE);
590 dataBlock = mblock->block[comp]; /* 10/20/2000 */
620 …ncoeffs[comp] = VlcDequantH263IntraBlock_SH(video, comp, mblock->bitmapcol[comp], &mblock->bitmapr…
633 switched, mblock->bitmapcol[comp], &mblock->bitmaprow[comp]);
674 …ncoeffs[comp] = VlcDequantH263InterBlock(video, comp, mblock->bitmapcol[comp], &mblock->bitmaprow[…
[all …]
Ddatapart_decode.cpp622 MacroBlock *mblock = video->mblock; in GetMBData_DataPart() local
632 int ncoeffs[6], *no_coeff = mblock->no_coeff; in GetMBData_DataPart()
675 mblock->DCScalarLum = cal_dc_scaler(QP, LUMINANCE_DC_TYPE); /* ACDC 03/01/01 */ in GetMBData_DataPart()
676 mblock->DCScalarChr = cal_dc_scaler(QP, CHROMINANCE_DC_TYPE); in GetMBData_DataPart()
680 dataBlock = mblock->block[comp]; /*, 10/20/2000 */ in GetMBData_DataPart()
685 switched, mblock->bitmapcol[comp], &mblock->bitmaprow[comp]); in GetMBData_DataPart()
726 mblock->bitmapcol[comp], &mblock->bitmaprow[comp]); in GetMBData_DataPart()
731 …IDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), m… in GetMBData_DataPart()
732 mblock->bitmapcol[comp], mblock->bitmaprow[comp]); in GetMBData_DataPart()
751 mblock->bitmapcol[4], &mblock->bitmaprow[4]); in GetMBData_DataPart()
[all …]
Dblock_idct.cpp225 MacroBlock *mblock = video->mblock; in MBlockIDCT() local
241 BlockIDCT_intra(mblock, c_comp, 0, width); in MBlockIDCT()
242 BlockIDCT_intra(mblock, c_comp + 8, 1, width); in MBlockIDCT()
243 BlockIDCT_intra(mblock, c_comp + (width << 3), 2, width); in MBlockIDCT()
244 BlockIDCT_intra(mblock, c_comp + (width << 3) + 8, 3, width); in MBlockIDCT()
245 BlockIDCT_intra(mblock, cu_comp, 4, width_uv); in MBlockIDCT()
246 BlockIDCT_intra(mblock, cv_comp, 5, width_uv); in MBlockIDCT()
251 MacroBlock *mblock, PIXEL *c_comp, int comp, int width) in BlockIDCT_intra() argument
256 int16 *coeff_in = mblock->block[comp]; in BlockIDCT_intra()
260 int nz_coefs = mblock->no_coeff[comp]; in BlockIDCT_intra()
[all …]
Dvlc_dequant.cpp56 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantMpegIntraBlock()
99 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in VlcDequantMpegIntraBlock()
389 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantMpegInterBlock()
506 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantH263IntraBlock()
546 dc_scaler = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in VlcDequantH263IntraBlock()
808 …int16 *datablock = video->mblock->block[comp]; /*, 10/20/2000, assume it has been reset of all-zer… in VlcDequantH263IntraBlock_SH()
935 direction = video->mblock->direction; in VlcDequantH263IntraBlock_SH()
1070 …int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero… in VlcDequantH263InterBlock()
Dpvdec_api.cpp417 video->mblock = &IMEM_mblock; in PVAllocVideoData()
418 if (video->mblock == NULL) status = PV_FALSE; in PVAllocVideoData()
419 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVAllocVideoData()
471 video->mblock = (MacroBlock *) oscl_malloc(sizeof(MacroBlock)); in PVAllocVideoData()
472 if (video->mblock == NULL) in PVAllocVideoData()
478 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVAllocVideoData()
591 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVResetVideoDecoder()
621 video->mblock = NULL; in PVCleanUpVideoDecoder()
689 if (video->mblock) oscl_free(video->mblock); in PVCleanUpVideoDecoder()
Ddcac_prediction.cpp196 QP_tmp = (comp < 4) ? video->mblock->DCScalarLum : video->mblock->DCScalarChr; in doDCACPrediction()
321 if (video->mblock->direction == 1) in doDCACPrediction_I()
Dmp4lib_int.h213 MacroBlock *mblock; /* Macroblock data structure */ member
Dconceal.cpp91 oscl_memset(video->mblock->block, 0, sizeof(typeMBStore)); in ConcealTexture_P()
Dmp4dec_lib.h99 void BlockIDCT_intra(MacroBlock *mblock, PIXEL *c_comp, int comp, int width_offset);
Dmb_motion_comp.cpp240 pred_block = video->mblock->pred_block; in MBMotionComp()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Dmb_access.cpp35 video->mbAvailA = (video->mblock[video->mbAddrA].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
38 video->mbAvailD = (video->mblock[video->mbAddrD].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
44 video->mbAvailB = (video->mblock[video->mbAddrB].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
47 video->mbAvailC = (video->mblock[video->mbAddrC].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
53 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr) in mb_is_available() argument
60 if (mblock[mbAddr].slice_id != mblock[currMbAddr].slice_id) in mb_is_available()
87 tempMB = video->mblock + video->mbAddrA; in predict_nnz()
111 tempMB = video->mblock + video->mbAddrB; in predict_nnz()
147 tempMB = video->mblock + video->mbAddrA; in predict_nnz_chroma()
171 tempMB = video->mblock + video->mbAddrB; in predict_nnz_chroma()
[all …]
Ddpb.cpp153 if (video->mblock) in AVCConfigureSequence()
155 avcHandle->CBAVC_Free(userData, video->mblock); in AVCConfigureSequence()
156 video->mblock = NULL; in AVCConfigureSequence()
158 …video->mblock = (AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesi… in AVCConfigureSequence()
159 if (video->mblock == NULL) in AVCConfigureSequence()
165 video->mblock[ii].slice_id = -1; in AVCConfigureSequence()
Ddeblock.cpp305 MbQ = &(video->mblock[mbNum]); // current Mb in DeblockMb()
314 … filterLeftMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - 1, mbNum); in DeblockMb()
315 …filterTopMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - video->PicWidth… in DeblockMb()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dslice.cpp44 currMB = video->currMB = &(video->mblock[CurrMbAddr]); in AVCEncodeSlice()
72 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in AVCEncodeSlice()
76 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in AVCEncodeSlice()
80 video->intraAvailC = video->mblock[video->mbAddrC].mb_intra; in AVCEncodeSlice()
84 video->intraAvailD = video->mblock[video->mbAddrD].mb_intra; in AVCEncodeSlice()
340 MB_A = &video->mblock[video->mbAddrA]; in EncodeMB()
341 MB_B = &video->mblock[video->mbAddrB]; in EncodeMB()
868 void InterpretSubMBTypeP(AVCMacroblock *mblock, uint *sub_mb_type) in InterpretSubMBTypeP() argument
879 sub_mb_type[i] = mblock->subMbMode[i] - AVC_8x8; in InterpretSubMBTypeP()
885 void InterpretSubMBTypeB(AVCMacroblock *mblock, uint *sub_mb_type) in InterpretSubMBTypeB() argument
[all …]
Davcenc_api.cpp173 …video->mblock = (AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesi… in PVAVCEncInitialize()
174 if (video->mblock == NULL) in PVAVCEncInitialize()
640 if (video->mblock != NULL) in PVAVCCleanUpEncoder()
642 avcHandle->CBAVC_Free(userData, video->mblock); in PVAVCCleanUpEncoder()
Dmotion_est.cpp248 AVCMacroblock *currMB, *mblock = video->mblock; in AVCMotionEstimation() local
293 mblock[i].mb_intra = 0; in AVCMotionEstimation()
306 AVCRasterIntraUpdate(encvid, mblock, totalMB, rateCtrl->intraMBRate); in AVCMotionEstimation()
351 video->currMB = currMB = mblock + mbnum; in AVCMotionEstimation()
446 mblock[i].mb_intra = 1; in AVCMotionEstimation()
571 void AVCRasterIntraUpdate(AVCEncObject *encvid, AVCMacroblock *mblock, int totalMB, int numRefresh) in AVCRasterIntraUpdate() argument
578 (mblock + indx)->mb_intra = 1; in AVCRasterIntraUpdate()
588 (mblock + indx)->mb_intra = 1; in AVCRasterIntraUpdate()
Dintra_est.cpp1239 if (video->mblock[video->mbAddrA].mbMode == AVC_I4) in FindMostProbableI4Mode()
1241 intra4x4PredModeA = video->mblock[video->mbAddrA].i4Mode[blkidx + 3]; in FindMostProbableI4Mode()
1263 if (video->mblock[video->mbAddrB].mbMode == AVC_I4) in FindMostProbableI4Mode()
1265 intra4x4PredModeB = video->mblock[video->mbAddrB].i4Mode[blkidx+12]; in FindMostProbableI4Mode()
1871 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in MBIntraSearch()
1875 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in MBIntraSearch()
1879 video->intraAvailC = video->mblock[video->mbAddrC].mb_intra; in MBIntraSearch()
1883 video->intraAvailD = video->mblock[video->mbAddrD].mb_intra; in MBIntraSearch()
2036 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in MBIntraSearch()
2040 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in MBIntraSearch()
[all …]
Davcenc_lib.h523 …void AVCRasterIntraUpdate(AVCEncObject *encvid, AVCMacroblock *mblock, int totalMB, int numRefresh…
903 void InterpretSubMBTypeP(AVCMacroblock *mblock, uint *sub_mb_type);
913 void InterpretSubMBTypeB(AVCMacroblock *mblock, uint *sub_mb_type);
/frameworks/av/media/libstagefright/codecs/avc/common/include/
Davclib_common.h374 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr);
Davcint_common.h677 AVCMacroblock *mblock; /* array of macroblocks covering entire picture */ member