Home
last modified time | relevance | path

Searched refs:chroma_w (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/tests/api/
Dapi-band-test.c41 int chroma_w, chroma_h; in draw_horiz_band() local
48 chroma_w = -((-ctx->width) >> pix_fmt_desc->log2_chroma_w); in draw_horiz_band()
58 …emcpy(slice_byte_buffer + ctx->width * ctx->height + chroma_w * shift_slice_position + i * chroma_… in draw_horiz_band()
59 fr->data[1] + offset[1] + i * fr->linesize[1], chroma_w); in draw_horiz_band()
62 …yte_buffer + ctx->width * ctx->height + chroma_w * shift_height + chroma_w * shift_slice_position … in draw_horiz_band()
63 fr->data[2] + offset[2] + i * fr->linesize[2], chroma_w); in draw_horiz_band()
/third_party/ffmpeg/libavformat/
Dvpcc.c38 int chroma_w, chroma_h; in get_vpx_chroma_subsampling() local
39 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling()
40 if (chroma_w == 1 && chroma_h == 1) { in get_vpx_chroma_subsampling()
44 } else if (chroma_w == 1 && chroma_h == 0) { in get_vpx_chroma_subsampling()
46 } else if (chroma_w == 0 && chroma_h == 0) { in get_vpx_chroma_subsampling()
/third_party/ffmpeg/libavfilter/
Dvf_chromanr.c47 int chroma_w; member
93 const int chroma_w = s->chroma_w; \
136 const int cy = in_yptr[x * chroma_w]; \
149 const int Y = in_yptr[xx * chroma_w]; \
217 s->chroma_w = 1 << desc->log2_chroma_w; in config_input()
Dgradfun.h33 int chroma_w; ///< width of the chroma planes member
Dvf_nlmeans_opencl.c65 int chroma_w; member
326 ctx->chroma_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in nlmeans_opencl_filter_frame()
346 w = p ? ctx->chroma_w : inlink->w; in nlmeans_opencl_filter_frame()
Dvf_gradfun.c177 s->chroma_w = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input()
209 w = s->chroma_w; in filter_frame()
Dvf_nlmeans.c49 int chroma_w, chroma_h; member
288 s->chroma_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
488 const int w = i ? s->chroma_w : inlink->w; in filter_frame()