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

Function avifEncoderWriteContentLightLevelInformation

src/write.c:693–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693static avifResult avifEncoderWriteContentLightLevelInformation(avifRWStream * outputStream,
694 const avifContentLightLevelInformationBox * clli)
695{
696 AVIF_CHECKRES(avifRWStreamWriteBits(outputStream, clli->maxCLL, 16)); // unsigned int(16) max_content_light_level;
697 AVIF_CHECKRES(avifRWStreamWriteBits(outputStream, clli->maxPALL, 16)); // unsigned int(16) max_pic_average_light_level;
698 return AVIF_RESULT_OK;
699}
700
701// Same as 'avifEncoderWriteColorProperties' but for properties related to High Dynamic Range only.
702static avifResult avifEncoderWriteHDRProperties(avifRWStream * dedupStream,

Calls 1

avifRWStreamWriteBitsFunction · 0.85

Tested by

no test coverage detected