Home
last modified time | relevance | path

Searched refs:log2_chroma_h (Results 1 – 25 of 195) sorted by relevance

12345678

/third_party/ffmpeg/libavutil/
Dpixdesc.c178 .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 …]
Dimgutils.c136 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()
Dpixdesc.h101 uint8_t log2_chroma_h; member
/third_party/ffmpeg/libavfilter/
Dvf_swaprect.c154 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()
Dboxblur.c84 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()
Dvf_stack.c216 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()
Dvf_framepack.c184 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()
Dscale_eval.c78 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()
Dvf_colorspace.c457 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()
Dvf_overlay_vulkan.c197 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;
Dvf_sr.c106 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()
Dvf_untile.c86 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()
Dvf_zoompan.c195 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()
Dvf_dnn_processing.c183 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()
Dvf_scroll.c128 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()
Dvf_hflip.c55 (desc->log2_chroma_w != desc->log2_chroma_h && in query_formats()
133 const int vsub = pix_desc->log2_chroma_h; in config_props()
Dvf_vidstabtransform.c167 fi_src.log2ChromaH != desc->log2_chroma_h) { in config_input()
172 fi_src.log2ChromaH, desc->log2_chroma_h); in config_input()
Dvf_chromanr.c218 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()
Dvf_mergeplanes.c193 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()
Dvf_pixdesctest.c63 const int ch = AV_CEIL_RSHIFT(h, priv->pix_desc->log2_chroma_h); in filter_frame()
Dvf_fillborders.c516 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/
Dapi-h264-slice-test.c94 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()
Dapi-band-test.c49 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/
Dimgconvert.c43 *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()
Dlibsvtav1.c161 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()

12345678