MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / mpeg_decode_quant_matrix_extension

Function mpeg_decode_quant_matrix_extension

libavcodec/mpeg12.c:1507–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505}
1506
1507static void mpeg_decode_quant_matrix_extension(MpegEncContext *s)
1508{
1509 dprintf(s->avctx, "matrix extension\n");
1510
1511 if(get_bits1(&s->gb)) load_matrix(s, s->chroma_intra_matrix, s->intra_matrix, 1);
1512 if(get_bits1(&s->gb)) load_matrix(s, s->chroma_inter_matrix, s->inter_matrix, 0);
1513 if(get_bits1(&s->gb)) load_matrix(s, s->chroma_intra_matrix, NULL , 1);
1514 if(get_bits1(&s->gb)) load_matrix(s, s->chroma_inter_matrix, NULL , 0);
1515}
1516
1517static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1)
1518{

Callers 1

decode_chunksFunction · 0.85

Calls 2

get_bits1Function · 0.85
load_matrixFunction · 0.85

Tested by

no test coverage detected