Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayer2/nuplayer2/
DJMediaPlayer2Utils.cpp35 const sp<MetaData>& meta, bool hasVideo, bool isStreaming, audio_stream_type_t streamType) in isOffloadedAudioPlaybackSupported() argument
37 if (hasVideo || streamType != AUDIO_STREAM_MUSIC) { in isOffloadedAudioPlaybackSupported()
42 if (OK != getAudioOffloadInfo(meta, hasVideo, isStreaming, streamType, &info)) { in isOffloadedAudioPlaybackSupported()
DNuPlayer2Renderer.h80 bool hasVideo,
90 bool hasVideo,
274 bool hasVideo,
DJMediaPlayer2Utils.h29 const sp<MetaData>& meta, bool hasVideo, bool isStreaming,
DNuPlayer2DecoderPassThrough.cpp70 int32_t hasVideo = 0; in onConfigure() local
71 format->findInt32("has-video", &hasVideo); in onConfigure()
77 format, true /* offloadOnly */, hasVideo, in onConfigure()
DNuPlayer2Renderer.cpp412 bool hasVideo, in openAudioSink() argument
419 msg->setInt32("has-video", hasVideo); in openAudioSink()
447 bool hasVideo, in changeAudioFormat() argument
454 meta->setInt32("has-video", hasVideo); in changeAudioFormat()
475 int32_t hasVideo; in onMessageReceived() local
476 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived()
484 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); in onMessageReceived()
1882 bool hasVideo, in onOpenAudioSink() argument
1942 offloadInfo.has_video = hasVideo; in onOpenAudioSink()
2079 int32_t hasVideo; in onChangeAudioFormat() local
[all …]
DNuPlayer2.cpp1709 bool hasVideo = (mCurrentSourceInfo.mSource->getFormat(false /* audio */) != NULL); in onStart() local
1710 if (!hasAudio && !hasVideo) { in onStart()
1729 audioMeta, hasVideo, mCurrentSourceInfo.mSource->isStreaming(), streamType) in onStart()
1949 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload() argument
1954 format, true /* offloadOnly */, hasVideo, in tryOpenAudioSinkForOffload()
2032 const bool hasVideo = (videoFormat != NULL); in determineAudioModeChange() local
2034 audioMeta, hasVideo, mCurrentSourceInfo.mSource->isStreaming(), streamType) in determineAudioModeChange()
2048 tryOpenAudioSinkForOffload(audioFormat, audioMeta, hasVideo); in determineAudioModeChange()
2114 const bool hasVideo = (mCurrentSourceInfo.mSource->getFormat(false /*audio */) != NULL); in instantiateDecoder() local
2115 format->setInt32("has-video", hasVideo); in instantiateDecoder()
[all …]
DNuPlayer2.h299 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo);
DNuPlayer2Decoder.cpp838 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); in handleOutputFormatChange() local
850 format, false /* offloadOnly */, hasVideo, in handleOutputFormatChange()
/frameworks/wilhelm/src/android/
Dandroid_LocAVPlayer.cpp31 LocAVPlayer::LocAVPlayer(const AudioPlayback_Parameters* params, bool hasVideo) : in LocAVPlayer() argument
32 GenericMediaPlayer(params, hasVideo) in LocAVPlayer()
Dandroid_LocAVPlayer.h25 LocAVPlayer(const AudioPlayback_Parameters* params, bool hasVideo);
Dandroid_StreamPlayer.h84 StreamPlayer(const AudioPlayback_Parameters* params, bool hasVideo,
Dandroid_GenericMediaPlayer.h84 GenericMediaPlayer(const AudioPlayback_Parameters* params, bool hasVideo);
Dandroid_StreamPlayer.cpp299 StreamPlayer::StreamPlayer(const AudioPlayback_Parameters* params, bool hasVideo, in StreamPlayer() argument
301 GenericMediaPlayer(params, hasVideo), in StreamPlayer()
Dandroid_GenericMediaPlayer.cpp244 GenericMediaPlayer::GenericMediaPlayer(const AudioPlayback_Parameters* params, bool hasVideo) : in GenericMediaPlayer() argument
246 mHasVideo(hasVideo), in GenericMediaPlayer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DUtils.h56 status_t getAudioOffloadInfo(const sp<MetaData>& meta, bool hasVideo,
60 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo,
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h78 bool hasVideo,
88 bool hasVideo,
273 bool hasVideo,
DNuPlayerRenderer.cpp425 bool hasVideo, in openAudioSink() argument
432 msg->setInt32("has-video", hasVideo); in openAudioSink()
460 bool hasVideo, in changeAudioFormat() argument
467 meta->setInt32("has-video", hasVideo); in changeAudioFormat()
488 int32_t hasVideo; in onMessageReceived() local
489 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived()
497 status_t err = onOpenAudioSink(format, offloadOnly, hasVideo, flags, isStreaming); in onMessageReceived()
1896 bool hasVideo, in onOpenAudioSink() argument
1955 offloadInfo.has_video = hasVideo; in onOpenAudioSink()
2053 const bool doNotReconnect = !hasVideo; in onOpenAudioSink()
[all …]
DNuPlayerDecoderPassThrough.cpp71 int32_t hasVideo = 0; in onConfigure() local
72 format->findInt32("has-video", &hasVideo); in onConfigure()
78 format, true /* offloadOnly */, hasVideo, in onConfigure()
DNuPlayer.cpp1551 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); in onStart() local
1552 if (!hasAudio && !hasVideo) { in onStart()
1569 canOffloadStream(audioMeta, hasVideo, mSource->isStreaming(), streamType) in onStart()
1785 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo) { in tryOpenAudioSinkForOffload() argument
1790 format, true /* offloadOnly */, hasVideo, in tryOpenAudioSinkForOffload()
1870 const bool hasVideo = (videoFormat != NULL); in determineAudioModeChange() local
1872 audioMeta, hasVideo, mSource->isStreaming(), streamType) in determineAudioModeChange()
1886 tryOpenAudioSinkForOffload(audioFormat, audioMeta, hasVideo); in determineAudioModeChange()
1952 const bool hasVideo = (mSource->getFormat(false /*audio */) != NULL); in instantiateDecoder() local
1953 format->setInt32("has-video", hasVideo); in instantiateDecoder()
[all …]
DNuPlayer.h282 const sp<AMessage> &format, const sp<MetaData> &audioMeta, bool hasVideo);
DNuPlayerDecoder.cpp812 bool hasVideo = (mSource->getFormat(false /* audio */) != NULL); in handleOutputFormatChange() local
824 format, false /* offloadOnly */, hasVideo, in handleOutputFormatChange()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp335 const char* hasVideo = mRetriever->extractMetadata(METADATA_KEY_HAS_VIDEO); in init() local
338 mHasVideo = hasVideo && !strcasecmp(hasVideo, "yes"); in init()
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp527 bool hasVideo = false; in parseMetaData() local
576 } else if (!hasVideo && !strncasecmp("video/", mime, 6)) { in parseMetaData()
577 hasVideo = true; in parseMetaData()
628 if (hasVideo) { in parseMetaData()
DUtils.cpp2019 status_t getAudioOffloadInfo(const sp<MetaData>& meta, bool hasVideo, in getAudioOffloadInfo() argument
2085 info->has_video = hasVideo; in getAudioOffloadInfo()
2090 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo, in canOffloadStream() argument
2094 if (OK != getAudioOffloadInfo(meta, hasVideo, isStreaming, streamType, &info)) { in canOffloadStream()
/frameworks/base/media/java/android/media/
DExifInterface.java2774 String hasVideo = retriever.extractMetadata( in getHeifAttributes() local
2791 } else if (METADATA_VALUE_YES.equals(hasVideo)) { in getHeifAttributes()