Searched defs:mbnum (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp33 int mbnum; local
41 for (mbnum = mb_start; mbnum < mb_stop; mbnum++)
43 video->mbnum = mbnum;
44 video->mbnum_row = PV_GET_ROW(mbnum, video->nMBPerRow);
45 video->mbnum_col = mbnum - video->mbnum_row * video->nMBPerRow;
46 video->sliceNo[mbnum] = (uint8) slice_counter;
47 QP = video->QPMB[mbnum];
83 int mbnum; local
138 CopyVopMB(Vop *curr, uint8 *prevFrame, int mbnum, int width_Y, int height) argument
[all...]
H A Dpost_filter.cpp189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; local
192 mbnum = 0;
217 if (mode[mbnum] != MODE_SKIPPED)
220 strength = STRENGTH_tab[QP_store[mbnum]];
289 mbnum++;
301 mbnum = nMBPerRow;
306 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum - nMBPerRow] != MODE_SKIPPED)
309 if (mode[mbnum] != MODE_SKIPPED)
311 strength = STRENGTH_tab[(annex_T ? MQ_chroma_QP_table[QP_store[mbnum]]
[all...]
H A Dcombined_decode.cpp45 int mbnum; local
114 mbnum = slice_counter = 0;
122 mb_start = mbnum;
146 /* we need video->mbnum in lower level functions */
147 video->mbnum = mbnum;
148 video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow);
149 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow;
151 video->sliceNo[mbnum] = (uint8) slice_counter;
160 video->mbnum
348 int mbnum = video->mbnum; local
529 int mbnum = video->mbnum; local
[all...]
H A Ddatapart_decode.cpp48 int mbnum; local
72 mbnum = slice_counter = 0;
79 video->mbnum = mbnum;
80 video->mbnum_row = PV_GET_ROW(mbnum, nMBPerRow); /* This is needed if nbnum is read from the packet header */
81 video->mbnum_col = mbnum - video->mbnum_row * nMBPerRow;
98 while ((status = PV_ReadVideoPacketHeader(video, &mbnum)) == PV_FAIL)
108 mbnum = nTotalMB;
111 if (mbnum > video->mbnum
144 int mbnum, mb_start, mb_end; local
309 int mbnum, mb_start, mb_end; local
520 int mbnum = video->mbnum; local
577 int mbnum = video->mbnum; local
620 int mbnum = video->mbnum; local
[all...]
H A Ddcac_prediction.cpp39 int mbnum = video->mbnum; local
45 int16 *QP_store = video->QPMB + mbnum;
46 int QP = video->QPMB[mbnum];
51 typeDCStore *DC_store = video->predDC + mbnum;
55 uint ACpred_flag = (uint) video->acPredFlag[mbnum];
79 if (!comp && x_pos && !(video->headerInfo.Mode[mbnum-1]&INTRA_MASK)) /* not intra */
83 if (!comp && y_pos && !(video->headerInfo.Mode[mbnum-nMBPerRow]&INTRA_MASK)) /* not intra */
110 up_bnd = Pos0[comp] && slice_nb[mbnum] == slice_nb[mbnum
215 int mbnum = video->mbnum; local
[all...]
H A Dmb_motion_comp.cpp132 int mbnum = video->mbnum; local
188 mode = video->headerInfo.Mode[mbnum];
H A Dvlc_dequant.cpp57 int mbnum = video->mbnum; local
58 uint CBP = video->headerInfo.CBP[mbnum];
59 int QP = video->QPMB[mbnum];
60 typeDCStore *DC = video->predDC + mbnum;
64 uint ACpred_flag = (uint) video->acPredFlag[mbnum];
390 int mbnum = video->mbnum; local
391 int QP = video->QPMB[mbnum];
508 int mbnum local
810 int mbnum = video->mbnum; local
1072 int mbnum = video->mbnum; local
[all...]
H A Dvlc_decode.cpp370 int mbnum = video->mbnum; local
386 if (mbnum_col > 0 && slice_nb[mbnum] == slice_nb[mbnum-1])
408 if (slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow])
414 if (mbnum_col < nMBPerRow - 1 && slice_nb[mbnum] == slice_nb[mbnum-nMBPerRow+1])
H A Dmp4lib_int.h233 int mbnum; /* Macroblock number */ member in struct:tagVideoDecData
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp49 Int mbnum = 0, slice_counter = 0; local
103 video->mbnum = mbnum;
104 video->sliceNo[mbnum] = slice_counter; /* Update MB slice number */
105 QP = QPMB[mbnum]; /* always read new QP */
116 video->sliceNo[mbnum] = slice_counter; /* Update MB slice number*/
119 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0);
167 mbnum++;
225 Int mbnum = video->mbnum, slice_counte local
[all...]
H A Dcombined_encode.cpp50 Int mbnum = 0, slice_counter = 0, curr_slice_counter = 0; local
117 QP = QPMB[mbnum]; /* Get quant_scale */
128 video->mbnum = mbnum;
129 QP = QPMB[mbnum]; /* always read new QP */
132 video->sliceNo[mbnum] = curr_slice_counter; /* Update MB slice number */
134 video->sliceNo[mbnum] = slice_counter;
145 video->sliceNo[mbnum] = slice_counter; /* Update MB slice number*/
148 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0);
206 mbnum
278 Int mbnum = video->mbnum, slice_counter = video->sliceNo[mbnum]; /* get current MB location */ local
[all...]
H A Dfastcodemb.cpp52 Int sad, k, CBP, mbnum = video->mbnum; local
54 UChar Mode = video->headerInfo.Mode[mbnum];
143 sad = video->mot[mbnum][k+1].sad;
248 video->headerInfo.CBP[mbnum] = CBP; /* 5/18/2001 */
281 Int sad, k, CBP, mbnum = video->mbnum; local
283 UChar Mode = video->headerInfo.Mode[mbnum];
370 sad = video->mot[mbnum][k+1].sad;
469 video->headerInfo.CBP[mbnum]
[all...]
H A Dmotion_comp.cpp102 Int mbnum = video->mbnum; //mb index local
103 MOT *mot = video->mot[mbnum];
108 Int mode = video->headerInfo.Mode[mbnum]; /* get mode */
H A Dmotion_est.cpp155 Int mbnum, offset; local
186 mbnum = 0;
193 video->mbnum = mbnum;
194 mot_mb = mot[mbnum];
200 mbnum++;
266 mbnum = j * mbwidth + start_i;
270 video->mbnum = mbnum;
271 mot_mb = mot[mbnum];
776 Int mbnum = video->mbnum; local
1357 Int mbnum = video->mbnum; local
[all...]
H A Dvlc_encode.cpp891 UChar Mode = video->headerInfo.Mode[video->mbnum];
894 Int mbnum = video->mbnum; local
906 CBP = video->headerInfo.CBP[mbnum];
909 dquant = video->QPMB[mbnum] - video->QP_prev; /* 3/15/01, QP_prev may not equal QPMB[mbnum-1] if mbnum-1 is skipped*/
911 video->QP_prev = video->QPMB[mbnum];
948 BitstreamPut1Bits(bs2, video->acPredFlag[video->mbnum]); /* ac_pred_flag */
979 Int mbnum local
1140 Int mbnum = video->mbnum; local
1253 Int mbnum = video->mbnum; local
2017 Int mbnum = video->mbnum; local
2538 Int mbnum = video->mbnum; local
[all...]
H A Dmp4lib_int.h351 /* where [mbnum][0] = 1MV.
352 [mbnum][1...4] = 4MVs
353 [mbnum][5] = backward MV.
354 [mbnum][6] = delta MV for direct mode.
355 [mbnum][7] = nothing yet. */
404 Int mbnum; /* Macroblock number */ member in struct:tagVideoEncData
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dintra_est.cpp111 void MBIntraSearch(AVCEncObject *encvid, int mbnum, uint8 *curL, int picPitch) argument
128 min_cost = encvid->min_cost[mbnum];
173 encvid->min_cost[mbnum] = min_cost; /* update min_cost */
H A Dmotion_est.cpp256 int mbnum, offset; local
346 mbnum = j * mbwidth + start_i;
350 video->mbNum = mbnum;
351 video->currMB = currMB = mblock + mbnum;
352 mot_mb_16x16 = mot16x16 + mbnum;
369 abe_cost = encvid->min_cost[mbnum] = mot_mb_16x16->sad;
385 intraSearch[mbnum] = 0;
390 rateCtrl->MADofMB[mbnum] = abe_cost;
398 totalSAD += (int) rateCtrl->MADofMB[mbnum];//mot_mb_16x16->sad;
406 abe_cost = encvid->min_cost[mbnum]
965 int mbnum = video->mbNum; local
1362 int mbnum = video->mbNum; local
[all...]

Completed in 936 milliseconds