Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DUtils.cpp2146 std::vector<uint8_t> dvcc(dvccSize); in convertMessageToMetaData() local
2148 dvcc[0] = 1; // major version in convertMessageToMetaData()
2149 dvcc[1] = 0; // minor version in convertMessageToMetaData()
2150 dvcc[2] = (uint8_t)((profile & 0x7f) << 1); // dolby vision profile in convertMessageToMetaData()
2151 dvcc[2] = (uint8_t)((dvcc[2] | (uint8_t)((level_val >> 5) & 0x1)) & 0xff); in convertMessageToMetaData()
2152 dvcc[3] = (uint8_t)((level_val & 0x1f) << 3); // dolby vision level in convertMessageToMetaData()
2153 dvcc[3] = (uint8_t)(dvcc[3] | (1 << 2)); // rpu_present_flag in convertMessageToMetaData()
2154 dvcc[3] = (uint8_t)(dvcc[3] | (1)); // bl_present_flag in convertMessageToMetaData()
2155 dvcc[4] = (uint8_t)(blCompatibilityId << 4); // bl_compatibility id in convertMessageToMetaData()
2160 meta->setData(kKeyDVWC, kTypeDVWC, dvcc.data(), dvccSize); in convertMessageToMetaData()
[all …]