Home
last modified time | relevance | path

Searched refs:muxer (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp64 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { in AMediaMuxer_delete() argument
66 delete muxer; in AMediaMuxer_delete()
71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation() argument
72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
76 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { in AMediaMuxer_setOrientationHint() argument
77 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { in AMediaMuxer_addTrack() argument
84 return translate_error(muxer->mImpl->addTrack(msg)); in AMediaMuxer_addTrack()
88 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { in AMediaMuxer_start() argument
89 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp46 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_addTrack() local
47 if (muxer == NULL) { in android_media_MediaMuxer_addTrack()
63 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack()
76 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_writeSampleData() local
77 if (muxer == NULL) { in android_media_MediaMuxer_writeSampleData()
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); in android_media_MediaMuxer_writeSampleData()
143 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); in android_media_MediaMuxer_native_setup() local
144 muxer->incStrong(clazz); in android_media_MediaMuxer_native_setup()
145 return reinterpret_cast<jlong>(muxer.get()); in android_media_MediaMuxer_native_setup()
150 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_setOrientationHint() local
[all …]
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp315 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, in runEncoder() argument
325 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL)); in runEncoder()
359 if (muxer != NULL) { in runEncoder()
396 if (muxer == NULL) { in runEncoder()
413 err = muxer->writeSampleData(buffers[bufIndex], trackIdx, in runEncoder()
444 if (muxer != NULL) { in runEncoder()
445 trackIdx = muxer->addTrack(newFormat); in runEncoder()
447 err = muxer->start(); in runEncoder()
634 sp<MediaMuxer> muxer = NULL; in recordScreen() local
640 muxer = new MediaMuxer(fileName, MediaMuxer::OUTPUT_FORMAT_MPEG_4); in recordScreen()
[all …]
/frameworks/av/cmds/stagefright/
Dmuxer.cpp75 sp<MediaMuxer> muxer = new MediaMuxer(outputFileName, in muxing() local
135 ssize_t newTrackIndex = muxer->addTrack(format); in muxing()
147 muxer->setOrientationHint(rotationDegrees); in muxing()
148 muxer->start(); in muxing()
189 err = muxer->writeSampleData(newBuffer, in muxing()
198 muxer->stop(); in muxing()
DAndroid.mk173 muxer.cpp \
187 LOCAL_MODULE:= muxer
/frameworks/av/include/ndk/
DNdkMediaMuxer.h112 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
/frameworks/base/docs/html/about/versions/
Djelly-bean.jd317 <h4 id="43-media-muxer">Media muxer</h4>
319 <p>Apps can use new media muxer APIs to combine elementary audio and video