Lines Matching refs:clc
51 AV1RawColorConfig *clc = &seq->color_config; in av1_metadata_update_sequence_header() local
57 clc->color_description_present_flag = 1; in av1_metadata_update_sequence_header()
60 clc->color_primaries = ctx->color_primaries; in av1_metadata_update_sequence_header()
62 clc->transfer_characteristics = ctx->transfer_characteristics; in av1_metadata_update_sequence_header()
64 clc->matrix_coefficients = ctx->matrix_coefficients; in av1_metadata_update_sequence_header()
68 if (clc->color_primaries == AVCOL_PRI_BT709 && in av1_metadata_update_sequence_header()
69 clc->transfer_characteristics == AVCOL_TRC_IEC61966_2_1 && in av1_metadata_update_sequence_header()
70 clc->matrix_coefficients == AVCOL_SPC_RGB) { in av1_metadata_update_sequence_header()
74 clc->color_range = ctx->color_range; in av1_metadata_update_sequence_header()
79 if (clc->mono_chrome || !clc->subsampling_x || !clc->subsampling_y) { in av1_metadata_update_sequence_header()
83 clc->chroma_sample_position = ctx->chroma_sample_position; in av1_metadata_update_sequence_header()