/third_party/ffmpeg/libavutil/ |
D | pixdesc.c | 178 .log2_chroma_h = 1, 190 .log2_chroma_h = 0, 201 .log2_chroma_h = 0, 212 .log2_chroma_h = 0, 223 .log2_chroma_h = 0, 235 .log2_chroma_h = 0, 247 .log2_chroma_h = 0, 259 .log2_chroma_h= 0, 271 .log2_chroma_h= 0, 283 .log2_chroma_h = 0, [all …]
|
D | imgutils.c | 136 int h, s = (i == 1 || i == 2) ? desc->log2_chroma_h : 0; in av_image_fill_plane_sizes() 413 h = AV_CEIL_RSHIFT(height, desc->log2_chroma_h); in image_copy() 528 int h, shift = (i == 1 || i == 2) ? desc->log2_chroma_h : 0; in av_image_copy_to_buffer() 686 int chroma_div = plane == 1 || plane == 2 ? desc->log2_chroma_h : 0; in av_image_fill_black()
|
D | pixdesc.h | 101 uint8_t log2_chroma_h; member
|
/third_party/ffmpeg/libavfilter/ |
D | vf_swaprect.c | 154 ah[1] = ah[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame() 162 ph[1] = ph[2] = AV_CEIL_RSHIFT(h, s->desc->log2_chroma_h); in filter_frame() 167 lh[1] = lh[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in filter_frame() 174 y1[1] = y1[2] = AV_CEIL_RSHIFT(y1[0], s->desc->log2_chroma_h); in filter_frame() 179 y2[1] = y2[2] = AV_CEIL_RSHIFT(y2[0], s->desc->log2_chroma_h); in filter_frame()
|
D | boxblur.c | 84 var_values[VAR_CH] = ch = h>>(desc->log2_chroma_h); in ff_boxblur_eval_filter_params() 86 var_values[VAR_VSUB] = 1<<(desc->log2_chroma_h); in ff_boxblur_eval_filter_params()
|
D | vf_stack.c | 216 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 220 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(height, s->desc->log2_chroma_h); in config_output() 240 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 275 item->height[1] = item->height[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 323 item->y[1] = item->y[2] = AV_CEIL_RSHIFT(inh, s->desc->log2_chroma_h); in config_output()
|
D | vf_framepack.c | 184 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack() 196 s->pix_desc->log2_chroma_h) && in horizontal_frame_pack() 219 lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h); in horizontal_frame_pack() 231 s->pix_desc->log2_chroma_h) && in horizontal_frame_pack() 279 int sub_h = s->input_views[i]->height >> s->pix_desc->log2_chroma_h; in vertical_frame_pack()
|
D | scale_eval.c | 78 var_values[VAR_VSUB] = 1 << desc->log2_chroma_h; in ff_scale_eval_dimensions() 80 var_values[VAR_OVSUB] = 1 << out_desc->log2_chroma_h; in ff_scale_eval_dimensions()
|
D | vf_colorspace.c | 457 supported_subsampling((d)->log2_chroma_w, (d)->log2_chroma_h)) in create_filtergraph() 635 fmt_identical = in_desc->log2_chroma_h == out_desc->log2_chroma_h && in create_filtergraph() 672 [in_desc->log2_chroma_h + in_desc->log2_chroma_w]; in create_filtergraph() 701 [out_desc->log2_chroma_h + out_desc->log2_chroma_w]; in create_filtergraph() 703 [out_desc->log2_chroma_h + out_desc->log2_chroma_w]; in create_filtergraph() 727 [in_desc->log2_chroma_h + in_desc->log2_chroma_w]; in create_filtergraph() 866 td.in_ss_h = av_pix_fmt_desc_get(in->format)->log2_chroma_h; in filter_frame() 867 td.out_ss_h = av_pix_fmt_desc_get(out->format)->log2_chroma_h; in filter_frame()
|
D | vf_overlay_vulkan.c | 197 par->o_offset[3] = par->o_offset[1] >> desc->log2_chroma_h; 199 par->o_offset[5] = par->o_offset[1] >> desc->log2_chroma_h; 204 par->o_size[3] = par->o_size[1] >> desc->log2_chroma_h; 206 par->o_size[5] = par->o_size[1] >> desc->log2_chroma_h;
|
D | vf_sr.c | 106 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_output() 108 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in config_output()
|
D | vf_untile.c | 86 inlink->h % (s->h << s->desc->log2_chroma_h)) { in config_output() 143 out->data[i] += (x >> s->desc->log2_chroma_h) * s->max_step[i]; in activate()
|
D | vf_zoompan.c | 195 y &= ~((1 << s->desc->log2_chroma_h) - 1); in output_single_frame() 206 py[1] = py[2] = AV_CEIL_RSHIFT(y, s->desc->log2_chroma_h); in output_single_frame() 301 s->var_values[VAR_VSUB] = 1 << s->desc->log2_chroma_h; in activate()
|
D | vf_dnn_processing.c | 183 int sws_src_h = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in prepare_uv_scale() 185 int sws_dst_h = AV_CEIL_RSHIFT(outlink->h, desc->log2_chroma_h); in prepare_uv_scale() 225 uv_height = AV_CEIL_RSHIFT(in->height, desc->log2_chroma_h); in copy_uv_planes()
|
D | vf_scroll.c | 128 s->pos_v[1] = s->pos_v[2] = AV_CEIL_RSHIFT(v_pos, s->desc->log2_chroma_h); in scroll() 169 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_input()
|
D | vf_hflip.c | 55 (desc->log2_chroma_w != desc->log2_chroma_h && in query_formats() 133 const int vsub = pix_desc->log2_chroma_h; in config_props()
|
D | vf_vidstabtransform.c | 167 fi_src.log2ChromaH != desc->log2_chroma_h) { in config_input() 172 fi_src.log2ChromaH, desc->log2_chroma_h); in config_input()
|
D | vf_chromanr.c | 218 s->chroma_h = 1 << desc->log2_chroma_h; in config_input() 219 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input()
|
D | vf_mergeplanes.c | 193 s->planeheight[2] = AV_CEIL_RSHIFT(outlink->h, s->outdesc->log2_chroma_h); in config_output() 221 inputp->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, indesc->log2_chroma_h); in config_output()
|
D | vf_pixdesctest.c | 63 const int ch = AV_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h); in filter_frame()
|
D | vf_fillborders.c | 516 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 542 s->borders[1].top = s->top >> desc->log2_chroma_h; in config_input() 543 s->borders[1].bottom = s->bottom >> desc->log2_chroma_h; in config_input() 547 s->borders[2].top = s->top >> desc->log2_chroma_h; in config_input() 548 s->borders[2].bottom = s->bottom >> desc->log2_chroma_h; in config_input()
|
/third_party/ffmpeg/tests/api/ |
D | api-h264-slice-test.c | 94 for (int i = 0; i < frame->height >> desc->log2_chroma_h; i++) in decode() 96 for (int i = 0; i < frame->height >> desc->log2_chroma_h; i++) in decode() 102 …(frame->width * frame->height + 2 * (frame->height >> desc->log2_chroma_h) * (frame->width >> desc… in decode()
|
D | api-band-test.c | 49 chroma_h = -((-height) >> pix_fmt_desc->log2_chroma_h); in draw_horiz_band() 50 shift_slice_position = -((-slice_position) >> pix_fmt_desc->log2_chroma_h); in draw_horiz_band() 51 shift_height = -((-ctx->height) >> pix_fmt_desc->log2_chroma_h); in draw_horiz_band()
|
/third_party/ffmpeg/libavcodec/ |
D | imgconvert.c | 43 *v_shift = desc->log2_chroma_h; in avcodec_get_chroma_sub_sample() 120 y_shift = desc->log2_chroma_h; in av_picture_crop() 188 y_shift = i ? desc->log2_chroma_h : 0; in av_picture_pad()
|
D | libsvtav1.c | 161 if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 1) in config_enc_params() 163 else if (desc->log2_chroma_w == 1 && desc->log2_chroma_h == 0) in config_enc_params() 165 else if (!desc->log2_chroma_w && !desc->log2_chroma_h) in config_enc_params()
|