Home
last modified time | relevance | path

Searched refs:isEncoder (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/xmlparser/test/
DXMLParserTest.cpp43 bool isEncoder; member
60 void setCodecProperties(string codecName, bool isEncoder, int32_t order, set<string> quirkSet,
65 void setRoleProperties(string roleName, bool isEncoder, int32_t order, string typeName,
72 void checkRoleMap(int32_t index, bool isEncoder, string typeName, string codecName,
174 void XMLParseTest::setCodecProperties(string codecName, bool isEncoder, int32_t order, in setCodecProperties() argument
188 codecProperty.codecProp.isEncoder = isEncoder; in setCodecProperties()
199 void XMLParseTest::setRoleProperties(string roleName, bool isEncoder, int32_t order, in setRoleProperties() argument
206 roleProperty.isEncoder = isEncoder; in setRoleProperties()
222 bool isEncoder = properties.isEncoder; in printCodecMap() local
223 ALOGV("isEncoder = %d\n", isEncoder); in printCodecMap()
[all …]
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp60 const IOmxStore::NodeInfo& node, const char* mediaType, bool isEncoder, in queryCapabilities() argument
81 node.owner.c_str(), node.name.c_str(), mediaType, isEncoder, caps); in queryCapabilities()
150 bool isEncoder = role.isEncoder; in buildMediaCodecList() local
158 if (!mAllowSurfaceEncoders && isVideoOrImage && isEncoder) { in buildMediaCodecList()
204 if (isEncoder) { in buildMediaCodecList()
216 node, typeName.c_str(), isEncoder, caps.get()) != OK) { in buildMediaCodecList()
DMediaCodecListOverrides.cpp91 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat() argument
95 if (isEncoder) { in getMeasureFormat()
129 …bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &… in doProfileCodecs() argument
130 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps); in doProfileCodecs()
135 name.c_str(), mime.c_str(), isEncoder ? "encoder" : "decoder", in doProfileCodecs()
155 uint32_t flags = isEncoder ? MediaCodec::CONFIGURE_FLAG_ENCODE : 0; in doProfileCodecs()
242 size_t max = doProfileCodecs(info->isEncoder(), name, mediaTypes[i], caps); in profileCodecs()
253 if (info->isEncoder()) { in profileCodecs()
DMediaCodecList.cpp263 if (info.isEncoder() != encoder) { in findCodecByType()
DACodec.cpp1693 bool isEncoder, const char *mime) { in setComponentRole() argument
1694 const char *role = GetComponentRole(isEncoder, mime); in setComponentRole()
8599 const char* owner, const char* name, const char* mime, bool isEncoder, in queryCapabilities() argument
8601 const char *role = GetComponentRole(isEncoder, mime); in queryCapabilities()
8635 param.nPortIndex = isEncoder ? kPortIndexOutput : kPortIndexInput; in queryCapabilities()
8650 if (!isEncoder && strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC) == 0) { in queryCapabilities()
8670 portFormat.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput; in queryCapabilities()
8698 param.nPortIndex = isEncoder ? kPortIndexOutput : kPortIndexInput; in queryCapabilities()
8724 if (isVideo && !isEncoder) { in queryCapabilities()
8743 if (isVideo && isEncoder) { in queryCapabilities()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp109 bool isEncoder = kind == C2Component::KIND_ENCODER; in BaseParams() local
121 0u, isEncoder ? rawBufferType : codedBufferType)) in BaseParams()
127 isEncoder ? rawMediaType : mediaType)) in BaseParams()
133 0u, isEncoder ? codedBufferType : rawBufferType)) in BaseParams()
139 isEncoder ? mediaType : rawMediaType)) in BaseParams()
142 C2Allocator::id_t inputAllocators[1] = { isEncoder ? rawAllocator : codedAllocator }; in BaseParams()
143 C2Allocator::id_t outputAllocators[1] = { isEncoder ? codedAllocator : rawAllocator }; in BaseParams()
144 C2BlockPool::local_id_t outputPoolIds[1] = { isEncoder ? codedPoolId : rawPoolId }; in BaseParams()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java19 public static ArrayList<String> selectCodecs(String mimeType, boolean isEncoder) { in selectCodecs() argument
24 if (isEncoder != codecInfo.isEncoder()) { in selectCodecs()
DDecoder.java157 int isEncoder = 0; in decode() local
161 mCodec.configure(format, null, null, isEncoder); in decode()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.cpp67 bool isEncoder) { in createMediaCodec() argument
82 if (isEncoder) { in createMediaCodec()
97 media_status_t status = AMediaCodec_configure(codec, format, nullptr, nullptr, isEncoder); in createMediaCodec()
DBenchmarkC2Common.cpp53 vector<string> BenchmarkC2Common::getSupportedComponentList(bool isEncoder) { in getSupportedComponentList() argument
61 if (isEncoder && C2Component::KIND_ENCODER == listTraits[i].kind) { in getSupportedComponentList()
63 } else if (!isEncoder && C2Component::KIND_DECODER == listTraits[i].kind) { in getSupportedComponentList()
DBenchmarkCommon.h133 bool isEncoder);
DBenchmarkC2Common.h117 vector<string> getSupportedComponentList(bool isEncoder);
/frameworks/av/media/libstagefright/xmlparser/include/media/stagefright/xmlparser/
DMediaCodecsXmlParser.h65 bool isEncoder; ///< Whether this codec is an encoder or a decoder member
92 bool isEncoder; member
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp82 role.isEncoder = rolePair.second.isEncoder; in OmxStore()
/frameworks/av/media/libmedia/
DIMediaCodecList.cpp164 bool isEncoder = static_cast<bool>(data.readInt32()); in onTransact() local
166 ssize_t index = findCodecByType(type, isEncoder, startIndex); in onTransact()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp265 bool isEncoder = info.info->isEncoder(); in android_media_MediaCodecList_getCodecCapabilities() local
321 profileLevelArray, colorFormatsArray, isEncoder, in android_media_MediaCodecList_getCodecCapabilities()
Dandroid_media_MediaCodec.cpp646 JNIEnv *env, const char *mime, bool isEncoder, in getCodecCapabilitiesObject() argument
694 profileLevelArray.get(), colorFormatsArray.get(), isEncoder, in getCodecCapabilitiesObject()
714 bool isEncoder = codecInfo->isEncoder(); in getCodecInfo() local
727 env, mediaTypes[i].c_str(), isEncoder, caps)); in getCodecInfo()
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXUtils.h41 const char *GetComponentRole(bool isEncoder, const char *mime);
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp993 codecIt->second.isEncoder = encoder; in enterMediaCodec()
1466 bool isEncoder = codec.second.isEncoder; in generateRoleMap() local
1472 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap()
1475 isEncoder ? "an encoder" : "a decoder", in generateRoleMap()
1486 roleProperties.isEncoder = isEncoder; in generateRoleMap()
1502 if (roleIterator->second.isEncoder != isEncoder) { in generateRoleMap()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h188 inline bool isEncoder() const { in isEncoder() function
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp113 const char *GetComponentRole(bool isEncoder, const char *mime) { in GetComponentRole() argument
191 return isEncoder ? kMimeToRole[i].encoderRole in GetComponentRole()
/frameworks/base/media/java/android/media/
DMediaCodecList.java246 if (info.isEncoder() != encoder) { in findCodecForFormat()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h66 const char* mime, bool isEncoder,
343 status_t setComponentRole(bool isEncoder, const char *mime);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DCpuVideoTrackDecoder.java192 if (info.isEncoder()) { in findDecoderCodec()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp578 bool isEncoder = in testSeek() local
582 if (isEncoder) { in testSeek()

12