MCPcopy Create free account
hub / github.com/AOMediaCodec/libavif / avifDecoderReadFile

Function avifDecoderReadFile

src/read.c:7277–7285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7275}
7276
7277avifResult avifDecoderReadFile(avifDecoder * decoder, avifImage * image, const char * filename)
7278{
7279 avifDiagnosticsClearError(&decoder->diag);
7280 avifResult result = avifDecoderSetIOFile(decoder, filename);
7281 if (result != AVIF_RESULT_OK) {
7282 return result;
7283 }
7284 return avifDecoderRead(decoder, image);
7285}

Callers 5

DecodeFileFunction · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 3

avifDecoderSetIOFileFunction · 0.85
avifDecoderReadFunction · 0.85

Tested by 5

DecodeFileFunction · 0.68
TESTFunction · 0.68
TEST_PFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68