/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | CodecUtils.java | 18 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/ |
D | XMLParserTest.cpp | 43 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/ |
D | ndk_sync_codec_fuzzer.cpp | 39 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()
|
D | NdkMediaCodecFuzzerBase.h | 47 AMediaCodec* createCodec(bool isEncoder, bool isCodecForClient); 57 AMediaCodec* createAMediaCodecByname(bool isEncoder, bool isCodecForClient); 58 AMediaCodec* createAMediaCodecByType(bool isEncoder, bool isCodecForClient);
|
D | NdkMediaCodecFuzzerBase.cpp | 223 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()
|
D | ndk_async_codec_fuzzer.cpp | 176 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/ |
D | OmxInfoBuilder.cpp | 60 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()
|
D | MediaCodecListOverrides.cpp | 90 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/ |
D | SimpleC2Interface.cpp | 130 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/ |
D | CodecListTest.cpp | 39 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/ |
D | BenchmarkCommon.cpp | 67 bool isEncoder) { in createMediaCodec() argument 82 if (isEncoder) { in createMediaCodec() 97 media_status_t status = AMediaCodec_configure(codec, format, nullptr, nullptr, isEncoder); in createMediaCodec()
|
D | BenchmarkC2Common.cpp | 53 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()
|
D | BenchmarkCommon.h | 133 bool isEncoder);
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MediaCodecBase.java | 138 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/ |
D | ResourceManagerMetrics.cpp | 90 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/ |
D | MediaCodecsXmlParser.h | 65 bool isEncoder; ///< Whether this codec is an encoder or a decoder member 92 bool isEncoder; member
|
/frameworks/av/services/mediaresourcemanager/aidl/android/media/ |
D | ClientConfigParcel.aidl | 41 boolean isEncoder = false;
|
/frameworks/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/ |
D | ResourcePolicyTestActivity.java | 86 boolean isEncoder = false; in getTestCodecInfo() 90 if (info.isEncoder() != isEncoder) { in getTestCodecInfo()
|
/frameworks/av/media/libmedia/ |
D | IMediaCodecList.cpp | 164 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/ |
D | OmxStore.cpp | 100 role.isEncoder = rolePair.second.isEncoder; in OmxStore()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 267 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/ |
D | OMXUtils.h | 41 const char *GetComponentRole(bool isEncoder, const char *mime);
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 1029 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/ |
D | statsd_codec.cpp | 225 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/ |
D | MediaCodecInfo.h | 189 inline bool isEncoder() const { in isEncoder() function
|