Home
last modified time | relevance | path

Searched refs:hdrStaticInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp637 std::shared_ptr<C2StreamHdrStaticInfo::input> hdrStaticInfo = in processLoop() local
653 hdrStaticInfo.reset(static_cast<C2StreamHdrStaticInfo::input *>( in processLoop()
715 (hdrStaticInfo && *hdrStaticInfo && in processLoop()
716 hdrStaticInfo->mastering.maxLuminance > 0 && in processLoop()
717 hdrStaticInfo->mastering.minLuminance > 0) in processLoop()
718 ? hdrStaticInfo->mastering.maxLuminance : kDefaultMaxMasteringLuminance; in processLoop()
720 (hdrStaticInfo && *hdrStaticInfo && hdrStaticInfo->maxCll > 0) in processLoop()
721 ? hdrStaticInfo->maxCll : kDefaultMaxContentLuminance; in processLoop()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp840 std::shared_ptr<const C2StreamHdrStaticInfo::output> hdrStaticInfo = in renderOutputBuffer() local
913 if (hdrStaticInfo || hdrDynamicInfo) { in renderOutputBuffer()
915 if (hdrStaticInfo) { in renderOutputBuffer()
918 if (hdrStaticInfo->mastering.maxLuminance > 0.0f && in renderOutputBuffer()
919 hdrStaticInfo->mastering.minLuminance > 0.0f) { in renderOutputBuffer()
922 hdrStaticInfo->mastering.red.x, hdrStaticInfo->mastering.red.y in renderOutputBuffer()
925 hdrStaticInfo->mastering.green.x, hdrStaticInfo->mastering.green.y in renderOutputBuffer()
928 hdrStaticInfo->mastering.blue.x, hdrStaticInfo->mastering.blue.y in renderOutputBuffer()
931 hdrStaticInfo->mastering.white.x, hdrStaticInfo->mastering.white.y in renderOutputBuffer()
933 .maxLuminance = hdrStaticInfo->mastering.maxLuminance, in renderOutputBuffer()
[all …]
/frameworks/av/services/mediametrics/
Dstatsd_codec.cpp429 int32_t hdrStaticInfo = -1; in statsd_codec() local
430 if (item->getInt32("android.media.mediacodec.hdr-static-info", &hdrStaticInfo)) { in statsd_codec()
431 metrics_proto.set_hdr_static_info(hdrStaticInfo); in statsd_codec()
433 AStatsEvent_writeInt32(event, hdrStaticInfo); in statsd_codec()