Home
last modified time | relevance | path

Searched refs:media_codec (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/media/base/android/
Dmedia_codec_bridge_unittest.cc112 VideoCodecBridge* media_codec, const uint8* data, size_t data_size, in DecodeMediaFrame() argument
121 media_codec->DequeueInputBuffer(InfiniteTimeOut(), &input_buf_index); in DecodeMediaFrame()
124 media_codec->QueueInputBuffer( in DecodeMediaFrame()
131 status = media_codec->DequeueOutputBuffer(InfiniteTimeOut(), in DecodeMediaFrame()
140 media_codec->ReleaseOutputBuffer(output_buf_index, false); in DecodeMediaFrame()
152 scoped_ptr<media::MediaCodecBridge> media_codec; in TEST() local
153 media_codec.reset(VideoCodecBridge::CreateDecoder( in TEST()
160 scoped_ptr<media::AudioCodecBridge> media_codec; in TEST() local
161 media_codec.reset(AudioCodecBridge::Create(kCodecMP3)); in TEST()
163 ASSERT_TRUE(media_codec->Start(kCodecMP3, 44100, 2, NULL, 0, false, NULL)); in TEST()
[all …]
Dmedia_codec_bridge.cc464 if (!media_codec()) in Start()
481 env, media_codec(), j_format.obj(), media_crypto, 0, play_audio)) { in Start()
596 Java_MediaCodecBridge_getOutputBuffer(env, media_codec(), index); in PlayOutputBuffer()
601 Java_MediaCodecBridge_playOutputBuffer(env, media_codec(), byte_array.obj()); in PlayOutputBuffer()
606 Java_MediaCodecBridge_setVolume(env, media_codec(), volume); in SetVolume()
639 if (!bridge->media_codec()) in CreateDecoder()
648 bridge->media_codec(), in CreateDecoder()
672 if (!bridge->media_codec()) in CreateEncoder()
687 bridge->media_codec(), in CreateEncoder()
705 Java_MediaCodecBridge_setVideoBitrate(env, media_codec(), bps); in SetVideoBitrate()
[all …]
Dmedia_codec_bridge.h192 jobject media_codec() { return j_media_codec_.obj(); } in media_codec() function