Searched refs:MB_SIZE (Results 1 – 6 of 6) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | cinepakenc.c | 54 #define MB_SIZE 4 //4x4 MBs macro 55 #define MB_AREA (MB_SIZE * MB_SIZE) 529 for (y = 0; y < MB_SIZE; y++) in copy_mb() 531 MB_SIZE); in copy_mb() 535 for (y = 0; y < MB_SIZE / 2; y++) in copy_mb() 538 MB_SIZE / 2); in copy_mb() 566 for (z = y = 0; y < h; y += MB_SIZE) in encode_mode() 567 for (x = 0; x < s->w; x += MB_SIZE, z++) { in encode_mode() 694 for (y = 0; y < MB_SIZE; y++) in compute_mb_distortion() 695 for (x = 0; x < MB_SIZE; x++) { in compute_mb_distortion() [all …]
|
D | libx264.c | 47 #define MB_SIZE 16 macro 382 int mbx = (frame->width + MB_SIZE - 1) / MB_SIZE; in X264_frame() 383 int mby = (frame->height + MB_SIZE - 1) / MB_SIZE; in X264_frame() 410 starty = FFMIN(mby, roi->top / MB_SIZE); in X264_frame() 411 endy = FFMIN(mby, (roi->bottom + MB_SIZE - 1)/ MB_SIZE); in X264_frame() 412 startx = FFMIN(mbx, roi->left / MB_SIZE); in X264_frame() 413 endx = FFMIN(mbx, (roi->right + MB_SIZE - 1)/ MB_SIZE); in X264_frame()
|
D | snow.h | 74 #define MB_SIZE (1<<LOG2_MB_SIZE) macro 291 int tmp_step= src_stride >= 7*MB_SIZE ? MB_SIZE : MB_SIZE*src_stride; in add_yblock() 409 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice()
|
D | snowenc.c | 91 s->m.sc.obmc_scratchpad= av_mallocz(MB_SIZE*MB_SIZE*12*sizeof(uint32_t)); in encode_init() 516 const int block_size = MB_SIZE >> s->block_max_depth; in get_dc() 609 …_block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index, uint8_t (*obmc_edged)[MB_SIZE * 2]){ in get_block_rd() 611 const int block_size = MB_SIZE >> s->block_max_depth; in get_block_rd() 713 const int block_size = MB_SIZE >> s->block_max_depth; in get_4block_rd() 906 …ntext *s, int mb_x, int mb_y, int p[3], int intra, uint8_t (*obmc_edged)[MB_SIZE * 2], int *best_r… in check_block() 947 …nowContext *s, int mb_x, int mb_y, int p0, int p1, uint8_t (*obmc_edged)[MB_SIZE * 2], int *best_r… in check_block_inter() 1034 const int b_w= (MB_SIZE >> s->block_max_depth); in iterative_me() 1035 uint8_t obmc_edged[MB_SIZE * 2][MB_SIZE * 2]; in iterative_me() 1077 const int block_w= MB_SIZE >> s->block_max_depth; in iterative_me() [all …]
|
D | snow.c | 379 s->vdsp.emulated_edge_mc(tmp + MB_SIZE, src, in ff_snow_pred_block() 383 src= tmp + MB_SIZE; in ff_snow_pred_block() 523 …(avctx, s->scratchbuf, FFMAX(s->mconly_picture->linesize[0], 2*avctx->width+256), 7*MB_SIZE, fail); in ff_snow_common_init_after_header() 524 …emu_buf_size = FFMAX(s->mconly_picture->linesize[0], 2*avctx->width+256) * (2 * MB_SIZE + HTAPS_MA… in ff_snow_common_init_after_header()
|
D | snowdec.c | 40 int block_size = MB_SIZE >> s->block_max_depth; in predict_slice_buffered() 477 (MB_SIZE >> s->block_max_depth) + in decode_frame() 544 const int block_size = MB_SIZE >> s->block_max_depth; in decode_frame()
|