Home
last modified time | relevance | path

Searched refs:kMimeType (Results 1 – 6 of 6) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/
DImsMediaAudioPlayer.cpp119 char kMimeType[128] = {'\0'}; in Start() local
123 sprintf(kMimeType, "audio/3gpp"); in Start()
127 sprintf(kMimeType, "audio/amr-wb"); in Start()
132 sprintf(kMimeType, "audio/evs"); in Start()
147 IMLOGD1("[Start] Creating codec[%s]", kMimeType); in Start()
152 AMediaFormat_setString(mFormat, AMEDIAFORMAT_KEY_MIME, kMimeType); in Start()
156 mCodec = AMediaCodec_createDecoderByType(kMimeType); in Start()
160 IMLOGE1("[Start] unable to create %s codec instance", kMimeType); in Start()
171 IMLOGE2("[Start] unable to configure[%s] codec - err[%d]", kMimeType, codecResult); in Start()
DImsMediaAudioSource.cpp415 char kMimeType[128] = {'\0'}; in startCodec() local
423 sprintf(kMimeType, "audio/3gpp"); in startCodec()
427 sprintf(kMimeType, "audio/amr-wb"); in startCodec()
432 sprintf(kMimeType, "audio/evs"); in startCodec()
438 IMLOGD1("[startCodec] codec type[%s]", kMimeType); in startCodec()
443 AMediaFormat_setString(mFormat, AMEDIAFORMAT_KEY_MIME, kMimeType); in startCodec()
448 mCodec = AMediaCodec_createEncoderByType(kMimeType); in startCodec()
452 IMLOGE1("[startCodec] unable to create %s codec instance", kMimeType); in startCodec()
464 IMLOGE2("[startCodec] unable to configure[%s] codec - err[%d]", kMimeType, codecResult); in startCodec()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/
DImsMediaVideoRenderer.cpp87 char kMimeType[128] = {'\0'}; in Start() local
88 sprintf(kMimeType, "video/avc"); in Start()
92 sprintf(kMimeType, "video/hevc"); in Start()
95 AMediaFormat_setString(mFormat, AMEDIAFORMAT_KEY_MIME, kMimeType); in Start()
101 mCodec = AMediaCodec_createDecoderByType(kMimeType); in Start()
DImsMediaVideoSource.cpp173 char kMimeType[128] = {'\0'}; in Start() local
174 sprintf(kMimeType, "video/avc"); in Start()
178 sprintf(kMimeType, "video/hevc"); in Start()
181 AMediaFormat_setString(mFormat, AMEDIAFORMAT_KEY_MIME, kMimeType); in Start()
194 mCodec = AMediaCodec_createEncoderByType(kMimeType); in Start()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DImsMediaVideoUtil.cpp721 char kMimeType[128] = {'\0'}; in GenerateVideoSprop() local
722 sprintf(kMimeType, "video/avc"); in GenerateVideoSprop()
725 sprintf(kMimeType, "video/hevc"); in GenerateVideoSprop()
728 IMLOGD1("[GenerateVideoSprop] MimeType[%s]", kMimeType); in GenerateVideoSprop()
736 AMediaFormat_setString(pFormat, AMEDIAFORMAT_KEY_MIME, kMimeType); in GenerateVideoSprop()
750 AMediaCodec* pCodec = AMediaCodec_createEncoderByType(kMimeType); in GenerateVideoSprop()
753 IMLOGE1("[GenerateVideoSprop] Unable to create encoder. MimeType[%s]", kMimeType); in GenerateVideoSprop()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DVideoConfigTest.cpp57 const char* kMimeType = "video/avc"; variable