Home
last modified time | relevance | path

Searched refs:x_pos (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Ddcac_prediction.cpp41 int x_pos = video->mbnum_col; in doDCACPrediction() local
52 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in doDCACPrediction()
79 if (!comp && x_pos && !(video->headerInfo.Mode[mbnum-1]&INTRA_MASK)) /* not intra */ in doDCACPrediction()
102 if (x_pos == 0 && y_pos == 0) in doDCACPrediction()
108 else if (x_pos == 0) in doDCACPrediction()
217 int x_pos = video->mbnum_col; in doDCACPrediction_I() local
223 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in doDCACPrediction_I()
261 if (x_pos == 0 && y_pos == 0) in doDCACPrediction_I()
266 else if (x_pos == 0) in doDCACPrediction_I()
Dcombined_decode.cpp350 int x_pos = video->mbnum_col; in GetMBheader() local
352 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in GetMBheader()
554 int x_pos = video->mbnum_col; local
555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
563 pp_mod[0] = video->pstprcTypCur + (y_pos << 1) * (MB_in_width << 1) + (x_pos << 1);
707 …BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->…
731 …BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->…
785 …BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->…
809 …BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->…
Ddatapart_decode.cpp630 int x_pos = video->mbnum_col; in GetMBData_DataPart() local
653 pp_mod[0] = video->pstprcTypCur + (y_pos << 1) * (MB_in_width << 1) + (x_pos << 1); in GetMBData_DataPart()
715 offset = (int32)(y_pos << 4) * width + (x_pos << 4); in GetMBData_DataPart()
755 …BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->… in GetMBData_DataPart()
775 …BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->… in GetMBData_DataPart()
Dvlc_dequant.cpp61 int x_pos = video->mbnum_col; in VlcDequantMpegIntraBlock() local
62 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in VlcDequantMpegIntraBlock()
512 int x_pos = video->mbnum_col; in VlcDequantH263IntraBlock() local
513 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in VlcDequantH263IntraBlock()
814 int x_pos = video->mbnum_col; in VlcDequantH263IntraBlock_SH() local
815 typeDCACStore *DCAC_row = video->predDCAC_row + x_pos; in VlcDequantH263IntraBlock_SH()
Dblock_idct.cpp229 int x_pos = video->mbnum_col; in MBlockIDCT() local
235 offset = (int32)(y_pos << 4) * width + (x_pos << 4); in MBlockIDCT()
238 cu_comp = currVop->uChan + (offset >> 2) + (x_pos << 2); in MBlockIDCT()
239 cv_comp = currVop->vChan + (offset >> 2) + (x_pos << 2); in MBlockIDCT()
Dvlc_decode.cpp144 int x_pos = video->mbnum_col; in PV_GetMBvectors() local
147 int pos = (x_pos + y_pos * doubleWidth) << 1; in PV_GetMBvectors()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dmotion_comp.cpp48 uint32 x_pos, y_pos; in AVCMBMotionComp() local
93 x_pos = (offset_x << 2) + *mv++; /*quarter pel */ in AVCMBMotionComp()
99 eLumaMotionComp(ref_l, picPitch, picHeight, x_pos, y_pos, in AVCMBMotionComp()
104 eChromaMotionComp(ref_Cb, picWidth >> 1, picHeight >> 1, x_pos, y_pos, in AVCMBMotionComp()
107 eChromaMotionComp(ref_Cr, picWidth >> 1, picHeight >> 1, x_pos, y_pos, in AVCMBMotionComp()
122 int x_pos, int y_pos, in eLumaMotionComp() argument
132 dx = x_pos & 3; in eLumaMotionComp()
134 x_pos = x_pos >> 2; /* round it to full-pel resolution */ in eLumaMotionComp()
141 ref += y_pos * picpitch + x_pos; in eLumaMotionComp()
149 ref += y_pos * picpitch + x_pos; in eLumaMotionComp()
[all …]
Dintra_est.cpp37 int x_pos = (video->mb_x) << 4; in IntraDecisionABE() local
39 uint8 *orgY = currInput->YCbCr[0] + y_pos * orgPitch + x_pos; in IntraDecisionABE()
46 if (((x_pos >> 4) != (int)video->PicWidthInMbs - 1) && in IntraDecisionABE()
67 offset = (y_pos >> 2) * picPitch + (x_pos >> 1); in IntraDecisionABE()
118 int x_pos = (video->mb_x) << 4; in MBIntraSearch() local
143 orgY = currInput->YCbCr[0] + y_pos * orgPitch + x_pos; in MBIntraSearch()
211 int x_pos = (video->mb_x) << 4; in intrapred_luma_16x16() local
215 int offset = y_pos * pitch + x_pos; in intrapred_luma_16x16()
1368 int x_pos = video->mb_x << 3; in chroma_intra_search() local
1371 int offset = y_pos * pitch + x_pos; in chroma_intra_search()
[all …]
Davcenc_lib.h426 int x_pos, int y_pos,
456 int x_pos, int y_pos, uint8 *pred, int pred_pitch,
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddeblock.cpp120 int x_pos = video->mb_x; in MBInLoopDeblock() local
127 curL = currPic->Sl + offset + (x_pos << 4); in MBInLoopDeblock()
130 offset += (x_pos << 3); in MBInLoopDeblock()
181 DeblockMb(video, x_pos, y_pos, pred_block + 84, pred_block + 452, pred_block + 596); in MBInLoopDeblock()
206 if (x_pos) /* find the width */ in MBInLoopDeblock()
211 if (x_pos == (int)(video->PicWidthInMbs - 1)) in MBInLoopDeblock()
248 …if (x_pos != (int)(video->PicWidthInMbs - 1)) /* now copy from the right-most 4 columns to the lef… in MBInLoopDeblock()
277 DeblockMb(video, x_pos, y_pos, curL, curCb, curCr); in MBInLoopDeblock()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2026 Int x_pos = video->outputMB->mb_x; /* 5/28/01 */ in DCACPred() local
2084 M4VENC_MEMSET(DCAC_row[x_pos][0], 0, sizeof(Short) << 5); in DCACPred()
2088 if (x_pos > 0) in DCACPred()
2146 if ((x_pos == 0) && y_pos == 0) in DCACPred()
2152 else if (x_pos == 0) in DCACPred()
2210 if ((x_pos == 0) && y_pos == 0) /* top left corner */ in DCACPred()
2239 DCAC = DCAC_row[x_pos][b_xtab]; in DCACPred()
2257 else if (x_pos == 0) /* left edge */ in DCACPred()
2288 DCAC = DCAC_row[x_pos][b_xtab]; in DCACPred()
2336 DCAC = DCAC_row[x_pos][b_xtab]; in DCACPred()
[all …]