Home
last modified time | relevance | path

Searched refs:sType1 (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/module/foundation/
DColorUtils_fill.cpp40 data[1] = LO_UINT16(info.sType1.mR.x); in fillHdrStaticInfoBuffer()
41 data[2] = HI_UINT16(info.sType1.mR.x); in fillHdrStaticInfoBuffer()
42 data[3] = LO_UINT16(info.sType1.mR.y); in fillHdrStaticInfoBuffer()
43 data[4] = HI_UINT16(info.sType1.mR.y); in fillHdrStaticInfoBuffer()
46 data[5] = LO_UINT16(info.sType1.mG.x); in fillHdrStaticInfoBuffer()
47 data[6] = HI_UINT16(info.sType1.mG.x); in fillHdrStaticInfoBuffer()
48 data[7] = LO_UINT16(info.sType1.mG.y); in fillHdrStaticInfoBuffer()
49 data[8] = HI_UINT16(info.sType1.mG.y); in fillHdrStaticInfoBuffer()
52 data[9] = LO_UINT16(info.sType1.mB.x); in fillHdrStaticInfoBuffer()
53 data[10] = HI_UINT16(info.sType1.mB.x); in fillHdrStaticInfoBuffer()
[all …]
DColorUtils.cpp774 info->sType1.mR.x = U16LE_AT(&data[1]); in getHDRStaticInfoFromFormat()
775 info->sType1.mR.y = U16LE_AT(&data[3]); in getHDRStaticInfoFromFormat()
776 info->sType1.mG.x = U16LE_AT(&data[5]); in getHDRStaticInfoFromFormat()
777 info->sType1.mG.y = U16LE_AT(&data[7]); in getHDRStaticInfoFromFormat()
778 info->sType1.mB.x = U16LE_AT(&data[9]); in getHDRStaticInfoFromFormat()
779 info->sType1.mB.y = U16LE_AT(&data[11]); in getHDRStaticInfoFromFormat()
780 info->sType1.mW.x = U16LE_AT(&data[13]); in getHDRStaticInfoFromFormat()
781 info->sType1.mW.y = U16LE_AT(&data[15]); in getHDRStaticInfoFromFormat()
782 info->sType1.mMaxDisplayLuminance = U16LE_AT(&data[17]); in getHDRStaticInfoFromFormat()
783 info->sType1.mMinDisplayLuminance = U16LE_AT(&data[19]); in getHDRStaticInfoFromFormat()
[all …]
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp138 if ((float)info->sType1.mMaxDisplayLuminance > 0.0f && in setNativeWindowHdrMetadata()
139 (info->sType1.mMinDisplayLuminance * 0.0001f) > 0.0f) { in setNativeWindowHdrMetadata()
142 info->sType1.mR.x * 0.00002f, in setNativeWindowHdrMetadata()
143 info->sType1.mR.y * 0.00002f in setNativeWindowHdrMetadata()
146 info->sType1.mG.x * 0.00002f, in setNativeWindowHdrMetadata()
147 info->sType1.mG.y * 0.00002f in setNativeWindowHdrMetadata()
150 info->sType1.mB.x * 0.00002f, in setNativeWindowHdrMetadata()
151 info->sType1.mB.y * 0.00002f in setNativeWindowHdrMetadata()
154 info->sType1.mW.x * 0.00002f, in setNativeWindowHdrMetadata()
155 info->sType1.mW.y * 0.00002f in setNativeWindowHdrMetadata()
[all …]
DACodec.cpp4046 info->sType1.mR.x, info->sType1.mR.y, info->sType1.mG.x, info->sType1.mG.y, in setHDRStaticInfo()
4047 info->sType1.mB.x, info->sType1.mB.y, info->sType1.mW.x, info->sType1.mW.y, in setHDRStaticInfo()
4048 info->sType1.mMaxDisplayLuminance, info->sType1.mMinDisplayLuminance, in setHDRStaticInfo()
4049 info->sType1.mMaxContentLightLevel, info->sType1.mMaxFrameAverageLightLevel); in setHDRStaticInfo()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp422 if (info->sType1.mMaxFrameAverageLightLevel) { in VideoTrackEntry()
424 kMkvMaxFALL, info->sType1.mMaxFrameAverageLightLevel)); in VideoTrackEntry()
426 if (info->sType1.mMaxContentLightLevel) { in VideoTrackEntry()
428 kMkvMaxCLL, info->sType1.mMaxContentLightLevel)); in VideoTrackEntry()
430 if (info->sType1.mMinDisplayLuminance) { in VideoTrackEntry()
433 kMkvLuminanceMin, info->sType1.mMinDisplayLuminance * 0.0001)); in VideoTrackEntry()
435 if (info->sType1.mMaxDisplayLuminance) { in VideoTrackEntry()
437 kMkvLuminanceMax, (float)info->sType1.mMaxDisplayLuminance)); in VideoTrackEntry()
440 if (info->sType1.mW.x || info->sType1.mW.y) { in VideoTrackEntry()
442 kMkvWhitePointChromaticityX, info->sType1.mW.x * 0.00002)); in VideoTrackEntry()
[all …]
/frameworks/av/media/module/foundation/tests/colorutils/
DColorUtilsTest.cpp430 infoHDR.sType1.mMaxDisplayLuminance = kHDRInfoTestValue2; in TEST()
431 infoHDR.sType1.mMinDisplayLuminance = kHDRInfoTestValue1; in TEST()
432 infoHDR.sType1.mMaxContentLightLevel = kHDRInfoTestValue2; in TEST()
433 infoHDR.sType1.mMaxFrameAverageLightLevel = kHDRInfoTestValue1; in TEST()
434 infoHDR.sType1.mR.x = kHDRInfoTestValue1; in TEST()
435 infoHDR.sType1.mR.y = kHDRInfoTestValue2; in TEST()
436 infoHDR.sType1.mG.x = kHDRInfoTestValue1; in TEST()
437 infoHDR.sType1.mG.y = kHDRInfoTestValue2; in TEST()
438 infoHDR.sType1.mB.x = kHDRInfoTestValue1; in TEST()
439 infoHDR.sType1.mB.y = kHDRInfoTestValue2; in TEST()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecConfig.cpp1630 meta.sType1.mR.x = hdr.mastering.red.x / 0.00002 + 0.5; in getFormatForDomain()
1631 meta.sType1.mR.y = hdr.mastering.red.y / 0.00002 + 0.5; in getFormatForDomain()
1632 meta.sType1.mG.x = hdr.mastering.green.x / 0.00002 + 0.5; in getFormatForDomain()
1633 meta.sType1.mG.y = hdr.mastering.green.y / 0.00002 + 0.5; in getFormatForDomain()
1634 meta.sType1.mB.x = hdr.mastering.blue.x / 0.00002 + 0.5; in getFormatForDomain()
1635 meta.sType1.mB.y = hdr.mastering.blue.y / 0.00002 + 0.5; in getFormatForDomain()
1636 meta.sType1.mW.x = hdr.mastering.white.x / 0.00002 + 0.5; in getFormatForDomain()
1637 meta.sType1.mW.y = hdr.mastering.white.y / 0.00002 + 0.5; in getFormatForDomain()
1638 meta.sType1.mMaxDisplayLuminance = hdr.mastering.maxLuminance + 0.5; in getFormatForDomain()
1639 meta.sType1.mMinDisplayLuminance = hdr.mastering.minLuminance / 0.0001 + 0.5; in getFormatForDomain()
[all …]
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1867 info.sType1.mMaxContentLightLevel = color->max_cll; in getColorInformation()
1870 info.sType1.mMaxFrameAverageLightLevel = color->max_fall; in getColorInformation()
1877 info.sType1.mMaxDisplayLuminance = (uint16_t)(mastering->luminance_max + 0.5); in getColorInformation()
1881 info.sType1.mMinDisplayLuminance = in getColorInformation()
1886 info.sType1.mW.x = (uint16_t)(50000 * mastering->white_point->x + 0.5); in getColorInformation()
1887 info.sType1.mW.y = (uint16_t)(50000 * mastering->white_point->y + 0.5); in getColorInformation()
1891 info.sType1.mR.x = (uint16_t)(50000 * mastering->r->x + 0.5); in getColorInformation()
1892 info.sType1.mR.y = (uint16_t)(50000 * mastering->r->y + 0.5); in getColorInformation()
1893 info.sType1.mG.x = (uint16_t)(50000 * mastering->g->x + 0.5); in getColorInformation()
1894 info.sType1.mG.y = (uint16_t)(50000 * mastering->g->y + 0.5); in getColorInformation()
[all …]
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h221 Type1 sType1; member
/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp208 HDRStaticInfo info = { .mID = HDRStaticInfo::kType1, .sType1 = { in TEST_F()
267 HDRStaticInfo info = { .mID = HDRStaticInfo::kType1, .sType1 = { in TEST_F()