Home
last modified time | relevance | path

Searched refs:nMBPerRow (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Ddcac_prediction.cpp40 int nMBPerRow = video->nMBPerRow; in doDCACPrediction() local
83 if (!comp && y_pos && !(video->headerInfo.Mode[mbnum-nMBPerRow]&INTRA_MASK)) /* not intra */ in doDCACPrediction()
88 y_offset = Ypos[comp] * nMBPerRow; in doDCACPrediction()
110 up_bnd = Pos0[comp] && slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]; in doDCACPrediction()
126 up_bnd = Pos0[comp] && slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]; in doDCACPrediction()
130 …k_B = (((comp == 0 || comp == 4 || comp == 5) && slice_nb[mbnum] == slice_nb[mbnum-1-nMBPerRow]) || in doDCACPrediction()
216 int nMBPerRow = video->nMBPerRow; in doDCACPrediction_I() local
248 y_offset = Ypos[comp] * nMBPerRow; in doDCACPrediction_I()
268 up_bnd = (Pos0[comp] && slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]) in doDCACPrediction_I()
269 … && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);; in doDCACPrediction_I()
[all …]
Ddatapart_decode.cpp45 int nMBPerRow = video->nMBPerRow; in DecodeFrameDataPartMode() local
80 …video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); /* This is needed if nbnum is read from the pa… in DecodeFrameDataPartMode()
81 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow; in DecodeFrameDataPartMode()
149 int nMBPerRow = video->nMBPerRow; in DecodeDataPart_I_VideoPacket() local
238 …video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); /* This is needed if nbnum is read from the pa… in DecodeDataPart_I_VideoPacket()
239 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow; in DecodeDataPart_I_VideoPacket()
263 …video->mbnum_row = PV_GET_ROW(mbnum , nMBPerRow); /* This is needed if nbnum is read from the pa… in DecodeDataPart_I_VideoPacket()
264 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow; in DecodeDataPart_I_VideoPacket()
317 int nMBPerRow = video->nMBPerRow; in DecodeDataPart_P_VideoPacket() local
365 …video->mbnum_row = PV_GET_ROW(video->mbnum, nMBPerRow); /* This is needed if mbnum is read from… in DecodeDataPart_P_VideoPacket()
[all …]
Dpost_filter.cpp190 int d, offset, nMBPerRow, nMBPerCol, width2 = (width << 1); in H263_Deblock() local
196 nMBPerRow = width >> 3; in H263_Deblock()
202 nMBPerRow = width >> 4; in H263_Deblock()
301 mbnum = nMBPerRow; in H263_Deblock()
304 for (j = 0; j < nMBPerRow; j++) in H263_Deblock()
306 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum - nMBPerRow] != MODE_SKIPPED) in H263_Deblock()
315 …GTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum - nMBPerRow]] : QP_store[mbnum - nMBPerRow])… in H263_Deblock()
403 for (j = 0; j < nMBPerRow; j++) in H263_Deblock()
493 for (j = 0; j < nMBPerRow - 1; j++) in H263_Deblock()
Dconceal.cpp45 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow); in ConcealTexture_I()
46 video->mbnum_col = mbnum - video->mbnum_row * video->nMBPerRow; in ConcealTexture_I()
60 video->mbnum_row = PV_GET_ROW(video->mbnum, video->nMBPerRow); in ConcealTexture_I()
61 video->mbnum_col = video->mbnum - video->mbnum_row * video->nMBPerRow; in ConcealTexture_I()
89 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow); in ConcealTexture_P()
90 video->mbnum_col = mbnum - video->mbnum_row * video->nMBPerRow; in ConcealTexture_P()
Dcombined_decode.cpp52 int nMBPerRow = video->nMBPerRow; in DecodeFrameCombinedMode() local
148 video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); in DecodeFrameCombinedMode()
149 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow; in DecodeFrameCombinedMode()
551 int MB_in_width = video->nMBPerRow;
Dvlc_decode.cpp146 int doubleWidth = video->nMBPerRow << 1; in PV_GetMBvectors()
368 int nMBPerRow = video->nMBPerRow; in mv_prediction() local
369 int nMVPerRow = nMBPerRow << 1; in mv_prediction()
408 if (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]) in mv_prediction()
414 if (mbnum_col < nMBPerRow - 1 && slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow+1]) in mv_prediction()
Dpvdec_api.cpp309 int nMBPerRow; in PVAllocVideoData() local
319 video->nMBPerRow = in PVAllocVideoData()
324 video->nMBPerRow * video->nMBPerCol; in PVAllocVideoData()
392 nMBPerRow = video->nMBPerRow; in PVAllocVideoData()
406 video->memoryUsage += ((nMBPerRow + 1) * sizeof(typeDCACStore)); in PVAllocVideoData()
443 if (nMBPerRow > INT32_MAX - 1 in PVAllocVideoData()
444 || (size_t)(nMBPerRow + 1) > SIZE_MAX / sizeof(typeDCACStore)) { in PVAllocVideoData()
447 video->predDCAC_col = (typeDCACStore *) oscl_malloc((nMBPerRow + 1) * sizeof(typeDCACStore)); in PVAllocVideoData()
449 video->memoryUsage += ((nMBPerRow + 1) * sizeof(typeDCACStore)); in PVAllocVideoData()
Dmb_motion_comp.cpp135 int MB_in_width = video->nMBPerRow; in MBMotionComp()
565 int mvwidth = video->nMBPerRow << 1; in SkippedMBMotionComp()
Dmp4lib_int.h237 int nMBPerRow, nMBPerCol; /* number of MBs in each row & column */ member
Dvop.cpp690 video->nMBPerRow = video->width / MB_SIZE; in DecodeVOLHeader()
692 video->nTotalMB = video->nMBPerRow * video->nMBPerCol; in DecodeVOLHeader()
1425 video->nMBinGOB = video->nMBPerRow = video->width / MB_SIZE; in DecodeShortHeader()
1427 video->nTotalMB = video->nMBPerRow * video->nMBPerCol; in DecodeShortHeader()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2025 Int nMBPerRow = currVol->nMBPerRow; in DCACPred() local
2071 Mode_top = video->headerInfo.Mode[mbnum-nMBPerRow]; in DCACPred()
2074 DCAC = DC_store[-nMBPerRow]; in DCACPred()
2114 if (Ypos[comp] != 0) y_offset = -nMBPerRow; in DCACPred()
2155 block_B = ((comp == 1 && (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow])) || comp == 3) ? in DCACPred()
2158 (Pos0[comp] && (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]))) ? in DCACPred()
2175 (slice_nb[mbnum] == slice_nb[mbnum-1-nMBPerRow])) || in DCACPred()
2176 (comp == 1 && (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow])) || in DCACPred()
2179 …ck_C = (comp == 2 || comp == 3 || (Pos0[comp] && (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow]))) ? in DCACPred()
2284 if ((Pos0[comp] && (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow])) in DCACPred()
[all …]
Dcombined_encode.cpp125 for (ind_x = 0; ind_x < currVol->nMBPerRow; ind_x++) /* Row MB Loop */ in EncodeFrameCombinedMode()
394 for (ind_x = 0; ind_x < currVol->nMBPerRow; ind_x++) /* Row MB Loop */ in EncodeSliceCombinedMode()
520 if (video->outputMB->mb_x >= currVol->nMBPerRow) in EncodeSliceCombinedMode()
Ddatapart_encode.cpp100 for (ind_x = 0; ind_x < currVol->nMBPerRow; ind_x++) /* Row MB Loop */ in EncodeFrameDataPartMode()
307 for (ind_x = 0; ind_x < currVol->nMBPerRow; ind_x++) /* Row MB Loop */ in EncodeSliceDataPartMode()
Dmp4lib_int.h121 Int nMBPerRow, nMBPerCol; /* number of MBs in each row & column */ member
Dmotion_est.cpp143 Int mbwidth = currVol->nMBPerRow; in MotionEstimation()
1359 Int mbwidth = currVol->nMBPerRow; in CandidateSelection()
Dmp4enc_api.cpp944 pVol->nMBPerRow = (pVol->width + 15) / 16; in PVInitVideoEncoder()
946 pVol->nTotalMB = pVol->nMBPerRow * pVol->nMBPerCol; in PVInitVideoEncoder()