Searched defs:muxer (Results 1 - 4 of 4) 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 return translate_error(muxer->mImpl->addTrack(msg));
88 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { argument
89 return translate_error(muxer
93 AMediaMuxer_stop(AMediaMuxer *muxer) argument
98 AMediaMuxer_writeSampleData(AMediaMuxer *muxer, size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp18 #define LOG_TAG "muxer"
85 sp<MediaMuxer> muxer = new MediaMuxer(fd, container); local
89 // Map the extractor's track index to the muxer's track index.
145 ssize_t newTrackIndex = muxer->addTrack(format);
147 fprintf(stderr, "%s track (%zu) unsupported by muxer\n",
162 muxer->setOrientationHint(rotationDegrees);
163 muxer->start();
209 err = muxer->writeSampleData(newBuffer,
218 muxer->stop();
223 fprintf(stderr, "SUCCESS: muxer generat
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp46 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
47 if (muxer == NULL) {
63 jint trackIndex = muxer->addTrack(trackformat);
67 "Failed to add the track to the muxer");
76 sp<MediaMuxer> muxer(reinterpret_cast<MediaMuxer *>(nativeObject));
77 if (muxer == NULL) {
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
143 sp<MediaMuxer> muxer = new MediaMuxer(fd, fileFormat); local
144 muxer->incStrong(clazz);
145 return reinterpret_cast<jlong>(muxer
168 MediaMuxer* muxer = reinterpret_cast<MediaMuxer *>(nativeObject); local
[all...]
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp313 * Exactly one of muxer or rawFp must be non-null.
315 * The muxer must *not* have been started before calling.
318 const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy,
328 assert((rawFp == NULL && muxer != NULL) || (rawFp != NULL && muxer == NULL));
362 if (muxer != NULL) {
399 if (muxer == NULL) {
416 err = muxer->writeSampleData(buffers[bufIndex], trackIdx,
420 "Failed writing data to muxer (err=%d)\n", err);
443 // Format includes CSD, which we must provide to muxer
317 runEncoder(const sp<MediaCodec>& encoder, const sp<MediaMuxer>& muxer, FILE* rawFp, const sp<IBinder>& mainDpy, const sp<IBinder>& virtualDpy, uint8_t orientation) argument
637 sp<MediaMuxer> muxer = NULL; local
[all...]

Completed in 283 milliseconds