Home
last modified time | relevance | path

Searched refs:log2_chroma_w (Results 1 – 25 of 167) sorted by relevance

1234567

/third_party/ffmpeg/libavutil/
Dpixdesc.c177 .log2_chroma_w = 1,
189 .log2_chroma_w = 1,
200 .log2_chroma_w = 1,
211 .log2_chroma_w = 1,
222 .log2_chroma_w = 1,
234 .log2_chroma_w = 0,
246 .log2_chroma_w = 0,
258 .log2_chroma_w= 0,
270 .log2_chroma_w= 0,
282 .log2_chroma_w = 1,
[all …]
Dpixdesc.h92 uint8_t log2_chroma_w; member
/third_party/ffmpeg/libavfilter/
Dvf_swaprect.c156 aw[1] = aw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame()
164 pw[1] = pw[2] = AV_CEIL_RSHIFT(w, s->desc->log2_chroma_w); in filter_frame()
169 lw[1] = lw[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in filter_frame()
172 x1[1] = x1[2] = AV_CEIL_RSHIFT(x1[0], s->desc->log2_chroma_w); in filter_frame()
177 x2[1] = x2[2] = AV_CEIL_RSHIFT(x2[0], s->desc->log2_chroma_w); in filter_frame()
Dboxblur.c83 var_values[VAR_CW] = cw = w>>(desc->log2_chroma_w); in ff_boxblur_eval_filter_params()
85 var_values[VAR_HSUB] = 1<<(desc->log2_chroma_w); in ff_boxblur_eval_filter_params()
Dvsrc_testsrc.c1401 px = x >> desc->log2_chroma_w; in draw_bar()
1402 pw = AV_CEIL_RSHIFT(w, desc->log2_chroma_w); in draw_bar()
1458 r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); in pal75bars_fill_picture()
1507 r_w = FFALIGN((test->w + 7) / 8, 1 << pixdesc->log2_chroma_w); in pal100bars_fill_picture()
1553 r_w = FFALIGN((test->w + 6) / 7, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1556 p_w = FFALIGN(r_w * 5 / 4, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1571 tmp = FFALIGN(5 * r_w - x, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1574 tmp = FFALIGN(r_w / 3, 1 << pixdesc->log2_chroma_w); in smptebars_fill_picture()
1621 d_w = FFALIGN(test->w / 8, 1 << pixdesc->log2_chroma_w); in smptehdbars_fill_picture()
1626 r_w = FFALIGN((((test->w + 3) / 4) * 3) / 7, 1 << pixdesc->log2_chroma_w); in smptehdbars_fill_picture()
[all …]
Dvf_framepack.c183 length = AV_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w); in horizontal_frame_pack()
195 if ((s->pix_desc->log2_chroma_w || in horizontal_frame_pack()
218 length = AV_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w); in horizontal_frame_pack()
230 if ((s->pix_desc->log2_chroma_w || in horizontal_frame_pack()
249 int sub_w = psize * s->input_views[i]->width >> s->pix_desc->log2_chroma_w; in horizontal_frame_pack()
Dscale_eval.c77 var_values[VAR_HSUB] = 1 << desc->log2_chroma_w; in ff_scale_eval_dimensions()
79 var_values[VAR_OHSUB] = 1 << out_desc->log2_chroma_w; in ff_scale_eval_dimensions()
Dvf_overlay_vulkan.c196 par->o_offset[2] = par->o_offset[0] >> desc->log2_chroma_w;
198 par->o_offset[4] = par->o_offset[0] >> desc->log2_chroma_w;
203 par->o_size[2] = par->o_size[0] >> desc->log2_chroma_w;
205 par->o_size[4] = par->o_size[0] >> desc->log2_chroma_w;
Dvf_colorspace.c457 supported_subsampling((d)->log2_chroma_w, (d)->log2_chroma_h)) in create_filtergraph()
636 in_desc->log2_chroma_w == out_desc->log2_chroma_w; 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()
806 int uvw = in->width >> desc->log2_chroma_w; in filter_frame()
Dvf_sr.c107 int sws_src_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_output()
109 int sws_dst_w = AV_CEIL_RSHIFT(outlink->w, desc->log2_chroma_w); in config_output()
Dvf_untile.c85 if (inlink->w % (s->w << s->desc->log2_chroma_w) || in config_output()
142 out->data[i] += (y >> s->desc->log2_chroma_w) * out->linesize[i]; in activate()
Dvf_zoompan.c189 x &= ~((1 << s->desc->log2_chroma_w) - 1); in output_single_frame()
203 px[1] = px[2] = AV_CEIL_RSHIFT(x, s->desc->log2_chroma_w); in output_single_frame()
300 s->var_values[VAR_HSUB] = 1 << s->desc->log2_chroma_w; in activate()
Dvf_scroll.c130 s->pos_h[1] = s->pos_h[2] = AV_CEIL_RSHIFT(h_pos, s->desc->log2_chroma_w) * s->bytes; in scroll()
171 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in config_input()
Dvf_hflip.c55 (desc->log2_chroma_w != desc->log2_chroma_h && in query_formats()
132 const int hsub = pix_desc->log2_chroma_w; in config_props()
Dvf_vidstabtransform.c166 fi_src.log2ChromaW != desc->log2_chroma_w || in config_input()
171 fi_src.log2ChromaW, desc->log2_chroma_w, in config_input()
Dvf_chromanr.c217 s->chroma_w = 1 << desc->log2_chroma_w; in config_input()
221 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
Dvf_fillborders.c518 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
540 s->borders[1].left = s->left >> desc->log2_chroma_w; in config_input()
541 s->borders[1].right = s->right >> desc->log2_chroma_w; in config_input()
545 s->borders[2].left = s->left >> desc->log2_chroma_w; in config_input()
546 s->borders[2].right = s->right >> desc->log2_chroma_w; in config_input()
Dvf_mergeplanes.c189 …] = AV_CEIL_RSHIFT(((s->outdesc->comp[1].depth > 8) + 1) * outlink->w, s->outdesc->log2_chroma_w); in config_output()
217 …newidth[2] = AV_CEIL_RSHIFT(((indesc->comp[1].depth > 8) + 1) * inlink->w, indesc->log2_chroma_w); in config_output()
Dvf_minterpolate.c196 int log2_chroma_w; member
346 mi_ctx->log2_chroma_w = desc->log2_chroma_w; in config_input()
955 … x_mv = (x >> mi_ctx->log2_chroma_w) + pixel_mvs->mvs[i][0] / (1 << mi_ctx->log2_chroma_w); in set_frame_data()
968 …avf_out->data[plane][(x >> mi_ctx->log2_chroma_w) + (y >> mi_ctx->log2_chroma_h) * avf_out->linesi… in set_frame_data()
1116 width = AV_CEIL_RSHIFT(width, mi_ctx->log2_chroma_w); in interpolate()
Dvf_pixdesctest.c62 const int cw = AV_CEIL_RSHIFT(w, priv->pix_desc->log2_chroma_w); in filter_frame()
Dvf_shear.c263 s->hsub = 1 << desc->log2_chroma_w; in config_output()
265 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(ctx->inputs[0]->w, desc->log2_chroma_w); in config_output()
Dvf_shuffleplanes.c59 if ((desc->log2_chroma_h || desc->log2_chroma_w) && in query_formats()
/third_party/ffmpeg/tests/api/
Dapi-h264-slice-test.c95 …av_hash_update(hash, &frame->data[1][i * frame->linesize[1]], frame->width >> desc->log2_chroma_w); in decode()
97 …av_hash_update(hash, &frame->data[2][i * frame->linesize[2]], frame->width >> desc->log2_chroma_w); in decode()
102 …height + 2 * (frame->height >> desc->log2_chroma_h) * (frame->width >> desc->log2_chroma_w)), sum); in decode()
/third_party/ffmpeg/libavcodec/
Dimgconvert.c42 *h_shift = desc->log2_chroma_w; in avcodec_get_chroma_sub_sample()
121 x_shift = desc->log2_chroma_w; in av_picture_crop()
187 x_shift = i ? desc->log2_chroma_w : 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()

1234567