Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_uspp.c197 int is_chroma = !!i; in filter() local
198 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter()
199 int h = AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0); in filter()
201 int block = BLOCK >> (is_chroma ? p->hsub : 0); in filter()
287 int is_chroma = !!j; in filter() local
291 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter()
292 AV_CEIL_RSHIFT(height, is_chroma ? p->vsub : 0), in filter()
327 int is_chroma = !!i; in config_input() local
331 if (is_chroma) { in config_input()
Dvf_mcdeint.c188 int is_chroma = !!i; in filter_frame() local
189 int w = AV_CEIL_RSHIFT(inlink->w, is_chroma); in filter_frame()
190 int h = AV_CEIL_RSHIFT(inlink->h, is_chroma); in filter_frame()
Dvf_histogram.c419 const int is_chroma = (k == 1 || k == 2); in filter_frame() local
420 const int dst_h = AV_CEIL_RSHIFT(outlink->h, (is_chroma ? s->odesc->log2_chroma_h : 0)); in filter_frame()
421 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.c148 int i, j, ret, is_chroma; in decode_frame() local
286 is_chroma = !!i; in decode_frame()
288 avctx->width >> is_chroma, in decode_frame()
289 avctx->height >> is_chroma, in decode_frame()
291 is_chroma, 1)) < 0) { in decode_frame()
Dproresenc_kostya.c277 int mbs_per_slice, int blocks_per_mb, int is_chroma) in get_slice_data() argument
315 if (!is_chroma) { in get_slice_data()
555 int plane_factor, is_chroma; in encode_slice() local
580 is_chroma = (i == 1 || i == 2); in encode_slice()
582 if (is_chroma) in encode_slice()
584 if (!is_chroma || ctx->chroma_factor == CFACTOR_Y444) { in encode_slice()
604 mbs_per_slice, num_cblocks, is_chroma); in encode_slice()
605 if (!is_chroma) {/* luma quant */ in encode_slice()
800 int plane_factor[MAX_PLANES], is_chroma[MAX_PLANES]; in find_slice_quant() local
819 is_chroma[i] = (i == 1 || i == 2); in find_slice_quant()
[all …]
Dmimic.c267 const int is_chroma = !!plane; in decode() local
268 const int qscale = av_clip(10000 - quality, is_chroma ? 1000 : 2000, in decode()
280 if (is_iframe || get_bits1(&ctx->gb) == is_chroma) { in decode()
284 if (is_chroma || is_iframe || !get_bits1(&ctx->gb)) { in decode()
Dhq_hqa.c64 int qsel, int is_chroma, int is_hqa) in hq_decode_block() argument
73 q = ff_hq_quants[qsel][is_chroma][get_bits(gb, 2)]; in hq_decode_block()
75 q = ff_hq_quants[qsel][is_chroma][get_bits(gb, 2)]; in hq_decode_block()
Dbink.c854 int plane_idx, int is_key, int is_chroma) in binkb_decode_plane() argument
869 int bw = is_chroma ? (c->avctx->width + 15) >> 4 : (c->avctx->width + 7) >> 3; in binkb_decode_plane()
870 int bh = is_chroma ? (c->avctx->height + 15) >> 4 : (c->avctx->height + 7) >> 3; in binkb_decode_plane()
1022 int plane_idx, int is_chroma) in bink_decode_plane() argument
1035 int bw = is_chroma ? (c->avctx->width + 15) >> 4 : (c->avctx->width + 7) >> 3; in bink_decode_plane()
1036 int bh = is_chroma ? (c->avctx->height + 15) >> 4 : (c->avctx->height + 7) >> 3; in bink_decode_plane()
1037 int width = c->avctx->width >> is_chroma; in bink_decode_plane()
1038 int height = c->avctx->height >> is_chroma; in bink_decode_plane()
Dh264_parse.h113 int mode, int is_chroma);
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.c183 int mode, int is_chroma) in ff_h264_check_intra_pred_mode() argument
210 if (is_chroma && (left_samples_available & 0x8080)) { in ff_h264_check_intra_pred_mode()
Dutils.c429 int is_chroma = p == 1 || p == 2; in ff_color_frame() local
430 int bytes = is_chroma ? AV_CEIL_RSHIFT(frame->width, desc->log2_chroma_w) : frame->width; in ff_color_frame()
431 int height = is_chroma ? AV_CEIL_RSHIFT(frame->height, desc->log2_chroma_h) : frame->height; in ff_color_frame()
Dsnow.c596 int is_chroma= !!p; in halfpel_interpol() local
597 int w= is_chroma ? AV_CEIL_RSHIFT(s->avctx->width, s->chroma_h_shift) : s->avctx->width; in halfpel_interpol()
598 int h= is_chroma ? AV_CEIL_RSHIFT(s->avctx->height, s->chroma_v_shift) : s->avctx->height; in halfpel_interpol()
Dg2meet.c227 const int is_chroma = !!plane; in jpg_decode_block() local
228 const uint8_t *qmat = is_chroma ? chroma_quant : luma_quant; in jpg_decode_block()
234 dc = get_vlc2(gb, c->dc_vlc[is_chroma].table, 9, 2); in jpg_decode_block()
245 val = get_vlc2(gb, c->ac_vlc[is_chroma].table, 9, 2); in jpg_decode_block()