Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DHevcUtils.cpp373 status_t HevcParameterSets::makeHvcc(uint8_t *hvcc, size_t *hvccSize, in makeHvcc() argument
375 if (hvcc == NULL || hvccSize == NULL in makeHvcc()
425 uint8_t *header = hvcc; in makeHvcc()
471 if (!write(j, header + 2, size - (header - (uint8_t *)hvcc))) { in makeHvcc()
477 CHECK_EQ(header - size, hvcc); in makeHvcc()
DUtils.cpp903 HevcParameterSets hvcc; in convertMetaDataToMessage() local
936 (void)hvcc.addNalUnit(ptr, length); in convertMetaDataToMessage()
948 HevcParameterSets::Info info = hvcc.getInfo(); in convertMetaDataToMessage()
949 if (info & hvcc.kInfoHasColorDescription) { in convertMetaDataToMessage()
950 msg->setInt32("android._is-hdr", (info & hvcc.kInfoIsHdr) != 0); in convertMetaDataToMessage()
1213 static size_t reassembleHVCC(const sp<ABuffer> &csd0, uint8_t *hvcc, size_t hvccSize, size_t nalSiz… in reassembleHVCC() argument
1241 err = paramSets.makeHvcc(hvcc, &size, nalSizeLength); in reassembleHVCC()
1481 std::vector<uint8_t> hvcc(csd0size + 1024); in convertMessageToMetaData() local
1482 size_t outsize = reassembleHVCC(csd0, hvcc.data(), hvcc.size(), 4); in convertMessageToMetaData()
1483 meta->setData(kKeyHVCC, kKeyHVCC, hvcc.data(), outsize); in convertMessageToMetaData()
DMPEG4Writer.cpp2016 .hvcc = ABuffer::CreateAsCopy(mCodecSpecificData, mCodecSpecificDataSize) in addItemOffsetAndSize()
4410 sp<ABuffer> hvcc = mProperties[propIndex].hvcc; in writeIpcoBox() local
4413 uint8_t *ptr = (uint8_t *)hvcc->data(); in writeIpcoBox()
4415 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.cpp74 sp<ABuffer> hvcc; member
733 image.hvcc = mHVCC; in attachTo()
1535 thumbnail.hvcc->data(), thumbnail.hvcc->size()); in getImageMeta()
1554 if (image->hvcc == NULL) { in getImageMeta()
1558 meta->setData(kKeyHVCC, kTypeHVCC, image->hvcc->data(), image->hvcc->size()); in getImageMeta()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h201 sp<ABuffer> hvcc;
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp254 const uint8_t *hvcc; in MatroskaSource() local
256 if (meta.findData(kKeyHVCC, &dummy, (const void **)&hvcc, &hvccSize) in MatroskaSource()
258 mNALSizeLen = 1 + (hvcc[14+7] & 3); in MatroskaSource()