Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
DTestBenchMultipleInstance.c72 Decoder **decoder; in main() local
136 decoder = (Decoder **)malloc(sizeof(Decoder*)*(u32)instCount); in main()
137 if (decoder == NULL) in main()
146 decoder[i] = (Decoder *)calloc(1, sizeof(Decoder)); in main()
162 decoder[i]->byteStrmStart = (u8 *)malloc(sizeof(u8)*strmLen); in main()
163 if (decoder[i]->byteStrmStart == NULL) in main()
168 fread(decoder[i]->byteStrmStart, sizeof(u8), strmLen, finput); in main()
175 decoder[i]->foutput = NULL; in main()
177 sprintf(decoder[i]->outFileName, "%s%i", outFileName, i); in main()
178 decoder[i]->foutput = fopen(decoder[i]->outFileName, "wb"); in main()
[all …]
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp181 sp<MediaSource> decoder = SimpleDecodingSource::Create( in main() local
183 CHECK(decoder != NULL); in main()
185 CHECK_EQ(decoder->start(), (status_t)OK); in main()
189 status_t err = decoder->read(&buffer); in main()
194 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); in main()
195 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); in main()
218 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp131 sp<IMediaSource> decoder = SimpleDecodingSource::Create(encoder); in main() local
135 player->setSource(decoder); in main()
139 decoder.clear(); // must clear |decoder| otherwise delete player will hang. in main()
142 CHECK_EQ(decoder->start(), (status_t)OK); in main()
144 while (decoder->read(&buffer) == OK) { in main()
152 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
Drecord.cpp199 sp<MediaSource> decoder = SimpleDecodingSource::Create(source);
208 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
225 MediaCodecSource::Create(looper, format, decoder);
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp164 sp<MediaCodec> decoder = MediaCodec::CreateByComponentName( in extractVideoFrame() local
167 if (decoder.get() == NULL || err != OK) { in extractVideoFrame()
172 err = decoder->configure(videoFormat, NULL /* surface */, NULL /* crypto */, 0 /* flags */); in extractVideoFrame()
175 decoder->release(); in extractVideoFrame()
179 err = decoder->start(); in extractVideoFrame()
182 decoder->release(); in extractVideoFrame()
191 decoder->release(); in extractVideoFrame()
213 decoder->release(); in extractVideoFrame()
218 err = decoder->getInputBuffers(&inputBuffers); in extractVideoFrame()
221 decoder->release(); in extractVideoFrame()
[all …]
DFLACExtractor.cpp171 const FLAC__StreamDecoder *decoder,
175 const FLAC__StreamDecoder *decoder,
179 const FLAC__StreamDecoder *decoder,
183 const FLAC__StreamDecoder *decoder,
187 const FLAC__StreamDecoder *decoder,
190 const FLAC__StreamDecoder *decoder,
194 const FLAC__StreamDecoder *decoder,
198 const FLAC__StreamDecoder *decoder,
/frameworks/base/graphics/java/android/graphics/
DBitmapRegionDecoder.java145 BitmapRegionDecoder decoder = null; in newInstance() local
150 decoder = newInstance(stream, isShareable); in newInstance()
160 return decoder; in newInstance()
168 private BitmapRegionDecoder(long decoder) { in BitmapRegionDecoder() argument
169 mNativeBitmapRegionDecoder = decoder; in BitmapRegionDecoder()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java17 package androidx.media.filterfw.decoder;
404 public void onDecodedOutputAvailable(TrackDecoder decoder) { in onDecodedOutputAvailable() argument
405 if (decoder == mVideoTrackDecoder) { in onDecodedOutputAvailable()
407 } else if (decoder == mAudioTrackDecoder) { in onDecodedOutputAvailable()
413 public void onEndOfStream(TrackDecoder decoder) { in onEndOfStream() argument
414 if (decoder == mAudioTrackDecoder) { in onEndOfStream()
416 } else if (decoder == mVideoTrackDecoder) { in onEndOfStream()
DTrackDecoder.java17 package androidx.media.filterfw.decoder;
32 void onDecodedOutputAvailable(TrackDecoder decoder); in onDecodedOutputAvailable() argument
34 void onEndOfStream(TrackDecoder decoder); in onEndOfStream() argument
DAudioSample.java17 package androidx.media.filterfw.decoder;
DDecoderUtil.java17 package androidx.media.filterfw.decoder;
DVideoTrackDecoder.java16 package androidx.media.filterfw.decoder;
/frameworks/base/core/java/android/util/
DBase64.java158 Decoder decoder = new Decoder(flags, new byte[len*3/4]); in decode() local
160 if (!decoder.process(input, offset, len, true)) { in decode()
165 if (decoder.op == decoder.output.length) { in decode()
166 return decoder.output; in decode()
171 byte[] temp = new byte[decoder.op]; in decode()
172 System.arraycopy(decoder.output, 0, temp, 0, decoder.op); in decode()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java61 for (AudioDecoder decoder: audioDecoders) { in getWMAEnable()
62 if (decoder == AudioDecoder.AUDIO_DECODER_WMA) { in getWMAEnable()
70 for (VideoDecoder decoder: videoDecoders) { in getWMVEnable()
71 if (decoder == VideoDecoder.VIDEO_DECODER_WMV) { in getWMVEnable()
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java59 private CharsetDecoder decoder; field in LoggingPrintStream
121 if (decoder == null) { in write()
124 decoder = Charset.defaultCharset().newDecoder() in write()
141 coderResult = decoder.decode(encodedBytes, decodedChars, false); in write()
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp279 XAuint32 decoder = decoderIds[i]; in TestVideoDecoderCapabilities() local
280 res = (*decItf)->GetVideoDecoderCapabilities(decItf, decoder, &pl, &decDescriptor); in TestVideoDecoderCapabilities()
286 printf("(%s/%s) ", videoProfileToString(decoder, profile), in TestVideoDecoderCapabilities()
287 videoLevelToString(decoder, level)); in TestVideoDecoderCapabilities()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
DAndroid.mk50 libfwdlock-decoder
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \
/frameworks/wilhelm/src/android/
DAudioPlayer_to_android.cpp1627 android::AudioToCbRenderer* decoder = new android::AudioToCbRenderer(&app); in android_audioPlayer_realize() local
1628 pAudioPlayer->mAPlayer = decoder; in android_audioPlayer_realize()
1630 decoder->setDataPushListener(adecoder_writeToBufferQueue, pAudioPlayer); in android_audioPlayer_realize()
1632 decoder->init(sfplayer_handlePrefetchEvent, (void*)pAudioPlayer); in android_audioPlayer_realize()
1636 decoder->setDataSource( in android_audioPlayer_realize()
1641 decoder->setDataSource( in android_audioPlayer_realize()
1846 android::AudioSfDecoder* decoder = in android_audioPlayer_metadata_getItemCount() local
1848 *pItemCount = decoder->getPcmFormatKeyCount(); in android_audioPlayer_metadata_getItemCount()
1874 android::AudioSfDecoder* decoder = in android_audioPlayer_metadata_getKeySize() local
1877 if (!decoder->getPcmFormatKeySize(index, &keyNameSize)) { in android_audioPlayer_metadata_getKeySize()
[all …]
/frameworks/base/media/java/android/media/
DMediaFile.java163 AudioDecoder decoder = decoders.get(i); in isWMAEnabled() local
164 if (decoder == AudioDecoder.AUDIO_DECODER_WMA) { in isWMAEnabled()
175 VideoDecoder decoder = decoders.get(i); in isWMVEnabled() local
176 if (decoder == VideoDecoder.VIDEO_DECODER_WMV) { in isWMVEnabled()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DAndroid.mk28 LOCAL_MODULE := libfwdlock-decoder
/frameworks/base/wifi/java/android/net/wifi/
DWifiSsid.java171 CharsetDecoder decoder = charset.newDecoder() in toString() local
176 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); in toString()
/frameworks/av/media/libstagefright/codecs/avcdec/
DAndroid.mk12 LOCAL_C_INCLUDES := $(TOP)/external/libavc/decoder
/frameworks/av/media/libstagefright/codecs/hevcdec/
DAndroid.mk12 LOCAL_C_INCLUDES := $(TOP)/external/libhevc/decoder
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DAndroid.mk12 LOCAL_C_INCLUDES := $(TOP)/external/libmpeg2/decoder
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1576 bool audio, sp<DecoderBase> *decoder, bool checkAudioModeChange) { in instantiateDecoder() argument
1579 if (*decoder != NULL || (audio && mFlushingAudio == SHUT_DOWN)) { in instantiateDecoder()
1632 *decoder = new DecoderPassThrough(notify, mSource, mRenderer); in instantiateDecoder()
1636 *decoder = new Decoder(notify, mSource, mPID, mRenderer); in instantiateDecoder()
1643 *decoder = new Decoder( in instantiateDecoder()
1657 (*decoder)->init(); in instantiateDecoder()
1658 (*decoder)->configure(format); in instantiateDecoder()
1663 CHECK_EQ((*decoder)->getInputBuffers(&inputBufs), (status_t)OK); in instantiateDecoder()
1767 const sp<DecoderBase> &decoder = getDecoder(audio); in flushDecoder() local
1768 if (decoder == NULL) { in flushDecoder()
[all …]

12