Home
last modified time | relevance | path

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

/frameworks/native/libs/gralloc/types/
DGralloc4.cpp224 status_t encodeMetadata(const MetadataType& metadataType, const T& input, hidl_vec<uint8_t>* output, in encodeMetadata() argument
228 status_t err = encodeMetadataType(metadataType, &outputHidlVec); in encodeMetadata()
243 err = encodeMetadataType(metadataType, &outputHidlVec); in encodeMetadata()
252 status_t encodeOptionalMetadata(const MetadataType& metadataType, const std::optional<T>& input, in encodeOptionalMetadata() argument
257 return encodeMetadata(metadataType, *input, output, encodeHelper); in encodeOptionalMetadata()
287 status_t decodeMetadata(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, T* output, in decodeMetadata() argument
291 status_t err = validateMetadataType(&inputHidlVec, metadataType); in decodeMetadata()
313 status_t decodeOptionalMetadata(const MetadataType& metadataType, const hidl_vec<uint8_t>& input, in decodeOptionalMetadata() argument
323 status_t err = decodeMetadata(metadataType, input, &tmp, decodeHelper); in decodeOptionalMetadata()
1149 status_t encodeUint32(const MetadataType& metadataType, uint32_t input, in encodeUint32() argument
[all …]
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h345 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
348 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
352 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
355 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
359 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
362 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
366 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
369 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
373 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
376 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
[all …]
/frameworks/native/libs/gralloc/types/fuzzer/
Dmain.cpp70 MetadataType metadataType; in doFuzzVendorHelper() local
71 size_t sizeUsed = fillInMetadataType(input, &metadataType); in doFuzzVendorHelper()
87 decodes[decodeIdx](metadataType, vec); in doFuzzVendorHelper()
Dgralloctypes.cpp46 [] (const MetadataType& metadataType, const ::android::hardware::hidl_vec<uint8_t>& vec) {\
49 status_t err = FUNC(metadataType, vec, &t);\
/frameworks/base/media/java/android/media/
DMetadata.java334 final int metadataType = parcel.readInt(); in scanAllRecords() local
335 if (metadataType <= 0 || metadataType > LAST_TYPE) { in scanAllRecords()
336 Log.e(TAG, "Invalid metadata type " + metadataType); in scanAllRecords()
/frameworks/native/libs/ui/
DGralloc4.cpp501 status_t Gralloc4Mapper::get(buffer_handle_t bufferHandle, const MetadataType& metadataType, in get() argument
509 auto ret = mMapper->get(const_cast<native_handle_t*>(bufferHandle), metadataType, in get()
520 ALOGE("get(%s, %" PRIu64 ", ...) failed with %d", metadataType.name.c_str(), in get()
521 metadataType.value, error); in get()
529 status_t Gralloc4Mapper::set(buffer_handle_t bufferHandle, const MetadataType& metadataType, in set() argument
533 ALOGE("Encoding metadata(%s) failed with %d", metadataType.name.c_str(), status); in set()
538 mMapper->set(const_cast<native_handle_t*>(bufferHandle), metadataType, encodedMetadata); in set()
546 ALOGE("set(%s, %" PRIu64 ", ...) failed with %d", metadataType.name.c_str(), in set()
547 metadataType.value, error); in set()
770 const MetadataType& metadataType, in getDefault() argument
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc4.h174 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
180 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
187 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType,
193 aidl::android::hardware::graphics::common::StandardMetadataType metadataType,
/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp95 MetadataType metadataType{"vendor.mycompanyname.graphics.common.MetadataType", 0}; in testHelperMetadataType() local
97 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataType()
98 ASSERT_EQ(NO_ERROR, decode(metadataType, vec, &output)); in testHelperMetadataType()
105 MetadataType metadataType{"vendor.mycompanyname.graphics.common.MetadataType", 0}; in testHelperMetadataTypeConst() local
107 ASSERT_EQ(NO_ERROR, encode(metadataType, input, &vec)); in testHelperMetadataTypeConst()
108 ASSERT_EQ(NO_ERROR, decode(metadataType, vec, &output)); in testHelperMetadataTypeConst()
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp76 MetadataType metadataType; member
84 C2FIELD(metadataType, "metadata-type")
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp1228 std::optional<IMapper4::MetadataType> metadataType; in SetMetadataToGralloc4Handle() local
1234 metadataType = MetadataType_Smpte2094_40; in SetMetadataToGralloc4Handle()
1238 if (metadataType) { in SetMetadataToGralloc4Handle()
1245 Return<Error4> ret = mapper->set(buffer.get(), *metadataType, vec); in SetMetadataToGralloc4Handle()