Home
last modified time | relevance | path

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

/frameworks/av/media/libmediatranscoding/transcoder/
DNdkCommon.cpp49 #define DEFINE_FORMAT_VALUE_COPY_FUNC(_type, _typeName) \ argument
50 bool CopyFormatEntry##_typeName(const char* key, AMediaFormat* from, AMediaFormat* to) { \
52 if (AMediaFormat_get##_typeName(from, key, &value)) { \
53 AMediaFormat_set##_typeName(to, key, value); \
81 #define DEFINE_SET_DEFAULT_FORMAT_VALUE_FUNC(_type, _typeName) \ argument
82 bool SetDefaultFormatValue##_typeName(const char* key, AMediaFormat* format, _type value) { \
84 if (!AMediaFormat_get##_typeName(format, key, &tmp)) { \
85 AMediaFormat_set##_typeName(format, key, value); \
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp34 #define DEFINE_FORMAT_VALUE_EQUAL_FUNC(_type, _typeName) \ argument
35 static bool equal##_typeName(const char* key, AMediaFormat* src, AMediaFormat* dst) { \
37 bool srcPresent = AMediaFormat_get##_typeName(src, key, &srcVal); \
38 bool dstPresent = AMediaFormat_get##_typeName(dst, key, &dstVal); \