Home
last modified time | relevance | path

Searched refs:mby (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/xvmc/tests/
Dxvmc_bench.c194 unsigned int mbx, mby; in main() local
243 for (mby = 0; mby < mbh; ++mby) in main()
246 mb_array.macro_blocks[mby * mbw + mbx].x = mbx; in main()
247 mb_array.macro_blocks[mby * mbw + mbx].y = mby; in main()
248 mb_array.macro_blocks[mby * mbw + mbx].macroblock_type = XVMC_MB_TYPE_INTRA; in main()
251 mb_array.macro_blocks[mby * mbw + mbx].dct_type = XVMC_DCT_TYPE_FRAME; in main()
260 mb_array.macro_blocks[mby * mbw + mbx].index = (mby * mbw + mbx) * BLOCKS_PER_MACROBLOCK; in main()
261 mb_array.macro_blocks[mby * mbw + mbx].coded_block_pattern = 0x3F; in main()
Dtest_rendering.c149 int mbx, mby, bx, by; in main() local
194 for (mby = 0; mby < INPUT_HEIGHT_IN_MACROBLOCKS; ++mby) in main()
198 mb->y = mby; in main()
211 mb->index = (mby * INPUT_WIDTH_IN_MACROBLOCKS + mbx) * BLOCKS_PER_MACROBLOCK; in main()
/third_party/ffmpeg/libavcodec/
Dcavs.c476 y_offset += 8 * h->mby; in mc_part_std()
707 h->mby++; in ff_cavs_next_mb()
709 h->cy = h->cur.f->data[0] + h->mby * 16 * h->l_stride; in ff_cavs_next_mb()
710 h->cu = h->cur.f->data[1] + h->mby * 8 * h->c_stride; in ff_cavs_next_mb()
711 h->cv = h->cur.f->data[2] + h->mby * 8 * h->c_stride; in ff_cavs_next_mb()
712 if (h->mby == h->mb_height) { // Frame end in ff_cavs_next_mb()
744 h->mbx = h->mby = h->mbidx = 0; in ff_cavs_init_pic()
Dlibx265.c423 int mby = (frame->height + mb_size - 1) / mb_size; in libx265_encode_set_roi() local
438 qoffsets = av_mallocz_array(mbx * mby, sizeof(*qoffsets)); in libx265_encode_set_roi()
450 starty = FFMIN(mby, roi->top / mb_size); in libx265_encode_set_roi()
451 endy = FFMIN(mby, (roi->bottom + mb_size - 1)/ mb_size); in libx265_encode_set_roi()
Dcavsdec.c529 h->cur.poc, h->mbx, h->mby); in dequant()
934 h->mby = h->stc; in decode_slice_header()
935 h->mbidx = h->mby * h->mb_width; in decode_slice_header()
945 (!h->pic_structure && h->mby >= h->mb_width / 2)) in decode_slice_header()
Dcavs.h188 int mbx, mby, mbidx; ///< macroblock coordinates member
Dlibx264.c384 int mby = (frame->height + MB_SIZE - 1) / MB_SIZE; in X264_frame() local
399 qoffsets = av_mallocz_array(mbx * mby, sizeof(*qoffsets)); in X264_frame()
411 starty = FFMIN(mby, roi->top / MB_SIZE); in X264_frame()
412 endy = FFMIN(mby, (roi->bottom + MB_SIZE - 1)/ MB_SIZE); in X264_frame()