Searched defs:source (Results 1 - 25 of 325) sorted by path

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Daudioloop.cpp30 sp<MediaSource> source = new SineSource(kSampleRate, kNumChannels);
32 sp<MediaSource> source = new AudioSource( local
49 if (source->getFormat()->findInt32(kKeyMaxInputSize, &maxInputSize)) {
56 source);
H A Drecordvideo.cpp257 sp<MediaSource> source = local
289 client.interface(), enc_meta, true /* createEncoder */, source,
H A Dstagefright.cpp132 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { argument
135 CHECK_EQ((status_t)OK, source->start());
140 err = source->read(&mbuf);
159 CHECK_EQ((status_t)OK, source->stop());
165 static void playSource(OMXClient *client, sp<MediaSource> &source) { argument
166 sp<MetaData> meta = source->getFormat();
173 rawSource = source;
184 client->interface(), meta, false /* createEncoder */, source,
196 source.clear();
399 DetectSyncSource(const sp<MediaSource> &source);
423 DetectSyncSource(const sp<MediaSource> &source) argument
518 sp<MediaSource> source = sources.editItemAt(i); local
535 performSeekTest(const sp<MediaSource> &source) argument
1045 sp<MediaSource> source = extractor->getTrack(i); local
[all...]
H A Dstream.cpp346 sp<IStreamSource> source; local
365 source = new MyStreamSource(fd);
369 source = new MyConvertingStreamSource(argv[1]);
375 if (player != NULL && player->setDataSource(source) == NO_ERROR) {
/frameworks/av/include/media/
H A DMediaPlayerInterface.h130 virtual status_t setDataSource(const sp<IStreamSource> &source) { argument
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp249 ALOGE("Error starting dummy audio source");
292 // taken possession of the audio source and stopped it when
396 // check if the new and old source are dummy
399 // Audio player does not have any source set.
400 ALOGV("setAudioPlayer: Audio player does not have any source set");
404 // If new video source is not dummy, then always change source
405 // Else audio player continues using old audio source and there are
413 ALOGV(" Video clip with silent audio; need to change source");
429 // Just set the new play duration for the existing source
1562 setDataSource(const sp<IStreamSource> &source) argument
1938 setAudioSource(const sp<MediaSource>& source) argument
1943 setVideoSource(const sp<MediaSource>& source) argument
[all...]
H A DVideoEditorAudioPlayer.cpp119 // source is able to stop().
161 // which might have changed with new audio source
260 void VideoEditorAudioPlayer::setSource(const sp<MediaSource> &source) { argument
263 // Before setting source, stop any existing source.
265 // source is able to stop().
284 mSource = source;
H A DVideoEditorSRC.cpp32 VideoEditorSRC::VideoEditorSRC(const sp<MediaSource> &source) { argument
33 ALOGV("VideoEditorSRC %p(%p)", this, source.get());
35 mSource = source;
230 ALOGV("getNextBuffer: source read returned INFO_FORMAT_CHANGED");
/frameworks/av/libvideoeditor/vss/src/
H A DM4xVSS_internal.c4445 static void M4XXX_CopyPlane(M4VIFI_ImagePlane* dest, M4VIFI_ImagePlane* source) argument
4455 sourceWalk = (M4OSA_MemAddr8)M4XXX_SampleAddress(*source, 0, 0);
4456 sourceStride = source->u_stride;
4502 /* First the part from the top source clip frame. */
4510 /* and now change the vars to copy the part from the bottom source clip frame. */
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DMediaBufferPuller.cpp29 MediaBufferPuller::MediaBufferPuller(const sp<MediaSource>& source) argument
30 : mSource(source),
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp333 virtual bool isSourceActive(audio_source_t source) const
337 data.writeInt32((int32_t) source);
607 audio_source_t source = (audio_source_t) data.readInt32(); local
608 reply->writeInt32( isSourceActive(source));
H A DIMediaPlayer.cpp108 status_t setDataSource(const sp<IStreamSource> &source) { argument
111 data.writeStrongBinder(source->asBinder());
379 sp<IStreamSource> source = local
381 reply->writeInt32(setDataSource(source));
H A DMediaScannerClient.cpp173 const char* source = mValues->getEntry(i); local
182 &source, (const char *)dest, NULL, NULL, NULL, NULL, TRUE, TRUE, &status);
H A Dmediaplayer.cpp175 status_t MediaPlayer::setDataSource(const sp<IStreamSource> &source) argument
183 (NO_ERROR != player->setDataSource(source))) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp121 const sp<IStreamSource> &source) {
122 GET_PLAYER_TYPE_IMPL(client, source);
228 const sp<IStreamSource> &source,
120 getPlayerType(const sp<IMediaPlayer>& client, const sp<IStreamSource> &source) argument
227 scoreFactory(const sp<IMediaPlayer>& client, const sp<IStreamSource> &source, float curScore) argument
H A DMediaPlayerFactory.h43 const sp<IStreamSource> &source,
59 const sp<IStreamSource> &source);
42 scoreFactory(const sp<IMediaPlayer>& client, const sp<IStreamSource> &source, float curScore) argument
H A DMediaPlayerService.cpp684 // now set data source
690 const sp<IStreamSource> &source) {
692 player_type playerType = MediaPlayerFactory::getPlayerType(this, source);
698 // now set data source
699 setDataSource_post(p, p->setDataSource(source));
1192 // set data source
1242 // set data source
689 setDataSource( const sp<IStreamSource> &source) argument
H A DStagefrightPlayer.cpp68 status_t StagefrightPlayer::setDataSource(const sp<IStreamSource> &source) { argument
69 return mPlayer->setDataSource(source);
H A DStagefrightRecorder.cpp101 ALOGE("Invalid audio source: %d", as);
118 ALOGE("Invalid video source: %d", vs);
805 ALOGE("audio source is not initialized");
910 ALOGE("Invalid audio source: %d", mAudioSource);
946 // Must have exactly one source.
954 sp<MediaSource> source; local
957 source = createAudioSource();
966 err = setupVideoEncoder(mediaSource, mVideoBitRate, &source);
973 mWriter->addSource(source);
1270 // setupSurfaceMediaSource creates a source wit
1355 setupVideoEncoder( sp<MediaSource> cameraSource, int32_t videoBitRate, sp<MediaSource> *source) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp132 sp<MediaSource> source = audio ? mAudioTrack.mSource : mVideoTrack.mSource; local
134 if (source == NULL) {
138 return source->getFormat();
H A DHTTPLiveSource.cpp88 sp<AnotherPacketSource> source = local
91 if (source == NULL) {
95 return source->getFormat();
103 sp<LiveDataSource> source = local
108 ssize_t n = source->readAtNonBlocking(mOffset, buffer, sizeof(buffer));
153 sp<AnotherPacketSource> source = local
156 if (source == NULL) {
161 if (!source->hasBufferAvailable(&finalResult)) {
165 return source->dequeueAccessUnit(accessUnit);
H A DNuPlayer.cpp87 void NuPlayer::setDataSource(const sp<IStreamSource> &source) { argument
93 msg->setObject("source", new MP4Source(source));
95 msg->setObject("source", new StreamingSource(source));
121 sp<Source> source; local
123 source = new HTTPLiveSource(url, headers, mUIDValid, mUID);
125 source = new RTSPSource(url, headers, mUIDValid, mUID);
127 source = new GenericSource(url, headers, mUIDValid, mUID);
130 msg->setObject("source", sourc
137 sp<Source> source = new GenericSource(fd, offset, length); local
[all...]
H A DNuPlayerDriver.cpp88 status_t NuPlayerDriver::setDataSource(const sp<IStreamSource> &source) { argument
91 mPlayer->setDataSource(source);
H A DNuPlayerStreamListener.cpp31 const sp<IStreamSource> &source,
33 : mSource(source),
30 NuPlayerStreamListener( const sp<IStreamSource> &source, ALooper::handler_id id) argument
H A DRTSPSource.cpp100 sp<AnotherPacketSource> source = getSource(audio); local
102 if (source == NULL) {
106 return source->getFormat();
148 sp<AnotherPacketSource> source = getSource(audio); local
150 if (source == NULL) {
155 if (!source->hasBufferAvailable(&finalResult)) {
159 return source->dequeueAccessUnit(accessUnit);
164 sp<MediaSource> source = mTSParser->getSource( local
167 return static_cast<AnotherPacketSource *>(source.get());
301 sp<AnotherPacketSource> source local
316 sp<AnotherPacketSource> source = info->mSource; local
348 sp<AnotherPacketSource> source = getSource(false /* audio */); local
366 sp<AnotherPacketSource> source = info->mSource; local
381 sp<AnotherPacketSource> source = info->mSource; local
444 sp<AnotherPacketSource> source = new AnotherPacketSource(format); local
[all...]

Completed in 1686 milliseconds

1234567891011>>