Lines Matching refs:name

410 bool AMediaFormatWrapper::getInt32(const char *name, int32_t *out) const {
414 return AMediaFormat_getInt32(mAMediaFormat, name, out);
417 bool AMediaFormatWrapper::getInt64(const char *name, int64_t *out) const {
421 return AMediaFormat_getInt64(mAMediaFormat, name, out);
424 bool AMediaFormatWrapper::getFloat(const char *name, float *out) const {
428 return AMediaFormat_getFloat(mAMediaFormat, name, out);
431 bool AMediaFormatWrapper::getDouble(const char *name, double *out) const {
435 return AMediaFormat_getDouble(mAMediaFormat, name, out);
438 bool AMediaFormatWrapper::getSize(const char *name, size_t *out) const {
442 return AMediaFormat_getSize(mAMediaFormat, name, out);
446 const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
450 return AMediaFormat_getRect(mAMediaFormat, name, left, top, right, bottom);
453 bool AMediaFormatWrapper::getBuffer(const char *name, void** data, size_t *outSize) const {
457 return AMediaFormat_getBuffer(mAMediaFormat, name, data, outSize);
460 bool AMediaFormatWrapper::getString(const char *name, AString *out) const {
465 bool ret = AMediaFormat_getString(mAMediaFormat, name, &outChar);
472 void AMediaFormatWrapper::setInt32(const char* name, int32_t value) {
474 AMediaFormat_setInt32(mAMediaFormat, name, value);
478 void AMediaFormatWrapper::setInt64(const char* name, int64_t value) {
480 AMediaFormat_setInt64(mAMediaFormat, name, value);
484 void AMediaFormatWrapper::setFloat(const char* name, float value) {
486 AMediaFormat_setFloat(mAMediaFormat, name, value);
490 void AMediaFormatWrapper::setDouble(const char* name, double value) {
492 AMediaFormat_setDouble(mAMediaFormat, name, value);
496 void AMediaFormatWrapper::setSize(const char* name, size_t value) {
498 AMediaFormat_setSize(mAMediaFormat, name, value);
503 const char* name, int32_t left, int32_t top, int32_t right, int32_t bottom) {
505 AMediaFormat_setRect(mAMediaFormat, name, left, top, right, bottom);
509 void AMediaFormatWrapper::setString(const char* name, const AString &value) {
511 AMediaFormat_setString(mAMediaFormat, name, value.c_str());
515 void AMediaFormatWrapper::setBuffer(const char* name, void* data, size_t size) {
517 AMediaFormat_setBuffer(mAMediaFormat, name, data, size);
793 sp<AMediaCodecWrapper> AMediaCodecWrapper::CreateCodecByName(const AString &name) {
794 AMediaCodec *aMediaCodec = AMediaCodec_createCodecByName(name.c_str());
895 char *name = NULL;
896 media_status_t err = AMediaCodec_getName(mAMediaCodec, &name);
901 *outComponentName = AString(name);
902 AMediaCodec_releaseName(mAMediaCodec, name);