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

Function parse_transform_predictor

libavcodec/webp.c:462–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462static int parse_transform_predictor(WebPContext *s)
463{
464 int block_bits, blocks_w, blocks_h, ret;
465
466 PARSE_BLOCK_SIZE(s->reduced_width, s->height);
467
468 ret = decode_entropy_coded_image(s, IMAGE_ROLE_PREDICTOR, blocks_w,
469 blocks_h);
470 if (ret < 0)
471 return ret;
472
473 s->image[IMAGE_ROLE_PREDICTOR].size_reduction = block_bits;
474
475 return 0;
476}
477
478static int parse_transform_color(WebPContext *s)
479{

Callers 1

Calls 1

Tested by

no test coverage detected