Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DColorUtils.cpp596 data[1] = LO_UINT16(info.sType1.mR.x); in setHDRStaticInfoIntoFormat()
597 data[2] = HI_UINT16(info.sType1.mR.x); in setHDRStaticInfoIntoFormat()
598 data[3] = LO_UINT16(info.sType1.mR.y); in setHDRStaticInfoIntoFormat()
599 data[4] = HI_UINT16(info.sType1.mR.y); in setHDRStaticInfoIntoFormat()
602 data[5] = LO_UINT16(info.sType1.mG.x); in setHDRStaticInfoIntoFormat()
603 data[6] = HI_UINT16(info.sType1.mG.x); in setHDRStaticInfoIntoFormat()
604 data[7] = LO_UINT16(info.sType1.mG.y); in setHDRStaticInfoIntoFormat()
605 data[8] = HI_UINT16(info.sType1.mG.y); in setHDRStaticInfoIntoFormat()
608 data[9] = LO_UINT16(info.sType1.mB.x); in setHDRStaticInfoIntoFormat()
609 data[10] = HI_UINT16(info.sType1.mB.x); in setHDRStaticInfoIntoFormat()
[all …]
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp421 if (info->sType1.mMaxFrameAverageLightLevel) { in VideoTrackEntry()
423 kMkvMaxFALL, info->sType1.mMaxFrameAverageLightLevel)); in VideoTrackEntry()
425 if (info->sType1.mMaxContentLightLevel) { in VideoTrackEntry()
427 kMkvMaxCLL, info->sType1.mMaxContentLightLevel)); in VideoTrackEntry()
429 if (info->sType1.mMinDisplayLuminance) { in VideoTrackEntry()
432 kMkvLuminanceMin, info->sType1.mMinDisplayLuminance * 0.0001)); in VideoTrackEntry()
434 if (info->sType1.mMaxDisplayLuminance) { in VideoTrackEntry()
436 kMkvLuminanceMax, (float)info->sType1.mMaxDisplayLuminance)); in VideoTrackEntry()
439 if (info->sType1.mW.x || info->sType1.mW.y) { in VideoTrackEntry()
441 kMkvWhitePointChromaticityX, info->sType1.mW.x * 0.00002)); in VideoTrackEntry()
[all …]
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1127 info.sType1.mMaxContentLightLevel = color->max_cll; in getColorInformation()
1130 info.sType1.mMaxFrameAverageLightLevel = color->max_fall; in getColorInformation()
1137 info.sType1.mMaxDisplayLuminance = (uint16_t)(mastering->luminance_max + 0.5); in getColorInformation()
1141 info.sType1.mMinDisplayLuminance = in getColorInformation()
1146 info.sType1.mW.x = (uint16_t)(50000 * mastering->white_point->x + 0.5); in getColorInformation()
1147 info.sType1.mW.y = (uint16_t)(50000 * mastering->white_point->y + 0.5); in getColorInformation()
1151 info.sType1.mR.x = (uint16_t)(50000 * mastering->r->x + 0.5); in getColorInformation()
1152 info.sType1.mR.y = (uint16_t)(50000 * mastering->r->y + 0.5); in getColorInformation()
1153 info.sType1.mG.x = (uint16_t)(50000 * mastering->g->x + 0.5); in getColorInformation()
1154 info.sType1.mG.y = (uint16_t)(50000 * mastering->g->y + 0.5); in getColorInformation()
[all …]
/frameworks/native/include/media/hardware/
DVideoAPI.h217 Type1 sType1; member
/frameworks/av/media/libstagefright/
DACodec.cpp3542 info->sType1.mR.x, info->sType1.mR.y, info->sType1.mG.x, info->sType1.mG.y, in setHDRStaticInfo()
3543 info->sType1.mB.x, info->sType1.mB.y, info->sType1.mW.x, info->sType1.mW.y, in setHDRStaticInfo()
3544 info->sType1.mMaxDisplayLuminance, info->sType1.mMinDisplayLuminance, in setHDRStaticInfo()
3545 info->sType1.mMaxContentLightLevel, info->sType1.mMaxFrameAverageLightLevel); in setHDRStaticInfo()