Home
last modified time | relevance | path

Searched refs:block_h (Results 1 – 20 of 20) sorted by relevance

/third_party/ffmpeg/libavcodec/x86/
Dvideodsp_init.c152 x86_reg block_w, x86_reg block_h, in emulated_edge_mc() argument
171 } else if (src_y <= -block_h) { in emulated_edge_mc()
173 src_y_add = 1 - block_h; in emulated_edge_mc()
174 src_y = 1 - block_h; in emulated_edge_mc()
186 end_y = FFMIN(block_h, h-src_y); in emulated_edge_mc()
189 av_assert2(start_y < end_y && block_h > 0); in emulated_edge_mc()
196 start_y, end_y, block_h); in emulated_edge_mc()
199 start_y, end_y, block_h, w); in emulated_edge_mc()
205 hfix_tbl[(start_x - 1) >> 1](dst, dst_stride, start_x, block_h); in emulated_edge_mc()
208 start_x, (start_x + 1) >> 1, block_h); in emulated_edge_mc()
[all …]
Dvideodsp.asm323 test bhq, bhq ; if (block_h) {
/third_party/ffmpeg/libavcodec/
Dvideodsp_template.c26 int block_w, int block_h, in FUNC()
41 } else if (src_y <= -block_h) { in FUNC()
43 src += (1 - block_h) * src_linesize; in FUNC()
44 src_y = 1 - block_h; in FUNC()
57 end_y = FFMIN(block_h, h-src_y); in FUNC()
59 av_assert2(start_y < end_y && block_h); in FUNC()
81 for (; y < block_h; y++) { in FUNC()
86 buf -= block_h * buf_linesize + start_x * sizeof(pixel); in FUNC()
87 while (block_h--) { in FUNC()
Dsnowdec.c42 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice_buffered() local
55 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice_buffered()
67 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice_buffered()
83 block_h*mb_y - block_h/2, in predict_slice_buffered()
84 block_w, block_h, in predict_slice_buffered()
104 avmv->h = block_h; in predict_slice_buffered()
106 avmv->dst_y = block_h*mb_y - block_h/2; in predict_slice_buffered()
542 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in decode_frame() local
552 int slice_starty = block_h*mb_y; in decode_frame()
553 int slice_h = block_h*(mb_y+1); in decode_frame()
[all …]
Dh264_mb_template.c53 const int block_h = 16 >> h->chroma_y_shift; in FUNC() local
57 dest_cb = h->cur_pic.f->data[1] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in FUNC()
58 dest_cr = h->cur_pic.f->data[2] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in FUNC()
71 dest_cb -= sl->uvlinesize * (block_h - 1); in FUNC()
72 dest_cr -= sl->uvlinesize * (block_h - 1); in FUNC()
113 for (i = 0; i < block_h; i++) { in FUNC()
121 for (i = 0; i < block_h; i++) { in FUNC()
126 for (i = 0; i < block_h; i++) { in FUNC()
144 const uint8_t *src_cr = sl->intra_pcm_ptr + 256 + block_h * 8; in FUNC()
145 for (i = 0; i < block_h; i++) { in FUNC()
Dsnow.h412 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice() local
425 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice()
434 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice()
447 block_h*mb_y - block_h/2, in predict_slice()
448 block_w, block_h, in predict_slice()
468 const int block_h= 1<<rem_depth; //FIXME "w!=h" in set_blocks() local
481 for(j=0; j<block_h; j++){ in set_blocks()
Dvideodsp.h35 int block_w, int block_h,\
66 int block_w, int block_h,
Dsnowenc.c518 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in get_dc() local
543 int y= block_h*mb_y2 + block_h/2; in get_dc()
545 add_yblock(s, 0, NULL, dst + (i&1)*block_w + (i>>1)*obmc_stride*block_h, NULL, obmc, in get_dc()
546 …x, y, block_w, block_h, w, h, obmc_stride, ref_stride, obmc_stride, mb_x2, mb_y2, 0, 0, plane_inde… in get_dc()
548 for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_h); y2++){ in get_dc()
550 … int index= x2-(block_w*mb_x - block_w/2) + (y2-(block_h*mb_y - block_h/2))*obmc_stride; in get_dc()
553 if(y<0) obmc_v += obmc[index + block_h*obmc_stride]; in get_dc()
555 if(y+block_h>h) obmc_v += obmc[index - block_h*obmc_stride]; in get_dc()
613 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in get_block_rd() local
629 int sy= block_h*mb_y - block_h/2; in get_block_rd()
[all …]
Dvp8.c1811 int x_off, int y_off, int block_w, int block_h, in vp8_mc_luma() argument
1827 ff_thread_await_progress(ref, (3 + y_off + block_h + subpel_idx[2][my]) >> 4, 0); in vp8_mc_luma()
1830 y_off < my_idx || y_off >= height - block_h - subpel_idx[2][my]) { in vp8_mc_luma()
1835 block_h + subpel_idx[1][my], in vp8_mc_luma()
1841 mc_func[my_idx][mx_idx](dst, linesize, src, src_linesize, block_h, mx, my); in vp8_mc_luma()
1843 ff_thread_await_progress(ref, (3 + y_off + block_h) >> 4, 0); in vp8_mc_luma()
1845 linesize, block_h, 0, 0); in vp8_mc_luma()
1869 int x_off, int y_off, int block_w, int block_h, in vp8_mc_chroma() argument
1885 ff_thread_await_progress(ref, (3 + y_off + block_h + subpel_idx[2][my]) >> 3, 0); in vp8_mc_chroma()
1887 y_off < my_idx || y_off >= height - block_h - subpel_idx[2][my]) { in vp8_mc_chroma()
[all …]
Dfmvc.c495 int block_h = s->blocks[block].h; in decode_frame() local
502 block_h = s->blocks[block].h; in decode_frame()
504 for (k = 0; k < block_h; k++) { in decode_frame()
514 dst = &rect[block_h * s->stride]; in decode_frame()
Dhevcdec.c1482 int block_w, int block_h, int luma_weight, int luma_offset) in luma_mc_uni() argument
1501 y_off >= pic_height - block_h - QPEL_EXTRA_AFTER) { in luma_mc_uni()
1509 block_h + QPEL_EXTRA, in luma_mc_uni()
1518 block_h, mx, my, block_w); in luma_mc_uni()
1521 block_h, s->sh.luma_log2_weight_denom, in luma_mc_uni()
1543 … int block_w, int block_h, AVFrame *ref1, const Mv *mv1, struct MvField *current_mv) in luma_mc_bi() argument
1567 y_off0 >= pic_height - block_h - QPEL_EXTRA_AFTER) { in luma_mc_bi()
1575 block_h + QPEL_EXTRA, in luma_mc_bi()
1584 y_off1 >= pic_height - block_h - QPEL_EXTRA_AFTER) { in luma_mc_bi()
1592 block_h + QPEL_EXTRA, in luma_mc_bi()
[all …]
Dsvq3.c678 const int block_h = 16 >> 1; in hl_decode_mb() local
684 dest_cb = s->cur_pic->f->data[1] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
685 dest_cr = s->cur_pic->f->data[2] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
Dh264_slice.c2467 const int block_h = 16 >> h->chroma_y_shift; in loop_filter() local
2489 mb_y * sl->uvlinesize * block_h; in loop_filter()
2492 mb_y * sl->uvlinesize * block_h; in loop_filter()
2500 dest_cb -= sl->uvlinesize * (block_h - 1); in loop_filter()
2501 dest_cr -= sl->uvlinesize * (block_h - 1); in loop_filter()
/third_party/ffmpeg/libavfilter/
Dvf_shufflepixels.c38 int block_w, block_h; member
130 height = FFMIN(s->block_h, s->planeheight[0] - y); in make_vertical_map()
131 map[rand * s->block_h] = y; in make_vertical_map()
133 height = FFMIN(s->block_h, s->planeheight[0] - rand * s->block_h); in make_vertical_map()
134 map[y] = rand * s->block_h; in make_vertical_map()
140 map[rand * s->block_h + i] = map[rand * s->block_h] + i; in make_vertical_map()
168 int in = yin * s->block_h * s->planewidth[0] + xin * s->block_w; in make_block_map()
171 int out = yout * s->block_h * s->planewidth[0] + xout * s->block_w; in make_block_map()
181 for (int y = 0; y < s->block_h; y++) { in make_block_map()
187 for (int y = 0; y < s->block_h; y++) { in make_block_map()
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp539 Decoder(int block_w, int block_h, int block_d, bool srgb, bool output_unorm8) in Decoder() argument
540 : block_w(block_w), block_h(block_h), block_d(block_d), srgb(srgb), in Decoder()
545 int block_w, block_h, block_d; member in Decoder
634 void compute_infill_weights(int block_w, int block_h, int block_d);
650 for (int i = 0; i < block_w * block_h * block_d; ++i) { in decode()
1257 void Block::compute_infill_weights(int block_w, int block_h, int block_d) in compute_infill_weights() argument
1260 int Dt = block_h <= 1 ? 0 : (1024 + block_h / 2) / (block_h - 1); in compute_infill_weights()
1263 for (int t = 0; t < block_h; ++t) { in compute_infill_weights()
1305 infill_weights[0][s + t*block_w + r*block_w*block_h] = i0; in compute_infill_weights()
1306 infill_weights[1][s + t*block_w + r*block_w*block_h] = i1; in compute_infill_weights()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_context.h39 int block_w, block_h; member
169 uint16_t block_w, block_h; member
Dlima_job.h58 int block_w, block_h; member
Dlima_job.c95 fb->block_h = height; in lima_get_fb_info()
408 fb->block_w * fb->block_h); in lima_pack_head_plbu_cmd()
610 .block_h = fb->block_h, in lima_update_damage_pp_stream()
645 s->key.block_h = fb->block_h; in lima_update_damage_pp_stream()
/third_party/ffmpeg/tests/checkasm/
Dvideodsp.c73 int block_w, int block_h, \
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c406 const uint32_t block_h = vk_format_get_blockheight(image->vk.format); in copy_image_to_buffer_tlb() local
408 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_image_to_buffer_tlb()
825 const uint32_t block_h = vk_format_get_blockheight(src->vk.format); in copy_image_tfu() local
827 uint32_t height = DIV_ROUND_UP(region->extent.height, block_h); in copy_image_tfu()
947 const uint32_t block_h = vk_format_get_blockheight(dst->vk.format); in copy_image_tlb() local
949 const uint32_t height = DIV_ROUND_UP(region->extent.height, block_h); in copy_image_tlb()
1350 const uint32_t block_h = vk_format_get_blockheight(image->vk.format); in copy_buffer_to_image_tfu() local
1352 height = DIV_ROUND_UP(height, block_h); in copy_buffer_to_image_tfu()
1447 const uint32_t block_h = vk_format_get_blockheight(image->vk.format); in copy_buffer_to_image_tlb() local
1449 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_buffer_to_image_tlb()
[all …]