Home
last modified time | relevance | path

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

123

/frameworks/av/include/media/
DMediaSource.h34 struct MediaSource : public virtual RefBase { struct
35 MediaSource();
93 virtual ~MediaSource(); argument
96 MediaSource(const MediaSource &);
97 MediaSource &operator=(const MediaSource &); argument
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaSource.h34 struct MediaSource : public virtual RefBase { struct
35 MediaSource();
93 virtual ~MediaSource(); argument
96 MediaSource(const MediaSource &);
97 MediaSource &operator=(const MediaSource &); argument
DNuMediaExtractor.h41 struct MediaSource;
76 MediaSource::ReadOptions::SeekMode mode =
77 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
82 MediaSource::ReadOptions::SeekMode mode =
83 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
144 MediaSource::ReadOptions::SeekMode mode =
145 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
149 MediaSource::ReadOptions::SeekMode mode =
150 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
DSimpleDecodingSource.h37 class SimpleDecodingSource : public MediaSource {
48 const sp<MediaSource> &source, uint32_t flags,
54 const sp<MediaSource> &source, uint32_t flags = 0);
76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper,
80 sp<MediaSource> mSource;
DAACWriter.h26 struct MediaSource;
33 virtual status_t addSource(const sp<MediaSource> &source);
50 sp<MediaSource> mSource;
DInterfaceUtils.h30 struct MediaSource;
48 sp<MediaSource> CreateMediaSourceFromIMediaSource(const sp<IMediaSource> &source);
DAMRWriter.h33 virtual status_t addSource(const sp<MediaSource> &source);
45 sp<MediaSource> mSource;
DOggWriter.h35 virtual status_t addSource(const sp<MediaSource>& source);
48 sp<MediaSource> mSource;
DMediaCodecSource.h34 struct MediaCodecSource : public MediaSource,
44 const sp<MediaSource> &source,
94 const sp<MediaSource> &source,
/frameworks/av/media/libstagefright/
DMediaSource.cpp22 MediaSource::MediaSource() {} in MediaSource() function in android::MediaSource
24 MediaSource::~MediaSource() {} in ~MediaSource()
DRemoteMediaSource.cpp57 MediaBufferBase **buffer, const MediaSource::ReadOptions *options) { in read()
58 return mTrack->read(buffer, reinterpret_cast<const MediaSource::ReadOptions*>(options)); in read()
DFrameDecoder.cpp408 mSeekMode(MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC), in VideoFrameDecoder()
415 int64_t frameTimeUs, size_t numFrames, int seekMode, MediaSource::ReadOptions *options) { in onGetFormatAndSeekOptions()
416 mSeekMode = static_cast<MediaSource::ReadOptions::SeekMode>(seekMode); in onGetFormatAndSeekOptions()
417 if (mSeekMode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC || in onGetFormatAndSeekOptions()
418 mSeekMode > MediaSource::ReadOptions::SEEK_FRAME_INDEX) { in onGetFormatAndSeekOptions()
457 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onGetFormatAndSeekOptions()
458 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onGetFormatAndSeekOptions()
469 bool isSeekingClosest = (mSeekMode == MediaSource::ReadOptions::SEEK_CLOSEST) in onInputReceived()
470 || (mSeekMode == MediaSource::ReadOptions::SEEK_FRAME_INDEX); in onInputReceived()
581 int /*seekMode*/, MediaSource::ReadOptions *options) { in onGetFormatAndSeekOptions()
/frameworks/av/cmds/stagefright/
Drecord.cpp46 class DummySource : public MediaSource {
82 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
121 sp<MediaSource> createSource(const char *filename) {
122 sp<MediaSource> source;
190 sp<MediaSource> source = createSource(argv[1]);
199 sp<MediaSource> decoder = SimpleDecodingSource::Create(source);
208 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
224 sp<MediaSource> encoder =
300 sp<MediaSource> audioSource = new SineSource(kSampleRate, kNumChannels); in main()
325 sp<MediaSource> encoder = in main()
Dstagefright.cpp147 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { in dumpSource()
185 static void playSource(sp<MediaSource> &source) { in playSource()
191 sp<MediaSource> rawSource; in playSource()
248 MediaSource::ReadOptions options; in playSource()
324 MediaSource::ReadOptions options; in playSource()
424 struct DetectSyncSource : public MediaSource {
425 explicit DetectSyncSource(const sp<MediaSource> &source);
442 sp<MediaSource> mSource;
449 DetectSyncSource::DetectSyncSource(const sp<MediaSource> &source) in DetectSyncSource()
531 Vector<sp<MediaSource> > &sources, bool syncInfoPresent) { in writeSourcesToMP4()
[all …]
Drecordvideo.cpp57 class DummySource : public MediaSource {
91 MediaBufferBase **buffer, const MediaSource::ReadOptions *options __unused) { in read()
270 sp<MediaSource> source = in main()
304 sp<MediaSource> encoder = in main()
Daudioloop.cpp106 sp<MediaSource> source; in main()
143 sp<MediaSource> encoder = MediaCodecSource::Create(looper, meta, source); in main()
159 sp<MediaSource> decoder = SimpleDecodingSource::Create(encoder); in main()
DAudioPlayer.h53 void setSource(const sp<MediaSource> &source);
69 sp<MediaSource> mSource;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DMediaSource.java46 public class MediaSource extends Filter { class
164 public MediaSource(String name) { in MediaSource() method in MediaSource
529 synchronized(MediaSource.this) {
531 MediaSource.this.notify();
540 synchronized(MediaSource.this) {
542 MediaSource.this.notify();
551 synchronized(MediaSource.this) {
561 synchronized(MediaSource.this) {
564 MediaSource.this.notify();
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h64 MediaSource::ReadOptions *options) = 0;
95 MediaSource::ReadOptions mReadOptions;
117 MediaSource::ReadOptions *options) override;
138 MediaSource::ReadOptions::SeekMode mSeekMode;
155 MediaSource::ReadOptions *options) override;
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h35 DECLARE_META_INTERFACE(MediaSource);
68 const MediaSource::ReadOptions *options = NULL) = 0;
84 const MediaSource::ReadOptions *options = nullptr) = 0;
114 const MediaSource::ReadOptions * /* options = nullptr */) { in readMultiple()
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.h28 struct MediaSource;
36 sp<MediaSource> trackAt(size_t index);
DVideoSource.h28 class VideoSource : public MediaSource {
58 MediaBuffer **buffer, const MediaSource::ReadOptions *options) { in read()
DARTPWriter.h40 virtual status_t addSource(const sp<MediaSource> &source);
75 sp<MediaSource> mSource;
/frameworks/wilhelm/src/android/include/
DAacAdtsExtractor.h38 class AacAdtsSource : public MediaSource {
77 virtual sp<MediaSource> getTrack(size_t index);
/frameworks/av/media/libstagefright/webm/
DWebmWriter.h43 virtual status_t addSource(const sp<MediaSource> &source);
88 sp<MediaSource> mSource;

123