Searched refs:mbx (Results 1 – 7 of 7) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | cavs.c | 114 h->topleft_border_y = h->top_border_y[h->mbx * 16 + 15]; in ff_cavs_filter() 115 h->topleft_border_u = h->top_border_u[h->mbx * 10 + 8]; in ff_cavs_filter() 116 h->topleft_border_v = h->top_border_v[h->mbx * 10 + 8]; in ff_cavs_filter() 117 memcpy(&h->top_border_y[h->mbx * 16], h->cy + 15 * h->l_stride, 16); in ff_cavs_filter() 118 memcpy(&h->top_border_u[h->mbx * 10 + 1], h->cu + 7 * h->c_stride, 8); in ff_cavs_filter() 119 memcpy(&h->top_border_v[h->mbx * 10 + 1], h->cv + 7 * h->c_stride, 8); in ff_cavs_filter() 161 qp_avg = (h->qp + h->top_qp[h->mbx] + 1) >> 1; in ff_cavs_filter() 164 qp_avg = (ff_cavs_chroma_qp[h->qp] + ff_cavs_chroma_qp[h->top_qp[h->mbx]] + 1) >> 1; in ff_cavs_filter() 172 h->top_qp[h->mbx] = h->qp; in ff_cavs_filter() 193 memcpy(&top[1], &h->top_border_y[h->mbx * 16], 16); in ff_cavs_load_intra_pred_luma() [all …]
|
D | cavsdec.c | 532 h->cur.poc, h->mbx, h->mby); in dequant() 715 h->intra_pred_c[pred_mode_uv](h->cu, &h->top_border_u[h->mbx * 10], in decode_mb_i() 717 h->intra_pred_c[pred_mode_uv](h->cv, &h->top_border_v[h->mbx * 10], in decode_mb_i() 732 h->top_pred_Y[h->mbx * 2 + 0] = h->top_pred_Y[h->mbx * 2 + 1] = NOT_AVAIL; in set_intra_mode_default() 735 h->top_pred_Y[h->mbx * 2 + 0] = h->top_pred_Y[h->mbx * 2 + 1] = INTRA_L_LP; in set_intra_mode_default() 961 if (h->mbx) in check_for_slice()
|
D | libx265.c | 450 int mbx = (frame->width + mb_size - 1) / mb_size; in libx265_encode_set_roi() local 466 qoffsets = av_calloc(mbx * mby, sizeof(*qoffsets)); in libx265_encode_set_roi() 480 startx = FFMIN(mbx, roi->left / mb_size); in libx265_encode_set_roi() 481 endx = FFMIN(mbx, (roi->right + mb_size - 1)/ mb_size); in libx265_encode_set_roi() 493 qoffsets[x + y*mbx] = qoffset; in libx265_encode_set_roi()
|
D | libx264.c | 406 int mbx = (frame->width + MB_SIZE - 1) / MB_SIZE; in X264_frame() local 423 qoffsets = av_calloc(mbx * mby, sizeof(*qoffsets)); in X264_frame() 438 startx = FFMIN(mbx, roi->left / MB_SIZE); in X264_frame() 439 endx = FFMIN(mbx, (roi->right + MB_SIZE - 1)/ MB_SIZE); in X264_frame() 452 qoffsets[x + y*mbx] = qoffset; in X264_frame()
|
D | cavs.h | 188 int mbx, mby, mbidx; ///< macroblock coordinates member
|
/third_party/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | test_rendering.c | 149 int mbx, mby, bx, by; in main() local 195 for (mbx = 0; mbx < INPUT_WIDTH_IN_MACROBLOCKS; ++mbx) in main() 197 mb->x = mbx; in main() 211 mb->index = (mby * INPUT_WIDTH_IN_MACROBLOCKS + mbx) * BLOCKS_PER_MACROBLOCK; in main() 224 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main() 225 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main() 241 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main() 242 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main() 252 … (short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH) / (float)(INPUT_WIDTH - 1))), in main() 253 …(short)(start + range * ((mbx * MACROBLOCK_WIDTH + bx * BLOCK_WIDTH + BLOCK_WIDTH - 1) / (float)(I… in main()
|
D | xvmc_bench.c | 194 unsigned int mbx, mby; in main() local 244 for (mbx = 0; mbx < mbw; ++mbx) 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()
|