/third_party/ffmpeg/libavcodec/x86/ |
H A D | videodsp_init.c | 118 x86_reg block_w, x86_reg block_h, in emulated_edge_mc() 137 } else if (src_y <= -block_h) { in emulated_edge_mc() 139 src_y_add = 1 - block_h; in emulated_edge_mc() 140 src_y = 1 - block_h; in emulated_edge_mc() 152 end_y = FFMIN(block_h, h-src_y); in emulated_edge_mc() 155 av_assert2(start_y < end_y && block_h > 0); in emulated_edge_mc() 162 start_y, end_y, block_h); in emulated_edge_mc() 165 start_y, end_y, block_h, w); in emulated_edge_mc() 171 hfix_tbl[(start_x - 1) >> 1](dst, dst_stride, start_x, block_h); in emulated_edge_mc() 174 start_x, (start_x + 1) >> 1, block_h); in emulated_edge_mc() 115 emulated_edge_mc(uint8_t *dst, const uint8_t *src, ptrdiff_t dst_stride, ptrdiff_t src_stride, x86_reg block_w, x86_reg block_h, x86_reg src_x, x86_reg src_y, x86_reg w, x86_reg h, emu_edge_vfix_func * const *vfix_tbl, emu_edge_vvar_func *v_extend_var, emu_edge_hfix_func * const *hfix_tbl, emu_edge_hvar_func *h_extend_var) emulated_edge_mc() argument 191 emulated_edge_mc_sse2(uint8_t *buf, const uint8_t *src, ptrdiff_t buf_stride, ptrdiff_t src_stride, int block_w, int block_h, int src_x, int src_y, int w, int h) emulated_edge_mc_sse2() argument 204 emulated_edge_mc_avx2(uint8_t *buf, const uint8_t *src, ptrdiff_t buf_stride, ptrdiff_t src_stride, int block_w, int block_h, int src_x, int src_y, int w, int h) emulated_edge_mc_avx2() argument [all...] |
H A D | videodsp.asm | 305 test bhq, bhq ; if (block_h) {
|
/third_party/ffmpeg/libavcodec/ |
H A D | videodsp_template.c | 30 int block_w, int block_h, in ff_emulated_edge_mc() 45 } else if (src_y <= -block_h) { in ff_emulated_edge_mc() 47 src += (1 - block_h) * src_linesize; in ff_emulated_edge_mc() 48 src_y = 1 - block_h; in ff_emulated_edge_mc() 61 end_y = FFMIN(block_h, h-src_y); in ff_emulated_edge_mc() 63 av_assert2(start_y < end_y && block_h); in ff_emulated_edge_mc() 85 for (; y < block_h; y++) { in ff_emulated_edge_mc() 90 buf -= block_h * buf_linesize + start_x * (ptrdiff_t)sizeof(pixel); in ff_emulated_edge_mc() 91 while (block_h--) { in ff_emulated_edge_mc() 27 ff_emulated_edge_mc(uint8_t *buf, const uint8_t *src, ptrdiff_t buf_linesize, ptrdiff_t src_linesize, int block_w, int block_h, int src_x, int src_y, int w, int h) ff_emulated_edge_mc() argument
|
H A D | h264_mb_template.c | 53 const int block_h = 16 >> h->chroma_y_shift; in hl_decode_mb() local 57 dest_cb = h->cur_pic.f->data[1] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in hl_decode_mb() 58 dest_cr = h->cur_pic.f->data[2] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in hl_decode_mb() 71 dest_cb -= sl->uvlinesize * (block_h - 1); in hl_decode_mb() 72 dest_cr -= sl->uvlinesize * (block_h - 1); in hl_decode_mb() 113 for (i = 0; i < block_h; i++) { in hl_decode_mb() 121 for (i = 0; i < block_h; i++) { in hl_decode_mb() 126 for (i = 0; i < block_h; i++) { in hl_decode_mb() 144 const uint8_t *src_cr = sl->intra_pcm_ptr + 256 + block_h * 8; in hl_decode_mb() 145 for (i = 0; i < block_h; in hl_decode_mb() [all...] |
H A D | snowdec.c | 39 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice_buffered() local 52 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice_buffered() 64 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice_buffered() 80 block_h*mb_y - block_h/2, in predict_slice_buffered() 81 block_w, block_h, in predict_slice_buffered() 101 avmv->h = block_h; in predict_slice_buffered() 103 avmv->dst_y = block_h*mb_ in predict_slice_buffered() 538 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; decode_frame() local [all...] |
H A D | videodsp.h | 35 int block_w, int block_h,\ 54 * @param block_h height of block 65 int block_w, int block_h,
|
H A D | snow.h | 414 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice() local 427 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice() 436 for(y=block_h*mb_y; y<FFMIN(h,block_h*(mb_y+1)); y++){ in predict_slice() 449 block_h*mb_y - block_h/2, in predict_slice() 450 block_w, block_h, in predict_slice() 470 const int block_h= 1<<rem_depth; //FIXME "w!=h" in set_blocks() local 483 for(j=0; j<block_h; in set_blocks() [all...] |
H A D | snowenc.c | 515 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in get_dc() local 540 int y= block_h*mb_y2 + block_h/2; in get_dc() 542 add_yblock(s, 0, NULL, dst + (i&1)*block_w + (i>>1)*obmc_stride*block_h, NULL, obmc, in get_dc() 543 x, y, block_w, block_h, w, h, obmc_stride, ref_stride, obmc_stride, mb_x2, mb_y2, 0, 0, plane_index); in get_dc() 545 for(y2= FFMAX(y, 0); y2<FFMIN(h, y+block_h); y2++){ in get_dc() 547 int index= x2-(block_w*mb_x - block_w/2) + (y2-(block_h*mb_y - block_h/2))*obmc_stride; in get_dc() 550 if(y<0) obmc_v += obmc[index + block_h*obmc_stride]; in get_dc() 552 if(y+block_h> in get_dc() 610 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; get_block_rd() local 712 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; get_4block_rd() local 1075 const int block_h= MB_SIZE >> s->block_max_depth; iterative_me() local [all...] |
H A D | vp8.c | 1806 * @param block_h height of block (always same as block_w) 1815 int x_off, int y_off, int block_w, int block_h, in vp8_mc_luma() 1831 ff_thread_await_progress(ref, (3 + y_off + block_h + subpel_idx[2][my]) >> 4, 0); in vp8_mc_luma() 1834 y_off < my_idx || y_off >= height - block_h - subpel_idx[2][my]) { in vp8_mc_luma() 1839 block_h + subpel_idx[1][my], in vp8_mc_luma() 1845 mc_func[my_idx][mx_idx](dst, linesize, src, src_linesize, block_h, mx, my); in vp8_mc_luma() 1847 ff_thread_await_progress(ref, (3 + y_off + block_h) >> 4, 0); in vp8_mc_luma() 1849 linesize, block_h, 0, 0); in vp8_mc_luma() 1864 * @param block_h height of block (always same as block_w) 1873 int x_off, int y_off, int block_w, int block_h, in vp8_mc_chroma() 1813 vp8_mc_luma(VP8Context *s, VP8ThreadData *td, uint8_t *dst, ThreadFrame *ref, const VP56mv *mv, int x_off, int y_off, int block_w, int block_h, int width, int height, ptrdiff_t linesize, vp8_mc_func mc_func[3][3]) vp8_mc_luma() argument 1871 vp8_mc_chroma(VP8Context *s, VP8ThreadData *td, uint8_t *dst1, uint8_t *dst2, ThreadFrame *ref, const VP56mv *mv, int x_off, int y_off, int block_w, int block_h, int width, int height, ptrdiff_t linesize, vp8_mc_func mc_func[3][3]) vp8_mc_chroma() argument 1921 vp8_mc_part(VP8Context *s, VP8ThreadData *td, uint8_t *dst[3], ThreadFrame *ref_frame, int x_off, int y_off, int bx_off, int by_off, int block_w, int block_h, int width, int height, VP56mv *mv) vp8_mc_part() argument [all...] |
H A D | fmvc.c | 498 int block_h = s->blocks[block].h; in decode_frame() local 505 block_h = s->blocks[block].h; in decode_frame() 507 for (k = 0; k < block_h; k++) { in decode_frame() 517 dst = &rect[block_h * s->stride]; in decode_frame()
|
H A D | hevcdec.c | 1495 * @param block_h height of block 1502 int block_w, int block_h, int luma_weight, int luma_offset) in luma_mc_uni() 1521 y_off >= pic_height - block_h - QPEL_EXTRA_AFTER || in luma_mc_uni() 1530 block_h + QPEL_EXTRA, in luma_mc_uni() 1539 block_h, mx, my, block_w); in luma_mc_uni() 1542 block_h, s->sh.luma_log2_weight_denom, in luma_mc_uni() 1557 * @param block_h height of block 1564 int block_w, int block_h, AVFrame *ref1, const Mv *mv1, struct MvField *current_mv) in luma_mc_bi() 1588 y_off0 >= pic_height - block_h - QPEL_EXTRA_AFTER) { in luma_mc_bi() 1596 block_h in luma_mc_bi() 1500 luma_mc_uni(HEVCContext *s, uint8_t *dst, ptrdiff_t dststride, AVFrame *ref, const Mv *mv, int x_off, int y_off, int block_w, int block_h, int luma_weight, int luma_offset) luma_mc_uni() argument 1562 luma_mc_bi(HEVCContext *s, uint8_t *dst, ptrdiff_t dststride, AVFrame *ref0, const Mv *mv0, int x_off, int y_off, int block_w, int block_h, AVFrame *ref1, const Mv *mv1, struct MvField *current_mv) luma_mc_bi() argument 1653 chroma_mc_uni(HEVCContext *s, uint8_t *dst0, ptrdiff_t dststride, uint8_t *src0, ptrdiff_t srcstride, int reflist, int x_off, int y_off, int block_w, int block_h, struct MvField *current_mv, int chroma_weight, int chroma_offset) chroma_mc_uni() argument 1720 chroma_mc_bi(HEVCContext *s, uint8_t *dst0, ptrdiff_t dststride, AVFrame *ref0, AVFrame *ref1, int x_off, int y_off, int block_w, int block_h, struct MvField *current_mv, int cidx) chroma_mc_bi() argument [all...] |
H A D | svq3.c | 673 const int block_h = 16 >> 1; in hl_decode_mb() local 679 dest_cb = s->cur_pic->f->data[1] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb() 680 dest_cr = s->cur_pic->f->data[2] + mb_x * 8 + mb_y * uvlinesize * block_h; in hl_decode_mb()
|
H A D | h264_slice.c | 2563 const int block_h = 16 >> h->chroma_y_shift; in loop_filter() local 2585 mb_y * sl->uvlinesize * block_h; in loop_filter() 2588 mb_y * sl->uvlinesize * block_h; in loop_filter() 2596 dest_cb -= sl->uvlinesize * (block_h - 1); in loop_filter() 2597 dest_cr -= sl->uvlinesize * (block_h - 1); in loop_filter()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_pixelize.c | 40 int block_w[4], block_h[4]; member 190 const int h = (s->planeheight[p] + s->block_h[p] - 1) / s->block_h[p]; in pixelize_slice() 211 const int block_h = FFMIN(s->block_h[p], s->planeheight[p] - y * s->block_h[p]); in pixelize_slice() local 215 s->pixelize[mode](src + s->block_h[p] * y * in_linesize + in pixelize_slice() 217 dst + s->block_h[p] * y * out_linesize + in pixelize_slice() 219 in_linesize, out_linesize, block_w, block_h); in pixelize_slice() 272 s->block_h[ in filter_frame() [all...] |
H A D | vf_shufflepixels.c | 38 int block_w, block_h; member 123 height = FFMIN(s->block_h, s->planeheight[0] - y); in make_vertical_map() 124 map[rand * s->block_h] = y; in make_vertical_map() 126 height = FFMIN(s->block_h, s->planeheight[0] - rand * s->block_h); in make_vertical_map() 127 map[y] = rand * s->block_h; in make_vertical_map() 133 map[rand * s->block_h + i] = map[rand * s->block_h] + i; in make_vertical_map() 161 int in = yin * s->block_h * s->planewidth[0] + xin * s->block_w; in make_block_map() 164 int out = yout * s->block_h * in make_block_map() [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_astc.cpp | 539 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 in compute_infill_weights() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_context.h | 39 int block_w, block_h; member 169 uint16_t block_w, block_h; member
|
H A D | lima_job.h | 58 int block_w, block_h; member
|
H A D | lima_job.c | 95 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/ |
H A D | videodsp.c | 73 int block_w, int block_h, \
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_meta_copy.c | 406 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() 4282 const uint32_t block_h = vk_format_get_blockheight(dst->vk.format); resolve_image_tlb() local [all...] |