/third_party/ffmpeg/libavfilter/ |
D | vf_uspp.c | 195 int is_chroma = !!i; in filter() local 196 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter() 197 int h = AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0); in filter() 199 int block = BLOCK >> (is_chroma ? p->hsub : 0); in filter() 285 int is_chroma = !!j; in filter() local 289 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter() 290 AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0), in filter() 333 int is_chroma = !!i; in config_input() local 337 if (is_chroma) { in config_input()
|
D | vf_mcdeint.c | 199 int is_chroma = !!i; in filter_frame() local 200 int w = AV_CEIL_RSHIFT(inlink->w, is_chroma); in filter_frame() 201 int h = AV_CEIL_RSHIFT(inlink->h, is_chroma); in filter_frame()
|
D | vf_histogram.c | 299 const int is_chroma = (k == 1 || k == 2); in filter_frame() local 300 const int dst_h = AV_CEIL_RSHIFT(outlink->h, (is_chroma ? s->odesc->log2_chroma_h : 0)); in filter_frame() 301 const int dst_w = AV_CEIL_RSHIFT(outlink->w, (is_chroma ? s->odesc->log2_chroma_w : 0)); in filter_frame()
|
/third_party/ffmpeg/libavcodec/ |
D | fraps.c | 151 int i, j, ret, is_chroma; in decode_frame() local 289 is_chroma = !!i; in decode_frame() 291 avctx->width >> is_chroma, in decode_frame() 292 avctx->height >> is_chroma, in decode_frame() 294 is_chroma, 1)) < 0) { in decode_frame()
|
D | proresenc_kostya.c | 276 int mbs_per_slice, int blocks_per_mb, int is_chroma) in get_slice_data() argument 314 if (!is_chroma) { in get_slice_data() 563 int plane_factor, is_chroma; in encode_slice() local 588 is_chroma = (i == 1 || i == 2); in encode_slice() 590 if (is_chroma) in encode_slice() 592 if (!is_chroma || ctx->chroma_factor == CFACTOR_Y444) { in encode_slice() 612 mbs_per_slice, num_cblocks, is_chroma); in encode_slice() 613 if (!is_chroma) {/* luma quant */ in encode_slice() 814 int plane_factor[MAX_PLANES], is_chroma[MAX_PLANES]; in find_slice_quant() local 833 is_chroma[i] = (i == 1 || i == 2); in find_slice_quant() [all …]
|
D | mimic.c | 265 const int is_chroma = !!plane; in decode() local 266 const int qscale = av_clip(10000 - quality, is_chroma ? 1000 : 2000, in decode() 278 if (is_iframe || get_bits1(&ctx->gb) == is_chroma) { in decode() 282 if (is_chroma || is_iframe || !get_bits1(&ctx->gb)) { in decode()
|
D | h264_parse.h | 74 int mode, int is_chroma);
|
D | hq_hqa.c | 63 int qsel, int is_chroma, int is_hqa) in hq_decode_block() argument 72 q = ff_hq_quants[qsel][is_chroma][get_bits(gb, 2)]; in hq_decode_block() 74 q = ff_hq_quants[qsel][is_chroma][get_bits(gb, 2)]; in hq_decode_block()
|
D | bink.c | 852 int plane_idx, int is_key, int is_chroma) in binkb_decode_plane() argument 867 int bw = is_chroma ? (c->avctx->width + 15) >> 4 : (c->avctx->width + 7) >> 3; in binkb_decode_plane() 868 int bh = is_chroma ? (c->avctx->height + 15) >> 4 : (c->avctx->height + 7) >> 3; in binkb_decode_plane() 1020 int plane_idx, int is_chroma) in bink_decode_plane() argument 1033 int bw = is_chroma ? (c->avctx->width + 15) >> 4 : (c->avctx->width + 7) >> 3; in bink_decode_plane() 1034 int bh = is_chroma ? (c->avctx->height + 15) >> 4 : (c->avctx->height + 7) >> 3; in bink_decode_plane() 1035 int width = c->avctx->width >> is_chroma; in bink_decode_plane() 1036 int height = c->avctx->height >> is_chroma; in bink_decode_plane()
|
D | cllc.c | 189 int is_chroma) in read_yuv_component_line() argument 199 for (i = 0; i < ctx->avctx->width >> is_chroma; i++) { in read_yuv_component_line()
|
D | h264_parse.c | 181 int mode, int is_chroma) in ff_h264_check_intra_pred_mode() argument 208 if (is_chroma && (left_samples_available & 0x8080)) { in ff_h264_check_intra_pred_mode()
|
D | utils.c | 418 int is_chroma = p == 1 || p == 2; in ff_color_frame() local 419 int bytes = is_chroma ? AV_CEIL_RSHIFT(frame->width, desc->log2_chroma_w) : frame->width; in ff_color_frame() 420 int height = is_chroma ? AV_CEIL_RSHIFT(frame->height, desc->log2_chroma_h) : frame->height; in ff_color_frame()
|
D | snow.c | 598 int is_chroma= !!p; in halfpel_interpol() local 599 int w= is_chroma ? AV_CEIL_RSHIFT(s->avctx->width, s->chroma_h_shift) : s->avctx->width; in halfpel_interpol() 600 int h= is_chroma ? AV_CEIL_RSHIFT(s->avctx->height, s->chroma_v_shift) : s->avctx->height; in halfpel_interpol()
|
D | g2meet.c | 225 const int is_chroma = !!plane; in jpg_decode_block() local 226 const uint8_t *qmat = is_chroma ? chroma_quant : luma_quant; in jpg_decode_block() 232 dc = get_vlc2(gb, c->dc_vlc[is_chroma].table, 9, 2); in jpg_decode_block() 243 val = get_vlc2(gb, c->ac_vlc[is_chroma].table, 9, 2); in jpg_decode_block()
|