Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/tests/HEVC/
DHEVCUtilsUnitTest.cpp169 uint8_t *hvcc = (uint8_t *)malloc(kHvccBoxMaxSize); in TEST_P() local
170 ASSERT_NE(hvcc, nullptr) << "Failed to allocate a hvcc buffer of size: " << kHvccBoxMaxSize; in TEST_P()
172 err = hevcParams.makeHvcc(hvcc, &hvccBoxSize, kNALSizeLength); in TEST_P()
178 int16_t frameRate = hvcc[kHvccBoxMinSize - 1] | (hvcc[kHvccBoxMinSize] << 8); in TEST_P()
183 free(hvcc); in TEST_P()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp384 status_t HevcParameterSets::makeHvcc(uint8_t *hvcc, size_t *hvccSize, in makeHvcc() argument
386 if (hvcc == NULL || hvccSize == NULL in makeHvcc()
436 uint8_t *header = hvcc; in makeHvcc()
482 if (!write(j, header + 2, size - (header - (uint8_t *)hvcc))) { in makeHvcc()
488 CHECK_EQ(header - size, hvcc); in makeHvcc()
DUtils.cpp1184 HevcParameterSets hvcc; in convertMetaDataToMessage() local
1217 (void)hvcc.addNalUnit(ptr, length); in convertMetaDataToMessage()
1229 HevcParameterSets::Info info = hvcc.getInfo(); in convertMetaDataToMessage()
1230 if (info & hvcc.kInfoHasColorDescription) { in convertMetaDataToMessage()
1231 msg->setInt32("android._is-hdr", (info & hvcc.kInfoIsHdr) != 0); in convertMetaDataToMessage()
1235 if (hvcc.findParam32(kColourPrimaries, &isoPrimaries) in convertMetaDataToMessage()
1236 && hvcc.findParam32(kTransferCharacteristics, &isoTransfer) in convertMetaDataToMessage()
1237 && hvcc.findParam32(kMatrixCoeffs, &isoMatrix) in convertMetaDataToMessage()
1238 && hvcc.findParam32(kVideoFullRangeFlag, &isoRange)) { in convertMetaDataToMessage()
1525 static size_t reassembleHVCC(const sp<ABuffer> &csd0, uint8_t *hvcc, size_t hvccSize, size_t nalSiz… in reassembleHVCC() argument
[all …]
DMPEG4Writer.cpp2075 .hvcc = ABuffer::CreateAsCopy(mCodecSpecificData, mCodecSpecificDataSize) in addItemOffsetAndSize()
4578 sp<ABuffer> hvcc = mProperties[propIndex].hvcc; in writeIpcoBox() local
4581 uint8_t *ptr = (uint8_t *)hvcc->data(); in writeIpcoBox()
4583 write(hvcc->data(), hvcc->size()); in writeIpcoBox()
/frameworks/av/media/libstagefright/include/
DHevcUtils.h92 status_t makeHvcc(uint8_t *hvcc, size_t *hvccSize, size_t nalSizeLength);
/frameworks/av/media/extractors/mp4/
DItemTable.cpp77 sp<ABuffer> hvcc; member
741 image.hvcc = mHVCC; in attachTo()
1543 if (thumbnail.hvcc != NULL) { in getImageMeta()
1550 thumbnail.hvcc->data(), thumbnail.hvcc->size()); in getImageMeta()
1577 if (image->hvcc == NULL) { in getImageMeta()
1582 AMEDIAFORMAT_KEY_CSD_HEVC, image->hvcc->data(), image->hvcc->size()); in getImageMeta()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h199 sp<ABuffer> hvcc;