Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dslice.cpp59 currMB = video->currMB = &(video->mblock[CurrMbAddr]); in DecodeSlice()
304 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in mb_pred()
308 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in mb_pred()
312 video->intraAvailC = video->mblock[video->mbAddrC].mb_intra; in mb_pred()
316 video->intraAvailD = video->mblock[video->mbAddrD].mb_intra; in mb_pred()
447 void InterpretMBModeI(AVCMacroblock *mblock, uint mb_type) in InterpretMBModeI() argument
449 mblock->NumMbPart = 1; in InterpretMBModeI()
451 mblock->mb_intra = TRUE; in InterpretMBModeI()
455 mblock->mbMode = AVC_I4; in InterpretMBModeI()
459 mblock->mbMode = AVC_I16; in InterpretMBModeI()
[all …]
Davcdec_lib.h232 void InterpretMBModeI(AVCMacroblock *mblock, uint mb_type);
242 void InterpretMBModeP(AVCMacroblock *mblock, uint mb_type);
252 void InterpretMBModeB(AVCMacroblock *mblock, uint mb_type);
262 void InterpretMBModeSI(AVCMacroblock *mblock, uint mb_type);
272 void InterpretSubMBModeP(AVCMacroblock *mblock, uint *sub_mb_type);
282 void InterpretSubMBModeB(AVCMacroblock *mblock, uint *sub_mb_type);
Davcdec_api.cpp987 if (video->mblock != NULL) in PVAVCCleanUpDecoder()
989 avcHandle->CBAVC_Free(userData, (int)video->mblock); in PVAVCCleanUpDecoder()
/external/opencore/codecs_v2/video/m4v_h263/dec/src/
Dcombined_decode.cpp432 video->mblock->direction = 0; in GetMBheader()
436 video->mblock->direction = 1; in GetMBheader()
531 MacroBlock *mblock = video->mblock; local
544 int *no_coeff = mblock->no_coeff;
586 mblock->DCScalarLum = cal_dc_scaler(QP, LUMINANCE_DC_TYPE); /* 3/01/01 */
587 mblock->DCScalarChr = cal_dc_scaler(QP, CHROMINANCE_DC_TYPE);
591 dataBlock = mblock->block[comp]; /* 10/20/2000 */
621 …ncoeffs[comp] = VlcDequantH263IntraBlock_SH(video, comp, mblock->bitmapcol[comp], &mblock->bitmapr…
634 switched, mblock->bitmapcol[comp], &mblock->bitmaprow[comp]);
675 …ncoeffs[comp] = VlcDequantH263InterBlock(video, comp, mblock->bitmapcol[comp], &mblock->bitmaprow[…
[all …]
Ddatapart_decode.cpp623 MacroBlock *mblock = video->mblock; in GetMBData_DataPart() local
633 int ncoeffs[6], *no_coeff = mblock->no_coeff; in GetMBData_DataPart()
676 mblock->DCScalarLum = cal_dc_scaler(QP, LUMINANCE_DC_TYPE); /* ACDC 03/01/01 */ in GetMBData_DataPart()
677 mblock->DCScalarChr = cal_dc_scaler(QP, CHROMINANCE_DC_TYPE); in GetMBData_DataPart()
681 dataBlock = mblock->block[comp]; /*, 10/20/2000 */ in GetMBData_DataPart()
686 switched, mblock->bitmapcol[comp], &mblock->bitmaprow[comp]); in GetMBData_DataPart()
727 mblock->bitmapcol[comp], &mblock->bitmaprow[comp]); in GetMBData_DataPart()
732 …IDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), m… in GetMBData_DataPart()
733 mblock->bitmapcol[comp], mblock->bitmaprow[comp]); in GetMBData_DataPart()
752 mblock->bitmapcol[4], &mblock->bitmaprow[4]); in GetMBData_DataPart()
[all …]
Dblock_idct.cpp226 MacroBlock *mblock = video->mblock; in MBlockIDCT() local
242 BlockIDCT_intra(mblock, c_comp, 0, width); in MBlockIDCT()
243 BlockIDCT_intra(mblock, c_comp + 8, 1, width); in MBlockIDCT()
244 BlockIDCT_intra(mblock, c_comp + (width << 3), 2, width); in MBlockIDCT()
245 BlockIDCT_intra(mblock, c_comp + (width << 3) + 8, 3, width); in MBlockIDCT()
246 BlockIDCT_intra(mblock, cu_comp, 4, width_uv); in MBlockIDCT()
247 BlockIDCT_intra(mblock, cv_comp, 5, width_uv); in MBlockIDCT()
252 MacroBlock *mblock, PIXEL *c_comp, int comp, int width) in BlockIDCT_intra() argument
257 int16 *coeff_in = mblock->block[comp]; in BlockIDCT_intra()
261 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.cpp383 video->mblock = &IMEM_mblock; in PVAllocVideoData()
384 if (video->mblock == NULL) status = PV_FALSE; in PVAllocVideoData()
385 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVAllocVideoData()
426 video->mblock = (MacroBlock *) oscl_malloc(sizeof(MacroBlock)); in PVAllocVideoData()
427 if (video->mblock == NULL) in PVAllocVideoData()
433 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVAllocVideoData()
540 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 in PVResetVideoDecoder()
570 video->mblock = NULL; in PVCleanUpVideoDecoder()
638 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.h100 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()
/external/opencore/codecs_v2/video/avc_h264/common/src/
Dmb_access.cpp34 video->mbAvailA = (video->mblock[video->mbAddrA].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
37 video->mbAvailD = (video->mblock[video->mbAddrD].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
43 video->mbAvailB = (video->mblock[video->mbAddrB].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
46 video->mbAvailC = (video->mblock[video->mbAddrC].slice_id == video->currMB->slice_id); in InitNeighborAvailability()
52 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr) in mb_is_available() argument
59 if (mblock[mbAddr].slice_id != mblock[currMbAddr].slice_id) in mb_is_available()
86 tempMB = video->mblock + video->mbAddrA; in predict_nnz()
110 tempMB = video->mblock + video->mbAddrB; in predict_nnz()
146 tempMB = video->mblock + video->mbAddrA; in predict_nnz_chroma()
170 tempMB = video->mblock + video->mbAddrB; in predict_nnz_chroma()
[all …]
Ddpb.cpp153 if (video->mblock) in AVCConfigureSequence()
155 avcHandle->CBAVC_Free(userData, (uint32)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.cpp302 MbQ = &(video->mblock[mbNum]); // current Mb in DeblockMb()
311 … filterLeftMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - 1, mbNum); in DeblockMb()
312 …filterTopMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - video->PicWidth… in DeblockMb()
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dslice.cpp45 currMB = video->currMB = &(video->mblock[CurrMbAddr]); in AVCEncodeSlice()
73 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in AVCEncodeSlice()
77 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in AVCEncodeSlice()
81 video->intraAvailC = video->mblock[video->mbAddrC].mb_intra; in AVCEncodeSlice()
85 video->intraAvailD = video->mblock[video->mbAddrD].mb_intra; in AVCEncodeSlice()
341 MB_A = &video->mblock[video->mbAddrA]; in EncodeMB()
342 MB_B = &video->mblock[video->mbAddrB]; in EncodeMB()
869 void InterpretSubMBTypeP(AVCMacroblock *mblock, uint *sub_mb_type) in InterpretSubMBTypeP() argument
880 sub_mb_type[i] = mblock->subMbMode[i] - AVC_8x8; in InterpretSubMBTypeP()
886 void InterpretSubMBTypeB(AVCMacroblock *mblock, uint *sub_mb_type) in InterpretSubMBTypeB() argument
[all …]
Davcenc_api.cpp182 …video->mblock = (AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesi… in PVAVCEncInitialize()
183 if (video->mblock == NULL) in PVAVCEncInitialize()
650 if (video->mblock != NULL) in PVAVCCleanUpEncoder()
652 avcHandle->CBAVC_Free(userData, (int)video->mblock); in PVAVCCleanUpEncoder()
Dmotion_est.cpp249 AVCMacroblock *currMB, *mblock = video->mblock; in AVCMotionEstimation() local
294 mblock[i].mb_intra = 0; in AVCMotionEstimation()
307 AVCRasterIntraUpdate(encvid, mblock, totalMB, rateCtrl->intraMBRate); in AVCMotionEstimation()
352 video->currMB = currMB = mblock + mbnum; in AVCMotionEstimation()
447 mblock[i].mb_intra = 1; in AVCMotionEstimation()
572 void AVCRasterIntraUpdate(AVCEncObject *encvid, AVCMacroblock *mblock, int totalMB, int numRefresh) in AVCRasterIntraUpdate() argument
579 (mblock + indx)->mb_intra = 1; in AVCRasterIntraUpdate()
589 (mblock + indx)->mb_intra = 1; in AVCRasterIntraUpdate()
Dintra_est.cpp1240 if (video->mblock[video->mbAddrA].mbMode == AVC_I4) in FindMostProbableI4Mode()
1242 intra4x4PredModeA = video->mblock[video->mbAddrA].i4Mode[blkidx + 3]; in FindMostProbableI4Mode()
1264 if (video->mblock[video->mbAddrB].mbMode == AVC_I4) in FindMostProbableI4Mode()
1266 intra4x4PredModeB = video->mblock[video->mbAddrB].i4Mode[blkidx+12]; in FindMostProbableI4Mode()
1872 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in MBIntraSearch()
1876 video->intraAvailB = video->mblock[video->mbAddrB].mb_intra ; in MBIntraSearch()
1880 video->intraAvailC = video->mblock[video->mbAddrC].mb_intra; in MBIntraSearch()
1884 video->intraAvailD = video->mblock[video->mbAddrD].mb_intra; in MBIntraSearch()
2037 video->intraAvailA = video->mblock[video->mbAddrA].mb_intra; in MBIntraSearch()
2041 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);
/external/opencore/codecs_v2/video/avc_h264/common/include/
Davclib_common.h376 bool mb_is_available(AVCMacroblock *mblock, uint PicSizeInMbs, int mbAddr, int currMbAddr);
Davcint_common.h680 AVCMacroblock *mblock; /* array of macroblocks covering entire picture */ member