/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioCodec.cpp | 44 AudioCodec *codec = type->create(); local 45 codec->name = type->name; 46 return codec;
|
H A D | AudioGroup.cpp | 100 AudioCodec *codec, int sampleRate, int sampleCount, 166 AudioCodec *codec, int sampleRate, int sampleCount, 202 if (codec) { 204 mCodec = codec; 222 (codec ? codec->name : "RAW"), mSampleRate, mInterval, mMode); 937 AudioCodec *codec = NULL; local 963 // Create audio codec. 968 codec = newAudioCodec(codecName); 969 int sampleCount = (codec 165 set(int mode, int socket, sockaddr_storage *remote, AudioCodec *codec, int sampleRate, int sampleCount, int codecType, int dtmfType) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodecList.java | 23 * find a codec supporting a given format and query the capabilities 24 * of a given codec. 50 /* package private */ static native final int findCodecByName(String codec); argument
|
H A D | EncoderCapabilities.java | 53 private VideoEncoderCap(int codec, argument 58 mCodec = codec; 89 private AudioEncoderCap(int codec, argument 93 mCodec = codec;
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioStream.java | 115 * @param codec The AudioCodec to be used. 119 public void setCodec(AudioCodec codec) { argument 123 if (codec.type == mDtmfType) { 126 mCodec = codec; 149 * @throws IllegalArgumentException if the type is invalid or used by codec. 162 throw new IllegalArgumentException("The type is used by codec");
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftOMXPlugin.cpp | 107 sp<SoftOMXComponent> codec = local 110 if (codec == NULL) { 117 OMX_ERRORTYPE err = codec->initCheck(); 125 codec->incStrong(this); 126 codec->setLibHandle(libHandle);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | VideoEditorProfile.java | 66 * Returns the supported profile by given video codec 78 throw new IllegalArgumentException("Unsupported video codec" + vidCodec); 85 * Returns the supported level by given video codec 97 throw new IllegalArgumentException("Unsupported video codec" + vidCodec); 119 private static native final int native_get_videoeditor_export_profile(int codec); argument
|
H A D | MediaArtistNativeHelper.java | 2063 * Sets the export audio codec 2065 * @param export audio codec 2068 void setAudioCodec(int codec) { argument 2069 mExportAudioCodec = codec; 2072 * Sets the export video codec 2074 * @param export video codec 2077 void setVideoCodec(int codec) { argument 2078 mExportVideoCodec = codec; 3255 * Maps the video codec type used in native layer 3256 * to video codec typ [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaProfileReader.java | 97 public static int getMinFrameRateForCodec(int codec) { argument 98 return getMinOrMaxFrameRateForCodec(codec, false); 101 public static int getMaxFrameRateForCodec(int codec) { argument 102 return getMinOrMaxFrameRateForCodec(codec, true); 105 private static int getMinOrMaxFrameRateForCodec(int codec, boolean max) { argument 107 if (cap.mCodec == codec) { 113 throw new IllegalArgumentException("Unsupported video codec " + codec);
|
/frameworks/av/cmds/stagefright/ |
H A D | codec.cpp | 18 #define LOG_TAG "codec" 141 sp<MediaCodec> codec = state->mCodec; local 143 CHECK_EQ((status_t)OK, codec->start()); 145 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); 146 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers));
|
H A D | recordvideo.cpp | 45 fprintf(stderr, " -v video codec: [0] AVC [1] M4V [2] H263 (default: 0)\n"); 46 fprintf(stderr, " -s(oftware) prefer software codec\n"); 164 int codec = 0; local 231 codec = atoi(optarg); 232 if (codec < 0 || codec > 2) { 267 switch (codec) {
|
/frameworks/wilhelm/tests/examples/ |
H A D | xaVideoDecoderCapabilities.cpp | 52 sprintf(unknown, "Video codec %d unknown to OpenMAX AL", decoderId); 95 // Map a video codec and profile to string 97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { argument 155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0])); 158 // Map a video codec and level to string 160 const char* videoLevelToString(XAuint32 codec, XAuint32 level) { argument 219 return id_pair_to_string(codec, level, table, sizeof(table) / sizeof(table[0]));
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4DECODER_Common.h | 236 M4_StreamType codec; member in struct:__anon140
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 594 sp<MediaSource> codec = OMXCodec::Create( local 598 CHECK(codec != NULL); 600 CHECK_EQ(codec->start(), (status_t)OK); 664 err = codec->read(&buffer, &options); 723 CHECK_EQ(codec->stop(), (status_t)OK); 733 CHECK_EQ(codec->stop(), (status_t)OK);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 161 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); local 162 codec->setDitherImage(false); 163 if (codec) { 164 codec->decode(&stream, &bitmap, 167 delete codec;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 184 int videoCodec = sProfiles->getCamcorderProfileParamByName("vid.codec", id, q); 189 int audioCodec = sProfiles->getCamcorderProfileParamByName("aud.codec", id, q); 333 JNIEnv *env, jobject thiz, jint codec) 337 profile = sProfiles->getVideoEditorExportParamByName("videoeditor.export.profile", codec); 349 JNIEnv *env, jobject thiz, jint codec) 353 level = sProfiles->getVideoEditorExportParamByName("videoeditor.export.level", codec); 332 android_media_MediaProfiles_native_get_videoeditor_export_profile( JNIEnv *env, jobject thiz, jint codec) argument 348 android_media_MediaProfiles_native_get_videoeditor_export_level( JNIEnv *env, jobject thiz, jint codec) argument
|
H A D | android_media_MediaCodec.cpp | 314 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) { 316 if (codec != NULL) { 317 codec->incStrong(thiz); 322 env->SetIntField(thiz, gFields.context, (int)codec.get()); 390 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 392 if (codec == NULL) { 424 err = codec->configure(format, bufferProducer, crypto, flags); 433 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 434 if (codec == NULL) { 441 status_t err = codec 313 setMediaCodec( JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) argument 455 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 470 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 485 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 507 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 533 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 665 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 686 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 708 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 724 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 739 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 762 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 788 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 809 sp<JMediaCodec> codec = getMediaCodec(env, thiz); local 871 sp<JMediaCodec> codec = new JMediaCodec(env, thiz, tmp, nameIsType, encoder); local [all...] |
/frameworks/av/include/media/ |
H A D | MediaProfiles.h | 94 * vid.codec - video encoder. see mediarecorder.h for details. 95 * aud.codec - audio encoder. see mediarecorder.h for details. 137 int getVideoEncoderParamByName(const char *name, video_encoder codec) const; 153 * Returns the value for the given param name for the video editor export codec format 158 * Supported param codec are: 163 int getVideoEditorExportParamByName(const char *name, int codec) const; 182 int getAudioEncoderParamByName(const char *name, audio_encoder codec) const; 217 VideoCodec(video_encoder codec, int bitRate, int frameWidth, int frameHeight, int frameRate) argument 218 : mCodec(codec), 242 AudioCodec(audio_encoder codec, in argument 296 VideoEncoderCap(video_encoder codec, int minBitRate, int maxBitRate, int minFrameWidth, int maxFrameWidth, int minFrameHeight, int maxFrameHeight, int minFrameRate, int maxFrameRate) argument 318 AudioEncoderCap(audio_encoder codec, int minBitRate, int maxBitRate, int minSampleRate, int maxSampleRate, int minChannels, int maxChannels) argument 336 VideoDecoderCap(video_decoder codec) argument 343 AudioDecoderCap(audio_decoder codec) argument 359 ExportVideoProfile(int codec, int profile, int level) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaProfiles.cpp | 85 MediaProfiles::logVideoCodec(const MediaProfiles::VideoCodec& codec) argument 87 ALOGV("video codec:"); 88 ALOGV("codec = %d", codec.mCodec); 89 ALOGV("bit rate: %d", codec.mBitRate); 90 ALOGV("frame width: %d", codec.mFrameWidth); 91 ALOGV("frame height: %d", codec.mFrameHeight); 92 ALOGV("frame rate: %d", codec.mFrameRate); 96 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec) argument 98 ALOGV("audio codec 173 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); local 195 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); local 215 const int codec = findTagForName(sAudioDecoderNameMap, nMappings, atts[1]); local 231 const int codec = findTagForName(sVideoDecoderNameMap, nMappings, atts[1]); local 255 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); local 279 const int codec = findTagForName(sAudioEncoderNameMap, nMappings, atts[1]); local 394 const int codec = findTagForName(sVideoEncoderNameMap, nMappings, atts[1]); local 514 VideoCodec *codec = NULL; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 46 sp<MediaCodec> codec = new MediaCodec(looper); local 47 if (codec->init(mime, true /* nameIsType */, encoder) != OK) { 51 return codec; 57 sp<MediaCodec> codec = new MediaCodec(looper); local 58 if (codec->init(name, false /* nameIsType */, false /* encoder */) != OK) { 62 return codec; 717 ALOGV("codec output format changed"); 750 // collect codec specific data and amend the output 775 // If codec specific data had been specified as 829 // the one piece of codec specifi [all...] |
H A D | ACodec.cpp | 127 BaseState(ACodec *codec, const sp<AState> &parentState = NULL); 188 UninitializedState(ACodec *codec); 206 LoadedState(ACodec *codec); 226 LoadedToIdleState(ACodec *codec); 242 IdleToExecutingState(ACodec *codec); 256 ExecutingState(ACodec *codec); 283 OutputPortSettingsChangedState(ACodec *codec); 299 ExecutingToIdleState(ACodec *codec); 321 IdleToLoadedState(ACodec *codec); 336 FlushingState(ACodec *codec); 2613 BaseState(ACodec *codec, const sp<AState> &parentState) argument 3206 UninitializedState(ACodec *codec) argument 3396 LoadedState(ACodec *codec) argument 3564 LoadedToIdleState(ACodec *codec) argument 3651 IdleToExecutingState(ACodec *codec) argument 3715 ExecutingState(ACodec *codec) argument 3946 OutputPortSettingsChangedState( ACodec *codec) argument 4058 ExecutingToIdleState(ACodec *codec) argument 4162 IdleToLoadedState(ACodec *codec) argument 4218 FlushingState(ACodec *codec) argument [all...] |
H A D | OMXCodec.cpp | 107 sp<OMXCodec> codec = mTarget.promote(); local 109 if (codec.get() != NULL) { 110 Mutex::Autolock autoLock(codec->mLock); 111 codec->on_message(msg); 112 codec.clear(); 207 // If a specific codec is requested, skip the non-matching ones. 327 ALOGV("Successfully allocated software codec '%s'", componentName); 354 sp<OMXCodec> codec = new OMXCodec( local 359 observer->setCodec(codec); 361 err = codec [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 502 M4OSA_Int32 codec = 0; local 511 codec = M4DA_StreamTypeVideoH263; 514 codec = M4DA_StreamTypeVideoMpeg4Avc; 517 codec = M4DA_StreamTypeVideoMpeg4; 533 if (pVideoDecoder->codec == codec) {
|