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

Function avifCodecConfigurationBoxGetDepth

src/read.c:382–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382static uint32_t avifCodecConfigurationBoxGetDepth(const avifCodecConfigurationBox * av1C)
383{
384 if (av1C->twelveBit) {
385 return 12;
386 } else if (av1C->highBitdepth) {
387 return 10;
388 }
389 return 8;
390}
391
392#if defined(AVIF_ENABLE_EXPERIMENTAL_EXTENDED_PIXI)
393uint8_t avifCodecConfigurationBoxGetSubsamplingType(const avifCodecConfigurationBox * av1C, uint8_t channelIndex)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected