Lines Matching refs:codec

100 MediaProfiles::logVideoCodec(const MediaProfiles::VideoCodec& codec UNUSED)  in logVideoCodec()
103 ALOGV("codec = %d", codec.mCodec); in logVideoCodec()
104 ALOGV("bit rate: %d", codec.mBitRate); in logVideoCodec()
105 ALOGV("frame width: %d", codec.mFrameWidth); in logVideoCodec()
106 ALOGV("frame height: %d", codec.mFrameHeight); in logVideoCodec()
107 ALOGV("frame rate: %d", codec.mFrameRate); in logVideoCodec()
111 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
114 ALOGV("codec = %d", codec.mCodec); in logAudioCodec()
115 ALOGV("bit rate: %d", codec.mBitRate); in logAudioCodec()
116 ALOGV("sample rate: %d", codec.mSampleRate); in logAudioCodec()
117 ALOGV("number of channels: %d", codec.mChannels); in logAudioCodec()
179 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); in createVideoCodec() local
180 CHECK(codec != -1); in createVideoCodec()
183 new MediaProfiles::VideoCodec(static_cast<video_encoder>(codec), in createVideoCodec()
201 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); in createAudioCodec() local
202 CHECK(codec != -1); in createAudioCodec()
205 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
221 const int codec = findTagForName(sAudioDecoderNameMap, nMappings, atts[1]); in createAudioDecoderCap() local
222 CHECK(codec != -1); in createAudioDecoderCap()
225 new MediaProfiles::AudioDecoderCap(static_cast<audio_decoder>(codec)); in createAudioDecoderCap()
237 const int codec = findTagForName(sVideoDecoderNameMap, nMappings, atts[1]); in createVideoDecoderCap() local
238 CHECK(codec != -1); in createVideoDecoderCap()
241 new MediaProfiles::VideoDecoderCap(static_cast<video_decoder>(codec)); in createVideoDecoderCap()
261 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); in createVideoEncoderCap() local
262 CHECK(codec != -1); in createVideoEncoderCap()
265 new MediaProfiles::VideoEncoderCap(static_cast<video_encoder>(codec), in createVideoEncoderCap()
285 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); in createAudioEncoderCap() local
286 CHECK(codec != -1); in createAudioEncoderCap()
289 new MediaProfiles::AudioEncoderCap(static_cast<audio_encoder>(codec), atoi(atts[5]), in createAudioEncoderCap()
907 int MediaProfiles::getVideoEncoderParamByName(const char *name, video_encoder codec) const in getVideoEncoderParamByName()
909 ALOGV("getVideoEncoderParamByName: %s for codec %d", name, codec); in getVideoEncoderParamByName()
912 if (mVideoEncoders[i]->mCodec == codec) { in getVideoEncoderParamByName()
918 ALOGE("The given video encoder %d is not found", codec); in getVideoEncoderParamByName()
944 int MediaProfiles::getAudioEncoderParamByName(const char *name, audio_encoder codec) const in getAudioEncoderParamByName()
946 ALOGV("getAudioEncoderParamByName: %s for codec %d", name, codec); in getAudioEncoderParamByName()
949 if (mAudioEncoders[i]->mCodec == codec) { in getAudioEncoderParamByName()
955 ALOGE("The given audio encoder %d is not found", codec); in getAudioEncoderParamByName()