Lines Matching defs:gb_chunk
1194 GetByteContext gb_chunk;
1244 bytestream2_init(&gb_chunk, s->gb.buffer, length);
1263 if ((ret = decode_ihdr_chunk(avctx, s, &gb_chunk)) < 0)
1267 if ((ret = decode_phys_chunk(avctx, s, &gb_chunk)) < 0)
1273 if ((ret = decode_fctl_chunk(avctx, s, &gb_chunk)) < 0)
1280 if (!decode_next_dat || bytestream2_get_bytes_left(&gb_chunk) < 4) {
1284 bytestream2_get_be32(&gb_chunk);
1289 if ((ret = decode_idat_chunk(avctx, s, &gb_chunk, p)) < 0)
1293 decode_plte_chunk(avctx, s, &gb_chunk);
1296 decode_trns_chunk(avctx, s, &gb_chunk);
1299 if (decode_text_chunk(s, &gb_chunk, 0) < 0)
1303 if (decode_text_chunk(s, &gb_chunk, 1) < 0)
1307 int mode = bytestream2_get_byte(&gb_chunk);
1318 if ((ret = decode_iccp_chunk(s, &gb_chunk)) < 0)
1325 s->white_point[0] = bytestream2_get_be32(&gb_chunk);
1326 s->white_point[1] = bytestream2_get_be32(&gb_chunk);
1330 s->display_primaries[i][0] = bytestream2_get_be32(&gb_chunk);
1331 s->display_primaries[i][1] = bytestream2_get_be32(&gb_chunk);
1339 int num = bytestream2_get_be32(&gb_chunk);