Searched refs:muxer (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp64 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { argument
66 delete muxer;
71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { argument
72 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000));
76 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { argument
77 return translate_error(muxer->mImpl->setOrientationHint(degrees));
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument
84 ssize_t ret = muxer->mImpl->addTrack(msg);
89 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { argument
90 return translate_error(muxer
94 AMediaMuxer_stop(AMediaMuxer *muxer) argument
99 AMediaMuxer_writeSampleData(AMediaMuxer *muxer, size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp49 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
50 if (muxer == NULL) {
66 jint trackIndex = muxer->addTrack(trackformat);
70 "Failed to add the track to the muxer");
79 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
80 if (muxer == NULL) {
124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
168 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); local
169 muxer->incStrong(clazz);
170 return reinterpret_cast<jlong>(muxer
193 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); local
[all...]
/frameworks/av/include/ndk/
H A DNdkMediaMuxer.h53 * Create new media muxer
58 * Delete a previously created media muxer
78 * method will not rotate the video frame when muxer is generating the file,
97 * Start the muxer. Should be called after AMediaMuxer_addTrack and
103 * Stops the muxer.
104 * Once the muxer stops, it can not be restarted.
109 * Writes an encoded sample into the muxer.
115 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp18 #define LOG_TAG "muxer"
84 sp<MediaMuxer> muxer = new MediaMuxer(fd, container); local
88 // Map the extractor's track index to the muxer's track index.
144 ssize_t newTrackIndex = muxer->addTrack(format);
146 fprintf(stderr, "%s track (%zu) unsupported by muxer\n",
161 muxer->setOrientationHint(rotationDegrees);
162 muxer->start();
208 err = muxer->writeSampleData(newBuffer,
217 muxer->stop();
222 fprintf(stderr, "SUCCESS: muxer generat
[all...]
H A DAndroid.mk195 muxer.cpp \
209 LOCAL_MODULE:= muxer
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp314 * Exactly one of muxer or rawFp must be non-null.
316 * The muxer must *not* have been started before calling.
319 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy,
329 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL));
360 if (muxer != NULL) {
397 if (muxer == NULL) {
417 err = muxer->writeSampleData(buffer, trackIdx,
421 "Failed writing data to muxer (err=%d)\n", err);
444 // Format includes CSD, which we must provide to muxer
318 runEncoder(const sp<MediaCodec>& encoder, const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, const sp<IBinder>& virtualDpy, uint8_t orientation) argument
638 sp<MediaMuxer> muxer = NULL; local
[all...]

Completed in 539 milliseconds