Searched refs:sType1 (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libstagefright/foundation/ |
D | ColorUtils.cpp | 714 data[1] = LO_UINT16(info.sType1.mR.x); in setHDRStaticInfoIntoFormat() 715 data[2] = HI_UINT16(info.sType1.mR.x); in setHDRStaticInfoIntoFormat() 716 data[3] = LO_UINT16(info.sType1.mR.y); in setHDRStaticInfoIntoFormat() 717 data[4] = HI_UINT16(info.sType1.mR.y); in setHDRStaticInfoIntoFormat() 720 data[5] = LO_UINT16(info.sType1.mG.x); in setHDRStaticInfoIntoFormat() 721 data[6] = HI_UINT16(info.sType1.mG.x); in setHDRStaticInfoIntoFormat() 722 data[7] = LO_UINT16(info.sType1.mG.y); in setHDRStaticInfoIntoFormat() 723 data[8] = HI_UINT16(info.sType1.mG.y); in setHDRStaticInfoIntoFormat() 726 data[9] = LO_UINT16(info.sType1.mB.x); in setHDRStaticInfoIntoFormat() 727 data[10] = HI_UINT16(info.sType1.mB.x); in setHDRStaticInfoIntoFormat() [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 422 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/libstagefright/ |
D | SurfaceUtils.cpp | 137 info->sType1.mR.x * 0.00002f, in setNativeWindowHdrMetadata() 138 info->sType1.mR.y * 0.00002f in setNativeWindowHdrMetadata() 141 info->sType1.mG.x * 0.00002f, in setNativeWindowHdrMetadata() 142 info->sType1.mG.y * 0.00002f in setNativeWindowHdrMetadata() 145 info->sType1.mB.x * 0.00002f, in setNativeWindowHdrMetadata() 146 info->sType1.mB.y * 0.00002f in setNativeWindowHdrMetadata() 149 info->sType1.mW.x * 0.00002f, in setNativeWindowHdrMetadata() 150 info->sType1.mW.y * 0.00002f in setNativeWindowHdrMetadata() 152 .maxLuminance = (float) info->sType1.mMaxDisplayLuminance, in setNativeWindowHdrMetadata() 153 .minLuminance = info->sType1.mMinDisplayLuminance * 0.0001f in setNativeWindowHdrMetadata() [all …]
|
D | ACodec.cpp | 3811 info->sType1.mR.x, info->sType1.mR.y, info->sType1.mG.x, info->sType1.mG.y, in setHDRStaticInfo() 3812 info->sType1.mB.x, info->sType1.mB.y, info->sType1.mW.x, info->sType1.mW.y, in setHDRStaticInfo() 3813 info->sType1.mMaxDisplayLuminance, info->sType1.mMinDisplayLuminance, in setHDRStaticInfo() 3814 info->sType1.mMaxContentLightLevel, info->sType1.mMaxFrameAverageLightLevel); in setHDRStaticInfo()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecConfig.cpp | 1253 meta.sType1.mR.x = hdr.mastering.red.x / 0.00002 + 0.5; in getSdkFormatForDomain() 1254 meta.sType1.mR.y = hdr.mastering.red.y / 0.00002 + 0.5; in getSdkFormatForDomain() 1255 meta.sType1.mG.x = hdr.mastering.green.x / 0.00002 + 0.5; in getSdkFormatForDomain() 1256 meta.sType1.mG.y = hdr.mastering.green.y / 0.00002 + 0.5; in getSdkFormatForDomain() 1257 meta.sType1.mB.x = hdr.mastering.blue.x / 0.00002 + 0.5; in getSdkFormatForDomain() 1258 meta.sType1.mB.y = hdr.mastering.blue.y / 0.00002 + 0.5; in getSdkFormatForDomain() 1259 meta.sType1.mW.x = hdr.mastering.white.x / 0.00002 + 0.5; in getSdkFormatForDomain() 1260 meta.sType1.mW.y = hdr.mastering.white.y / 0.00002 + 0.5; in getSdkFormatForDomain() 1261 meta.sType1.mMaxDisplayLuminance = hdr.mastering.maxLuminance + 0.5; in getSdkFormatForDomain() 1262 meta.sType1.mMinDisplayLuminance = hdr.mastering.minLuminance / 0.0001 + 0.5; in getSdkFormatForDomain() [all …]
|
/frameworks/av/media/libstagefright/foundation/tests/colorutils/ |
D | ColorUtilsTest.cpp | 430 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/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1830 info.sType1.mMaxContentLightLevel = color->max_cll; in getColorInformation() 1833 info.sType1.mMaxFrameAverageLightLevel = color->max_fall; in getColorInformation() 1840 info.sType1.mMaxDisplayLuminance = (uint16_t)(mastering->luminance_max + 0.5); in getColorInformation() 1844 info.sType1.mMinDisplayLuminance = in getColorInformation() 1849 info.sType1.mW.x = (uint16_t)(50000 * mastering->white_point->x + 0.5); in getColorInformation() 1850 info.sType1.mW.y = (uint16_t)(50000 * mastering->white_point->y + 0.5); in getColorInformation() 1854 info.sType1.mR.x = (uint16_t)(50000 * mastering->r->x + 0.5); in getColorInformation() 1855 info.sType1.mR.y = (uint16_t)(50000 * mastering->r->y + 0.5); in getColorInformation() 1856 info.sType1.mG.x = (uint16_t)(50000 * mastering->g->x + 0.5); in getColorInformation() 1857 info.sType1.mG.y = (uint16_t)(50000 * mastering->g->y + 0.5); in getColorInformation() [all …]
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | VideoAPI.h | 217 Type1 sType1; member
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 208 HDRStaticInfo info = { .mID = HDRStaticInfo::kType1, .sType1 = { in TEST_F() 267 HDRStaticInfo info = { .mID = HDRStaticInfo::kType1, .sType1 = { in TEST_F()
|