Home
last modified time | relevance | path

Searched refs:is_444 (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddnxhddec.c70 int is_444; member
245 ctx->is_444 = (buf[0x2C] >> 6) & 1; in dnxhd_decode_header()
246 if (ctx->is_444) { in dnxhd_decode_header()
304 ctx->width, ctx->height, ctx->is_444 ? "4:4" : "2:2", in dnxhd_decode_header()
371 if (!ctx->is_444) { in dnxhd_decode_dct_block()
527 for (i = 0; i < 8 + 4 * ctx->is_444; i++) { in dnxhd_decode_macroblock()
538 dest_u = frame->data[1] + ((y * dct_linesize_chroma) << 4) + (x << (3 + shift1 + ctx->is_444)); in dnxhd_decode_macroblock()
539 dest_v = frame->data[2] + ((y * dct_linesize_chroma) << 4) + (x << (3 + shift1 + ctx->is_444)); in dnxhd_decode_macroblock()
553 if (!ctx->is_444) { in dnxhd_decode_macroblock()
Ddnxhdenc.c394 ctx->is_444 = ctx->profile == FF_PROFILE_DNXHR_444; in dnxhd_encode_init()
436 if (ctx->is_444 || ctx->profile == FF_PROFILE_DNXHR_HQX) { in dnxhd_encode_init()
557 …buf[0x2c] = (!ctx->interlaced << 7) | (ctx->is_444 << 6) | (avctx->pix_fmt == AV_PIX_FMT_YUV444P10… in dnxhd_write_header()
618 if (ctx->is_444) { in dnxhd_unquantize_c()
699 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs + ctx->is_444); in dnxhd_get_blocks()
701 ((mb_y << 4) * ctx->m.uvlinesize) + (mb_x << bs + ctx->is_444); in dnxhd_get_blocks()
736 int uv_w = ctx->is_444 ? y_w : (y_w + 1) / 2; in dnxhd_get_blocks()
739 uvlinesize = 16 + 16 * ctx->is_444; in dnxhd_get_blocks()
761 if (!ctx->is_444) { in dnxhd_get_blocks()
820 if (ctx->is_444) { in dnxhd_switch_matrix()
[all …]
Ddnxhdenc.h54 int is_444; member