Searched refs:decoder (Results 26 - 42 of 42) sorted by relevance

12

/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp150 // remove this check and always set the decoder output color format
155 sp<MediaSource> decoder = local
160 if (decoder.get() == NULL) {
161 ALOGV("unable to instantiate video decoder.");
166 status_t err = decoder->start();
204 err = decoder->read(&buffer, &options);
213 decoder->stop();
223 ALOGV("video frame is unreadable, decoder does not give us access "
229 decoder->stop();
246 sp<MetaData> meta = decoder
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiSsid.java173 CharsetDecoder decoder = charset.newDecoder()
178 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true);
/frameworks/base/media/java/android/media/
H A DMediaFile.java154 AudioDecoder decoder = decoders.get(i);
155 if (decoder == AudioDecoder.AUDIO_DECODER_WMA) {
166 VideoDecoder decoder = decoders.get(i);
167 if (decoder == VideoDecoder.VIDEO_DECODER_WMV) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java17 package androidx.media.filterfw.decoder;
96 * decoded since the last call of this method. The decoder's buffer is cleared as a result.
111 * Clears the decoder's buffer.
H A DGpuVideoTrackDecoder.java17 package androidx.media.filterfw.decoder;
70 // Create a surface texture to be used by the video track decoder.
H A DCpuVideoTrackDecoder.java16 package androidx.media.filterfw.decoder;
72 "Could not find a suitable decoder for format: " + format + "!");
172 * <li>The codec is a decoder.</li>
190 // Check that this is a decoder
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc38 // the decoder.
264 // Register a callback on the decoder queue, so that we will be called
364 // issue with get current position on decoder is fixed.
529 LOGW("decoder position: %d", static_cast<int>(positionInMsec));
615 // Create the decoder with the given source and sink.
617 SLObjectItf decoder; local
624 OpenSL(engineInterface, CreateAudioPlayer, &decoder, &sourceCopy, &decDest,
627 setAudioStreamType(decoder, audioStreamType_);
628 OpenSL(decoder, Realize, SL_BOOLEAN_FALSE);
630 // Get the play interface from the decoder, an
[all...]
/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp109 SL_LOGD("received %d bytes from decoder", size);
1539 android::AudioToCbRenderer* decoder = new android::AudioToCbRenderer(&app); local
1540 pAudioPlayer->mAPlayer = decoder;
1542 decoder->setDataPushListener(adecoder_writeToBufferQueue, pAudioPlayer);
1544 decoder->init(sfplayer_handlePrefetchEvent, (void*)pAudioPlayer);
1548 decoder->setDataSource(
1553 decoder->setDataSource(
1758 android::AudioSfDecoder* decoder = local
1760 *pItemCount = decoder->getPcmFormatKeyCount();
1786 android::AudioSfDecoder* decoder local
1822 android::AudioSfDecoder* decoder = local
1859 android::AudioSfDecoder* decoder = local
1895 android::AudioSfDecoder* decoder = local
[all...]
/frameworks/av/cmds/stagefright/
H A Drecord.cpp200 sp<MediaSource> decoder = OMXCodec::Create(
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
228 client.interface(), enc_meta, true /* createEncoder */, decoder);
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4DECODER_Common.h20 * @note This file declares the common interfaces that decoder shells must implement
60 * @brief This enum defines the AVC decoder profile and level for the current instance
61 * @note This options can be read from decoder via M4DECODER_getOption_fct
88 * @brief This enum defines the decoder options
89 * @note These options can be read from or written to a decoder via M4DECODER_getOption_fct
95 Get the version of the core decoder
117 Set the YUV data to the dummy video decoder
122 Set the YUV data with color effect applied to the dummy video decoder
207 * video decoder interface. Each decoder i
242 VideoDecoder *decoder; member in struct:__anon147
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DAndroid.mk109 # test utility: decoder
124 LOCAL_MODULE := decoder
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.h159 status_t instantiateDecoder(bool audio, sp<Decoder> *decoder);
H A DNuPlayer.cpp557 ALOGV("got %s decoder EOS", audio ? "audio" : "video");
559 ALOGV("got %s decoder EOS w/ error %d",
578 ALOGV("decoder %s flush completed", audio ? "audio" : "video");
581 ALOGV("initiating %s decoder shutdown",
610 // FIXME: we should handle the case where the video decoder
700 ALOGE("Received error from %s decoder, aborting playback.",
887 status_t NuPlayer::instantiateDecoder(bool audio, sp<Decoder> *decoder) { argument
888 if (*decoder != NULL) {
908 *decoder = audio ? new Decoder(notify) :
910 looper()->registerHandler(*decoder);
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java479 // Attempt to open a region decoder
480 BitmapRegionDecoder decoder = null;
482 decoder = BitmapRegionDecoder.newInstance(is, true);
484 Log.w(TAG, "cannot open region decoder for default wallpaper");
488 if (decoder != null) {
494 crop = decoder.decodeRegion(roundedTrueCrop, options);
495 decoder.recycle();
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java549 // Attempt to open a region decoder
550 BitmapRegionDecoder decoder = null;
552 decoder = BitmapRegionDecoder.newInstance(mInStream, true);
554 Log.w(LOGTAG, "cannot open region decoder for file: " + mInUri.toString(), e);
558 if (decoder != null) {
564 crop = decoder.decodeRegion(roundedTrueCrop, options);
565 decoder.recycle();
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp530 VideoDecoder *pVideoDecoder = pDecoders->decoder;
2651 // Get platform video decoder capablities.
3208 if (pContext->decoders->decoder != NULL &&
3210 pDecoder = pContext->decoders->decoder;
3213 ALOGV("decoder index :%d",k);
3237 free(pContext->decoders->decoder);
3238 pContext->decoders->decoder = NULL;
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp19 * @brief StageFright shell video decoder
643 pDecoder = decoders->decoder;
679 pDecoders->decoder = pDecoder;
700 ALOGV(" decoder '%s' supports ",
895 ALOGV("### VideoEditorVideoDecoder_destroy : releasing decoder");
1022 // Create the decoder source
1033 // Create the decoder
1063 ALOGI("decoder output format = 0x%X\n", decoderOutput);
1190 // Create the decoder source
1202 // Create the decoder
[all...]

Completed in 1053 milliseconds

12