HomeSort by relevance Sort by last modified time
    Searched full:mbnum (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
datapart_decode.cpp 48 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 + 1
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...]
conceal.cpp 33 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
    [all...]
combined_decode.cpp 45 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 = mb_start
348 int mbnum = video->mbnum; local
529 int mbnum = video->mbnum; local
    [all...]
post_filter.cpp 189 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]] : QP_store[mbnum])]
    [all...]
dcac_prediction.cpp 39 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-nMBPerRow]
215 int mbnum = video->mbnum; local
    [all...]
vlc_dequant.cpp 57 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 = video->mbnum local
810 int mbnum = video->mbnum; local
1072 int mbnum = video->mbnum; local
    [all...]
packet_util.cpp 56 // if (*next_MB <= video->mbnum) /* needs more investigation */
57 // *next_MB = video->mbnum+1;
61 *next_MB = video->mbnum + 1;
215 *next_MB = video->mbnum + 1;
vlc_decode.cpp 370 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])
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
datapart_encode.cpp 49 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_counter = video->sliceNo[mbnum]; /* get current MB location * local
    [all...]
combined_encode.cpp 50 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...]
vlc_encode.cpp 891 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 = video->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...]
motion_est.cpp 155 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...]
fastcodemb.cpp 52 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] = CBP; /* 5/18/2001 *
    [all...]
mp4lib_int.h 351 /* 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
vop.cpp 92 video->mbnum = 0;
205 if (video->mbnum == 0)
219 if (video->mbnum == 0)
252 if (video->mbnum >= currVol->nTotalMB && status != PV_END_OF_BUF) /* end of Vop */
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
motion_est.cpp 256 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
965 int mbnum = video->mbNum; local
1362 int mbnum = video->mbNum; local
    [all...]
slice.cpp 35 video->mbNum = CurrMbAddr = sliceHdr->first_mb_in_slice;// * (1+video->MbaffFrameFlag);
43 video->mbNum = CurrMbAddr;
128 video->mbNum = CurrMbAddr;
165 int CurrMbAddr = video->mbNum;
  /frameworks/av/media/libstagefright/codecs/avc/common/src/
mb_access.cpp 22 OSCL_EXPORT_REF void InitNeighborAvailability(AVCCommonObj *video, int mbNum)
27 video->mbAddrA = mbNum - 1;
28 video->mbAddrB = mbNum - PicWidthInMbs;
29 video->mbAddrC = mbNum - PicWidthInMbs + 1;
30 video->mbAddrD = mbNum - PicWidthInMbs - 1;
deblock.cpp 300 int mbNum = mb_y * video->PicWidthInMbs + mb_x;
305 MbQ = &(video->mblock[mbNum]); // current Mb
314 filterLeftMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - 1, mbNum);
315 filterTopMbEdgeFlag = mb_is_available(video->mblock, video->PicSizeInMbs, mbNum - video->PicWidthInMbs, mbNum);
387 /* Save Alpha, Beta and clipTable for future use, with the obselete variables filterLeftMbEdgeFlag, mbNum amd tmp */
389 mbNum = Beta;
486 /* Recover Alpha, Beta and clipTable for edge!=0 with the variables filterLeftMbEdgeFlag, mbNum and tmp */
489 Beta = mbNum;
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_image.c 158 mbNum number of the macroblock
171 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data,
193 ASSERT(mbNum < image->width * image->height);
199 row = mbNum / picWidth;
200 col = mbNum % picWidth;
h264bsd_util.c 256 mbNum number of current MB
264 void h264bsdSetCurrImageMbPointers(image_t *image, u32 mbNum)
273 row = mbNum / width;
274 col = mbNum % width;
h264bsd_intra_prediction.h 52 image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data);
63 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
h264bsd_inter_prediction.c 183 mbNum current macroblock number
198 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data)
221 colAndRow = mbNum / currImage->width;
223 colAndRow += (mbNum - colAndRow * currImage->width) << 16;
346 mbNum current macroblock number
361 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data)
378 row = mbNum / currImage->width;
379 col = mbNum - row * currImage->width;
472 h264bsdWriteOutputBlocks(currImage, mbNum, data,
    [all...]
h264bsd_image.h 63 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data,
h264bsd_inter_prediction.h 53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);

Completed in 191 milliseconds

1 2