Home
last modified time | relevance | path

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

12345

/frameworks/av/media/libstagefright/
DMediaSource.cpp21 MediaSource::MediaSource() {} in MediaSource() function in android::MediaSource
23 MediaSource::~MediaSource() {} in ~MediaSource()
27 MediaSource::ReadOptions::ReadOptions() { in ReadOptions()
31 void MediaSource::ReadOptions::reset() { in reset()
37 void MediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { in setSeekTo()
43 void MediaSource::ReadOptions::clearSeekTo() { in clearSeekTo()
49 bool MediaSource::ReadOptions::getSeekTo( in getSeekTo()
56 void MediaSource::ReadOptions::setLateBy(int64_t lateness_us) { in setLateBy()
60 int64_t MediaSource::ReadOptions::getLateBy() const { in getLateBy()
DDRMExtractor.cpp41 class DRMSource : public MediaSource {
43 DRMSource(const sp<MediaSource> &mediaSource,
58 sp<MediaSource> mOriginalMediaSource;
72 DRMSource::DRMSource(const sp<MediaSource> &mediaSource, in DRMSource()
254 sp<MediaSource> DRMExtractor::getTrack(size_t index) { in getTrack()
255 sp<MediaSource> originalMediaSource = mOriginalExtractor->getTrack(index); in getTrack()
/frameworks/av/include/media/stagefright/
DMediaSource.h32 struct MediaSource : public virtual RefBase { struct
33 MediaSource();
113 virtual ~MediaSource(); argument
116 MediaSource(const MediaSource &);
117 MediaSource &operator=(const MediaSource &); argument
DNuMediaExtractor.h36 struct MediaSource;
61 MediaSource::ReadOptions::SeekMode mode =
62 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
81 sp<MediaSource> mSource;
103 MediaSource::ReadOptions::SeekMode mode =
104 MediaSource::ReadOptions::SEEK_CLOSEST_SYNC);
DAMRWriter.h28 struct MediaSource;
37 virtual status_t addSource(const sp<MediaSource> &source);
49 sp<MediaSource> mSource;
DAACWriter.h25 struct MediaSource;
34 virtual status_t addSource(const sp<MediaSource> &source);
51 sp<MediaSource> mSource;
DAudioPlayer.h28 class MediaSource; variable
46 void setSource(const sp<MediaSource> &source);
72 sp<MediaSource> mSource;
/frameworks/base/media/tests/omxjpegdecoder/
Domx_jpeg_decoder.h49 sp<MediaSource> getDecoder(OMXClient* client, const sp<MediaSource>& source);
50 bool decodeSource(sp<MediaSource> decoder, const sp<MediaSource>& source,
52 void installPixelRef(MediaBuffer* buffer, sp<MediaSource> decoder,
Domx_jpeg_decoder.cpp101 sp<MediaSource> source = prepareMediaSource(stream); in onDecode()
120 sp<MediaSource> decoder = getDecoder(&mClient, source); in onDecode()
130 sp<MediaSource> OmxJpegImageDecoder::getDecoder( in getDecoder()
131 OMXClient *client, const sp<MediaSource>& source) { in getDecoder()
133 sp<MediaSource> decoder = OMXCodec::Create( in getDecoder()
140 bool OmxJpegImageDecoder::decodeSource(sp<MediaSource> decoder, in decodeSource()
141 const sp<MediaSource>& source, SkBitmap* bm) { in decodeSource()
174 void OmxJpegImageDecoder::installPixelRef(MediaBuffer *buffer, sp<MediaSource> decoder, in installPixelRef()
DSkOmxPixelRef.h30 sp<MediaSource> decoder);
43 sp<MediaSource> mDecoder;
/frameworks/av/cmds/stagefright/
Drecord.cpp42 class DummySource : public MediaSource {
78 MediaBuffer **buffer, const MediaSource::ReadOptions *options) {
117 sp<MediaSource> createSource(const char *filename) {
118 sp<MediaSource> source;
191 sp<MediaSource> source = createSource(argv[1]);
200 sp<MediaSource> decoder = OMXCodec::Create(
210 sp<MediaSource> decoder = new DummySource(width, height, colorFormat);
226 sp<MediaSource> encoder =
306 sp<MediaSource> audioSource = new SineSource(kSampleRate, kNumChannels); in main()
327 sp<MediaSource> encoder = in main()
Daudioloop.cpp30 sp<MediaSource> source = new SineSource(kSampleRate, kNumChannels); in main()
32 sp<MediaSource> source = new AudioSource( in main()
53 sp<MediaSource> encoder = OMXCodec::Create( in main()
65 sp<MediaSource> decoder = OMXCodec::Create( in main()
Dstagefright.cpp132 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { in dumpSource()
165 static void playSource(OMXClient *client, sp<MediaSource> &source) { in playSource()
171 sp<MediaSource> rawSource; in playSource()
227 MediaSource::ReadOptions options; in playSource()
303 MediaSource::ReadOptions options; in playSource()
398 struct DetectSyncSource : public MediaSource {
399 DetectSyncSource(const sp<MediaSource> &source);
416 sp<MediaSource> mSource;
423 DetectSyncSource::DetectSyncSource(const sp<MediaSource> &source) in DetectSyncSource()
505 Vector<sp<MediaSource> > &sources, bool syncInfoPresent) { in writeSourcesToMP4()
[all …]
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h37 struct MediaSource;
166 sp<MediaSource> mVideoTrack;
167 sp<MediaSource> mVideoSource;
172 sp<MediaSource> mAudioTrack;
173 sp<MediaSource> mAudioSource;
256 void setAudioSource(sp<MediaSource> source);
259 void setVideoSource(sp<MediaSource> source);
262 void addTextSource_l(size_t trackIndex, const sp<MediaSource>& source);
333 status_t selectAudioTrack_l(const sp<MediaSource>& source, size_t trackIndex);
DAACEncoder.h30 class AACEncoder: public MediaSource {
32 AACEncoder(const sp<MediaSource> &source, const sp<MetaData> &meta);
45 sp<MediaSource> mSource;
/frameworks/av/media/libstagefright/tests/
DDummyRecorder.h27 class MediaSource; variable
33 sp<MediaSource> mSource;
46 DummyRecorder(const sp<MediaSource> &source) : mSource(source) in DummyRecorder()
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DMediaBufferPuller.h26 struct MediaSource;
36 MediaBufferPuller(const sp<MediaSource>& source);
68 sp<MediaSource> mSource;
/frameworks/av/media/libstagefright/timedtext/
DTimedText3GPPSource.h32 TimedText3GPPSource(const sp<MediaSource>& mediaSource);
39 const MediaSource::ReadOptions *options = NULL);
47 sp<MediaSource> mSource;
DTimedTextPlayer.cpp83 MediaSource::ReadOptions options; in onMessageReceived()
86 static_cast<MediaSource::ReadOptions::SeekMode>(seekMode)); in onMessageReceived()
151 MediaSource::ReadOptions options; in doSeekAndRead()
152 options.setSeekTo(seekTimeUs, MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC); in doSeekAndRead()
156 void TimedTextPlayer::doRead(MediaSource::ReadOptions* options) { in doRead()
166 MediaSource::ReadOptions::SeekMode seekMode; in doRead()
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorAudioPlayer.h33 class MediaSource; variable
74 void setSource(const sp<MediaSource> &source);
75 sp<MediaSource> getSource();
93 sp<MediaSource> mSource;
DVideoEditorSRC.h27 class VideoEditorSRC : public MediaSource , public AudioBufferProvider {
30 VideoEditorSRC(const sp<MediaSource> &source);
59 sp<MediaSource> mSource;
DPreviewPlayer.h139 sp<MediaSource> mVideoTrack;
140 sp<MediaSource> mVideoSource;
143 sp<MediaSource> mAudioTrack;
144 sp<MediaSource> mAudioSource;
261 void setVideoSource(const sp<MediaSource>& source);
263 void setAudioSource(const sp<MediaSource>& source);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DMediaSource.java53 public class MediaSource extends Filter { class
165 public MediaSource(String name) { in MediaSource() method in MediaSource
526 synchronized(MediaSource.this) {
528 MediaSource.this.notify();
537 synchronized(MediaSource.this) {
539 MediaSource.this.notify();
548 synchronized(MediaSource.this) {
558 synchronized(MediaSource.this) {
561 MediaSource.this.notify();
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h33 struct MediaSource;
138 sp<MediaSource> createAudioSource();
144 status_t setupMediaSource(sp<MediaSource> *mediaSource);
151 sp<MediaSource> cameraSource,
153 sp<MediaSource> *source);
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.h28 struct MediaSource;
36 sp<MediaSource> trackAt(size_t index);

12345