Home
last modified time | relevance | path

Searched refs:chroma_w (Results 1 - 9 of 9) sorted by relevance

/third_party/ffmpeg/tests/api/
H A 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 memcpy(slice_byte_buffer + ctx->width * ctx->height + chroma_w * shift_slice_position + i * chroma_w, in draw_horiz_band()
59 fr->data[1] + offset[1] + i * fr->linesize[1], chroma_w); in draw_horiz_band()
62 memcpy(slice_byte_buffer + ctx->width * ctx->height + chroma_w * shift_height + chroma_w * shift_slice_position + i * chroma_w, in draw_horiz_band()
63 fr->data[2] + offset[2] + i * fr->linesize[2], chroma_w); in draw_horiz_band()
/third_party/ffmpeg/libavcodec/
H A Dvideotoolbox_vp9.c47 int chroma_w, chroma_h; in get_vpx_chroma_subsampling() local
48 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling()
49 if (chroma_w == 1 && chroma_h == 1) { in get_vpx_chroma_subsampling()
53 } else if (chroma_w == 1 && chroma_h == 0) { in get_vpx_chroma_subsampling()
55 } else if (chroma_w == 0 && chroma_h == 0) { in get_vpx_chroma_subsampling()
/third_party/ffmpeg/libavformat/
H A Dvpcc.c39 int chroma_w, chroma_h; in get_vpx_chroma_subsampling() local
40 if (av_pix_fmt_get_chroma_sub_sample(pixel_format, &chroma_w, &chroma_h) == 0) { in get_vpx_chroma_subsampling()
41 if (chroma_w == 1 && chroma_h == 1) { in get_vpx_chroma_subsampling()
45 } else if (chroma_w == 1 && chroma_h == 0) { in get_vpx_chroma_subsampling()
47 } else if (chroma_w == 0 && chroma_h == 0) { in get_vpx_chroma_subsampling()
/third_party/ffmpeg/libavfilter/
H A Dvf_chromanr.c48 int chroma_w; member
90 const int chroma_w = s->chroma_w; \
133 const int cy = in_yptr[x * chroma_w]; \
146 const ctype Y = in_yptr[xx * chroma_w]; \
228 s->chroma_w = 1 << desc->log2_chroma_w; in config_input()
H A Dvf_colorcorrect.c49 int chroma_w, chroma_h; member
307 float y = yptr[x * chroma_w] * imax; \
321 const int chroma_w = s->chroma_w; in colorcorrect_slice8() local
362 const int chroma_w = s->chroma_w; in colorcorrect_slice16() local
486 s->chroma_w = 1 << desc->log2_chroma_w; in config_input()
H A Dgradfun.h33 int chroma_w; ///< width of the chroma planes member
H A Dvf_nlmeans.c45 int chroma_w, chroma_h; member
232 s->chroma_w = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
400 const int w = i ? s->chroma_w : inlink->w; in filter_frame()
H A 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()
H A Dvf_gradfun.c170 s->chroma_w = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input()
202 w = s->chroma_w; in filter_frame()

Completed in 7 milliseconds