/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaCodecList.h | 43 virtual ssize_t findCodecByName(const char *name) const = 0;
|
H A D | IMediaExtractor.h | 65 virtual const char * name() = 0;
|
H A D | IMediaLogService.h | 31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
|
H A D | IOMX.h | 81 const char *name, const sp<IOMXObserver> &observer,
|
H A D | MediaCodecInfo.h | 167 * Return the name of the service that hosts the codec. This value is not 170 * Currently, this is the "instance name" of the IOmx service. 216 * Set the name of the codec. 218 * @param name The new name. 220 void setName(const char* name); 222 * Set the owner name of the codec. 224 * This "owner name" is the name of the `IOmx` instance that supports this 227 * @param owner The new owner name [all...] |
H A D | MediaProfiles.h | 107 * Returns the value for the given param name for the given camera at 110 * Supported param name are: 123 int getCamcorderProfileParamByName(const char *name, int cameraId, 143 * Returns the value for the given param name for the given video encoder 146 * Supported param name are: 156 int getVideoEncoderParamByName(const char *name, video_encoder codec) const; 164 * Returns the value for the given param name for the given audio encoder 167 * Supported param name are: 175 int getAudioEncoderParamByName(const char *name, audio_encoder codec) const; 343 const char* name; member in struct:android::MediaProfiles::NameToTagMap [all...] |
H A D | NdkWrapper.h | 63 bool getInt32(const char *name, int32_t *out) const; 64 bool getInt64(const char *name, int64_t *out) const; 65 bool getFloat(const char *name, float *out) const; 66 bool getDouble(const char *name, double *out) const; 67 bool getSize(const char *name, size_t *out) const; 68 bool getRect(const char *name, 70 bool getBuffer(const char *name, void** data, size_t *outsize) const; 71 bool getString(const char *name, AString *out) const; 73 void setInt32(const char* name, int32_t value); 74 void setInt64(const char* name, int64_ [all...] |
H A D | mediascanner.h | 114 status_t addStringTag(const char* name, const char* value); 119 virtual status_t handleStringTag(const char* name, const char* value) = 0;
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
H A D | WOmx.h | 66 char const* name,
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WOmx.cpp | 58 char const* name, 63 name, new TWOmxObserver(observer), 57 allocateNode( char const* name, sp<IOMXObserver> const& observer, sp<IOMXNode>* omxNode) argument
|
/frameworks/av/media/libmediaextractor/include/media/ |
H A D | MediaExtractor.h | 80 virtual const char * name() { return "<unspecified>"; } function in class:android::MediaExtractor 111 // a human readable name
|
/frameworks/av/media/libmediametrics/ |
H A D | MediaAnalyticsItem.cpp | 226 size_t MediaAnalyticsItem::findPropIndex(const char *name, size_t len) argument 234 if (memcmp(name, prop->mName, len) == 0) { 241 MediaAnalyticsItem::Prop *MediaAnalyticsItem::findProp(const char *name) { argument 242 size_t len = strlen(name); 243 size_t i = findPropIndex(name, len); 250 void MediaAnalyticsItem::Prop::setName(const char *name, size_t len) { argument 255 name, len); 256 memcpy ((void *)mName, name, len+1); 262 MediaAnalyticsItem::Prop *MediaAnalyticsItem::allocateProp(const char *name) { argument 263 size_t len = strlen(name); 285 removeProp(const char *name) argument 303 setInt32(MediaAnalyticsItem::Attr name, int32_t value) argument 312 setInt64(MediaAnalyticsItem::Attr name, int64_t value) argument 321 setDouble(MediaAnalyticsItem::Attr name, double value) argument 330 setCString(MediaAnalyticsItem::Attr name, const char *value) argument 341 setRate(MediaAnalyticsItem::Attr name, int64_t count, int64_t duration) argument 353 addInt32(MediaAnalyticsItem::Attr name, int32_t value) argument 370 addInt64(MediaAnalyticsItem::Attr name, int64_t value) argument 387 addRate(MediaAnalyticsItem::Attr name, int64_t count, int64_t duration) argument 406 addDouble(MediaAnalyticsItem::Attr name, double value) argument 424 getInt32(MediaAnalyticsItem::Attr name, int32_t *value) argument 435 getInt64(MediaAnalyticsItem::Attr name, int64_t *value) argument 446 getRate(MediaAnalyticsItem::Attr name, int64_t *count, int64_t *duration, double *rate) argument 467 getDouble(MediaAnalyticsItem::Attr name, double *value) argument 479 getCString(MediaAnalyticsItem::Attr name, char **value) argument 498 const char *name = attrs[i]; local 547 filter(MediaAnalyticsItem::Attr name) argument [all...] |
/frameworks/av/media/libmediametrics/include/ |
H A D | MediaAnalyticsItem.h | 230 void setName(const char *name, size_t len); 241 size_t findPropIndex(const char *name, size_t len); 242 Prop *findProp(const char *name); 243 Prop *allocateProp(const char *name); 244 bool removeProp(const char *name);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2Driver.cpp | 495 AString name; local 496 stats->findString("component-name", &name); 501 if (!name.empty()) { 502 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); 522 if (!name.empty()) { 523 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); 835 AString name; local 836 if (stats->findString("component-name", &name)) { [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 555 AString name; local 556 stats->findString("component-name", &name); 561 if (!name.empty()) { 562 mAnalyticsItem->setCString(kPlayerVCodec, name.c_str()); 582 if (!name.empty()) { 583 mAnalyticsItem->setCString(kPlayerACodec, name.c_str()); 912 AString name; local 913 if (stats->findString("component-name", &name)) { [all...] |
/frameworks/av/media/libnblog/ |
H A D | NBLog.cpp | 310 // caching pid and process name 314 if (status) { // error getting process name 911 char * name = &((char*) data)[sizeof(pid_t)]; local 912 body->appendFormat("<PID: %d, name: %.*s>", id, (int) (length - sizeof(pid_t)), name); 1107 const char* name = mNamedReaders[author].name(); local 1108 body->appendFormat("%s: ", name);
|
/frameworks/av/media/libnblog/include/media/nblog/ |
H A D | NBLog.h | 56 EVENT_PID, // process ID and process name 61 EVENT_HASH, // unique HASH of log origin, originates from hash of file name 374 // cached pid and process name to use in %p format specifier 375 // total tag length is mPidTagSize and process name is not zero terminated 487 // Wrapper for a reader with a name. Contains a pointer to the reader and a pointer to the name 491 NamedReader(const sp<NBLog::Reader>& reader, const char *name) : argument 493 { strlcpy(mName, name, sizeof(mName)); } 496 const char* name() const { return mName; } function in class:android::NBLog::NamedReader 555 // handle author entry by looking up the author's name an [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 7391 // Removes trailing tags matching |tag| from |key| (e.g. a settings name). |minLength| specifies 7540 std::map<std::string, std::string> vendorKeys; // maps reduced name to actual name 7543 // longest possible vendor param name 7594 config->cName[sizeof(config->cName) - 1] = '\0'; // null-terminate name 7705 config->cName[sizeof(config->cName) - 1] = '\0'; // null-terminate name 8295 const char* owner, const char* name, const char* mime, bool isEncoder, 8312 err = omx->allocateNode(name, observer, &omxNode); 8356 name, index, 8386 name, inde 8294 queryCapabilities( const char* owner, const char* name, const char* mime, bool isEncoder, MediaCodecInfo::CapabilitiesWriter* caps) argument [all...] |
H A D | MediaCodec.cpp | 153 AString name; local 154 if (codec->getName(&name) == OK) { 155 ret.setTo(name.c_str()); 470 const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) { 473 const status_t ret = codec->init(name); 863 sp<CodecBase> MediaCodec::GetCodecBase(const AString &name) { argument 864 if (name.startsWithIgnoreCase("c2.")) { 866 } else if (name.startsWithIgnoreCase("omx.")) { 869 } else if (name.startsWithIgnoreCase("android.filter.")) { 876 status_t MediaCodec::init(const AString &name) { argument 469 CreateByComponentName( const sp<ALooper> &looper, const AString &name, status_t *err, pid_t pid, uid_t uid) argument 2322 AString name; local [all...] |
H A D | MediaCodecList.cpp | 274 ssize_t MediaCodecList::findCodecByName(const char *name) const { 276 if (strcmp(mCodecInfos[i]->getCodecName(), name) == 0) {
|
H A D | MediaCodecListOverrides.cpp | 129 bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { 135 name.c_str(), mime.c_str(), isEncoder ? "encoder" : "decoder", 148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err); 150 ALOGV("Failed to create codec: %s", name.c_str()); 159 ALOGV("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str()); 166 ALOGV("Failed to start codec: %s with mime: %s", name.c_str(), mime.c_str()); 174 ALOGV("doProfileCodecs release %s", name.c_str()); 177 ALOGE("Failed to release codec: %s with mime: %s", name.c_str(), mime.c_str()); 224 AString name = info->getCodecName(); local 225 if (name 128 doProfileCodecs( bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) argument 285 AString name; local [all...] |
H A D | MediaCodecSource.cpp | 500 AString name; local 502 if (mOutputFormat->findString("testing-name", &name)) { 503 mEncoder = MediaCodec::CreateByComponentName(mCodecLooper, name);
|
H A D | MediaExtractorFactory.cpp | 93 ret != nullptr ? ret->name() : "<null>", confidence); 175 // sanity check check struct version, uuid, name 186 ALOGE("extractors should have a name, ignoring"); 230 ZipString name; local 231 while (Next(cookie, &entry, &name) == 0) { 233 String8(reinterpret_cast<const char*>(name.name), name.name_length);
|
H A D | MediaSync.cpp | 341 void MediaSync::setName(const AString &name) { argument 343 mInput->setConsumerName(String8(name.c_str()));
|
H A D | OMXClient.cpp | 43 status_t OMXClient::connect(const char* name) { argument 45 if (name == nullptr) { 46 name = "default"; 48 sp<IOmx> tOmx = IOmx::getService(name);
|