Home
last modified time | relevance | path

Searched refs:muxer (Results 1 – 6 of 6) 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 ssize_t ret = muxer->mImpl->addTrack(msg); in AMediaMuxer_addTrack()
89 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { in AMediaMuxer_start() argument
90 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp49 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_addTrack() local
50 if (muxer == NULL) { in android_media_MediaMuxer_addTrack()
66 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack()
79 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_writeSampleData() local
80 if (muxer == NULL) { in android_media_MediaMuxer_writeSampleData()
124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); in android_media_MediaMuxer_writeSampleData()
168 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); in android_media_MediaMuxer_native_setup() local
169 muxer->incStrong(clazz); in android_media_MediaMuxer_native_setup()
170 return reinterpret_cast<jlong>(muxer.get()); in android_media_MediaMuxer_native_setup()
175 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject)); in android_media_MediaMuxer_setOrientationHint() local
[all …]
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp319 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, in runEncoder() argument
329 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL)); in runEncoder()
360 if (muxer != NULL) { in runEncoder()
397 if (muxer == NULL) { in runEncoder()
417 err = muxer->writeSampleData(buffer, trackIdx, in runEncoder()
448 if (muxer != NULL) { in runEncoder()
449 trackIdx = muxer->addTrack(newFormat); in runEncoder()
451 err = muxer->start(); in runEncoder()
638 sp<MediaMuxer> muxer = NULL; in recordScreen() local
654 muxer = new MediaMuxer(fd, MediaMuxer::OUTPUT_FORMAT_MPEG_4); in recordScreen()
[all …]
/frameworks/av/cmds/stagefright/
Dmuxer.cpp84 sp<MediaMuxer> muxer = new MediaMuxer(fd, container); in muxing() local
144 ssize_t newTrackIndex = muxer->addTrack(format); in muxing()
161 muxer->setOrientationHint(rotationDegrees); in muxing()
162 muxer->start(); in muxing()
208 err = muxer->writeSampleData(newBuffer, in muxing()
217 muxer->stop(); in muxing()
DAndroid.mk195 muxer.cpp \
209 LOCAL_MODULE:= muxer
/frameworks/av/include/ndk/
DNdkMediaMuxer.h115 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,