Home
last modified time | relevance | path

Searched refs:is_chroma (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_uspp.c195 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()
Dvf_mcdeint.c199 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()
Dvf_histogram.c299 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/
Dfraps.c151 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()
Dproresenc_kostya.c276 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 …]
Dmimic.c265 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()
Dh264_parse.h74 int mode, int is_chroma);
Dhq_hqa.c63 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()
Dbink.c852 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()
Dcllc.c189 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()
Dh264_parse.c181 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()
Dutils.c418 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()
Dsnow.c598 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()
Dg2meet.c225 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()