Home
last modified time | relevance | path

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

123

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java18 public static ArrayList<String> selectCodecs(String mimeType, boolean isEncoder) { in selectCodecs() argument
23 if (isEncoder != codecInfo.isEncoder()) { in selectCodecs()
48 String[] features, boolean isEncoder) { in getMediaCodec() argument
53 if (codecInfo.isEncoder() != isEncoder) continue; in getMediaCodec()
/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,
246 void XMLParseTest::setCodecProperties(string codecName, bool isEncoder, int32_t order, in setCodecProperties() argument
260 codecProperty.codecProp.isEncoder = isEncoder; in setCodecProperties()
271 void XMLParseTest::setRoleProperties(string roleName, bool isEncoder, int32_t order, in setRoleProperties() argument
278 roleProperty.isEncoder = isEncoder; in setRoleProperties()
294 bool isEncoder = properties.isEncoder; in printCodecMap() local
295 ALOGV("isEncoder = %d\n", isEncoder); in printCodecMap()
[all …]
/frameworks/av/media/ndk/fuzzer/
Dndk_sync_codec_fuzzer.cpp39 void invokekSyncCodecAPIs(bool isEncoder);
42 void NdkSyncCodecFuzzer::invokekSyncCodecAPIs(bool isEncoder) { in invokekSyncCodecAPIs() argument
51 (isEncoder ? AMEDIACODEC_CONFIGURE_FLAG_ENCODE : 0)); in invokekSyncCodecAPIs()
125 bool isEncoder = mFdp.ConsumeBool(); in invokeSyncCodeConfigAPI() local
126 mCodec = createCodec(isEncoder, mFdp.ConsumeBool() /* isCodecForClient */); in invokeSyncCodeConfigAPI()
128 invokekSyncCodecAPIs(isEncoder); in invokeSyncCodeConfigAPI()
DNdkMediaCodecFuzzerBase.h47 AMediaCodec* createCodec(bool isEncoder, bool isCodecForClient);
57 AMediaCodec* createAMediaCodecByname(bool isEncoder, bool isCodecForClient);
58 AMediaCodec* createAMediaCodecByType(bool isEncoder, bool isCodecForClient);
DNdkMediaCodecFuzzerBase.cpp223 AMediaCodec* NdkMediaCodecFuzzerBase::createAMediaCodecByname(bool isEncoder, in createAMediaCodecByname() argument
226 if (isEncoder) { in createAMediaCodecByname()
244 AMediaCodec* NdkMediaCodecFuzzerBase::createAMediaCodecByType(bool isEncoder, in createAMediaCodecByType() argument
259 return isEncoder ? AMediaCodec_createEncoderByTypeForClient(mime, pid, uid) in createAMediaCodecByType()
262 return isEncoder ? AMediaCodec_createEncoderByType(mime) in createAMediaCodecByType()
308 AMediaCodec* NdkMediaCodecFuzzerBase::createCodec(bool isEncoder, bool isCodecForClient) { in createCodec() argument
310 return (mFdp->ConsumeBool() ? createAMediaCodecByname(isEncoder, isCodecForClient) in createCodec()
311 : createAMediaCodecByType(isEncoder, isCodecForClient)); in createCodec()
Dndk_async_codec_fuzzer.cpp176 void invokekAsyncCodecAPIs(bool isEncoder);
306 void NdkAsyncCodecFuzzer::invokekAsyncCodecAPIs(bool isEncoder) { in invokekAsyncCodecAPIs() argument
315 (isEncoder ? AMEDIACODEC_CONFIGURE_FLAG_ENCODE : 0))) { in invokekAsyncCodecAPIs()
/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.cpp90 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat() argument
94 if (isEncoder) { in getMeasureFormat()
128 …bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &… in doProfileCodecs() argument
129 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps); in doProfileCodecs()
134 name.c_str(), mime.c_str(), isEncoder ? "encoder" : "decoder", in doProfileCodecs()
154 uint32_t flags = isEncoder ? MediaCodec::CONFIGURE_FLAG_ENCODE : 0; in doProfileCodecs()
241 size_t max = doProfileCodecs(info->isEncoder(), name, mediaTypes[i], caps); in profileCodecs()
252 if (info->isEncoder()) { in profileCodecs()
/frameworks/av/media/codec2/components/base/
DSimpleC2Interface.cpp130 bool isEncoder = kind == C2Component::KIND_ENCODER; in BaseParams() local
142 0u, isEncoder ? rawBufferType : codedBufferType)) in BaseParams()
148 isEncoder ? rawMediaType : mediaType)) in BaseParams()
154 0u, isEncoder ? codedBufferType : rawBufferType)) in BaseParams()
160 isEncoder ? mediaType : rawMediaType)) in BaseParams()
163 C2Allocator::id_t inputAllocators[1] = { isEncoder ? rawAllocator : codedAllocator }; in BaseParams()
164 C2Allocator::id_t outputAllocators[1] = { isEncoder ? codedAllocator : rawAllocator }; in BaseParams()
165 C2BlockPool::local_id_t outputPoolIds[1] = { isEncoder ? codedPoolId : rawPoolId }; in BaseParams()
/frameworks/av/media/libmedia/tests/codeclist/
DCodecListTest.cpp39 isEncoder = encoder; in CddReq()
43 bool isEncoder; member
78 ssize_t index = list->findCodecByType(codecReq.mediaType, codecReq.isEncoder); in TEST()
80 << (codecReq.isEncoder ? " encoder" : " decoder"); in TEST()
112 ASSERT_EQ(codecProperties.isEncoder, info->isEncoder()) << "Encoder property mismatch"; in TEST()
117 ALOGV("codec isEncoder: %d", info->isEncoder()); in TEST()
/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);
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecBase.java138 String[] features, boolean isEncoder, in selectCodecs() argument
145 if (isEncoder) { in selectCodecs()
146 if (!codecInfo.isEncoder()) continue; in selectCodecs()
148 if (codecInfo.isEncoder()) continue; in selectCodecs()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerMetrics.cpp90 static CodecBucket getCodecBucket(bool isEncoder, MediaResourceSubType codecType) { in getCodecBucket() argument
93 return isEncoder? HwAudioEncoder : HwAudioDecoder; in getCodecBucket()
95 return isEncoder? SwAudioEncoder : SwAudioDecoder; in getCodecBucket()
97 return isEncoder? HwVideoEncoder : HwVideoDecoder; in getCodecBucket()
99 return isEncoder? SwVideoEncoder : SwVideoDecoder; in getCodecBucket()
101 return isEncoder? HwImageEncoder : HwImageDecoder; in getCodecBucket()
103 return isEncoder? SwImageEncoder : SwImageDecoder; in getCodecBucket()
215 CodecBucket codecBucket = getCodecBucket(clientConfig.isEncoder, clientConfig.codecType); in notifyClientStarted()
249 clientConfig.isEncoder, in notifyClientStarted()
274 clientConfig.isEncoder? "encoder" : "decoder", in notifyClientStarted()
[all …]
/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/services/mediaresourcemanager/aidl/android/media/
DClientConfigParcel.aidl41 boolean isEncoder = false;
/frameworks/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/
DResourcePolicyTestActivity.java86 boolean isEncoder = false; in getTestCodecInfo()
90 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
/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/av/media/libstagefright/omx/1.0/
DOmxStore.cpp100 role.isEncoder = rolePair.second.isEncoder; in OmxStore()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp267 bool isEncoder = info.info->isEncoder(); in android_media_MediaCodecList_getCodecCapabilities() local
323 profileLevelArray, colorFormatsArray, isEncoder, in android_media_MediaCodecList_getCodecCapabilities()
/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.cpp1029 codecIt->second.isEncoder = encoder; in enterMediaCodec()
1638 bool isEncoder = codec.second.isEncoder; in generateRoleMap() local
1644 const char* roleName = GetComponentRole(isEncoder, typeName.data()); in generateRoleMap()
1647 isEncoder ? "an encoder" : "a decoder", in generateRoleMap()
1658 roleProperties.isEncoder = isEncoder; in generateRoleMap()
1674 if (roleIterator->second.isEncoder != isEncoder) { in generateRoleMap()
/frameworks/av/services/mediametrics/
Dstatsd_codec.cpp225 int32_t isEncoder = -1; in statsd_codec() local
226 if (item->getInt32("android.media.mediacodec.encoder", &isEncoder)) { in statsd_codec()
227 metrics_proto.set_encoder(isEncoder); in statsd_codec()
229 AStatsEvent_writeInt32(event, isEncoder); in statsd_codec()
821 << " encoder:" << isEncoder in statsd_codec()
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h189 inline bool isEncoder() const { in isEncoder() function

123