FFmpeg
|
#include <sys/types.h>
#include "libavutil/frame.h"
#include "avcodec.h"
#include "mediacodecdec.h"
#include "mediacodec_wrapper.h"
Go to the source code of this file.
Functions | |
void | ff_mediacodec_sw_buffer_copy_yuv420_planar (AVCodecContext *avctx, MediaCodecDecContext *s, uint8_t *data, size_t size, FFAMediaCodecBufferInfo *info, AVFrame *frame) |
The code handling the various YUV color formats is taken from the GStreamer project. More... | |
void | ff_mediacodec_sw_buffer_copy_yuv420_semi_planar (AVCodecContext *avctx, MediaCodecDecContext *s, uint8_t *data, size_t size, FFAMediaCodecBufferInfo *info, AVFrame *frame) |
void | ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar (AVCodecContext *avctx, MediaCodecDecContext *s, uint8_t *data, size_t size, FFAMediaCodecBufferInfo *info, AVFrame *frame) |
void | ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka (AVCodecContext *avctx, MediaCodecDecContext *s, uint8_t *data, size_t size, FFAMediaCodecBufferInfo *info, AVFrame *frame) |
void ff_mediacodec_sw_buffer_copy_yuv420_planar | ( | AVCodecContext * | avctx, |
MediaCodecDecContext * | s, | ||
uint8_t * | data, | ||
size_t | size, | ||
FFAMediaCodecBufferInfo * | info, | ||
AVFrame * | frame | ||
) |
The code handling the various YUV color formats is taken from the GStreamer project.
Gstreamer reference: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/androidmedia/
Copyright (C) 2012, Collabora Ltd. Author: Sebastian Dröge sebas tian .droe ge@c ollab ora. co.uk
Copyright (C) 2012, Rafaël Carré <funman>
Copyright (C) 2015, Sebastian Dröge sebas tian @cent ricu lar.c om
Copyright (C) 2014-2015, Collabora Ltd. Author: Matthieu Bouron matth ieu. bouro n@gc ollab ora. com
Copyright (C) 2015, Edward Hervey Author: Edward Hervey bilbo ed@g mail. com
Copyright (C) 2015, Matthew Waters matth ew@c entri cula r.com
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation version 2.1 of the License.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition at line 76 of file mediacodec_sw_buffer.c.
Referenced by mediacodec_wrap_buffer().
void ff_mediacodec_sw_buffer_copy_yuv420_semi_planar | ( | AVCodecContext * | avctx, |
MediaCodecDecContext * | s, | ||
uint8_t * | data, | ||
size_t | size, | ||
FFAMediaCodecBufferInfo * | info, | ||
AVFrame * | frame | ||
) |
Definition at line 131 of file mediacodec_sw_buffer.c.
Referenced by mediacodec_wrap_buffer().
void ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar | ( | AVCodecContext * | avctx, |
MediaCodecDecContext * | s, | ||
uint8_t * | data, | ||
size_t | size, | ||
FFAMediaCodecBufferInfo * | info, | ||
AVFrame * | frame | ||
) |
Definition at line 181 of file mediacodec_sw_buffer.c.
Referenced by mediacodec_wrap_buffer().
void ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka | ( | AVCodecContext * | avctx, |
MediaCodecDecContext * | s, | ||
uint8_t * | data, | ||
size_t | size, | ||
FFAMediaCodecBufferInfo * | info, | ||
AVFrame * | frame | ||
) |
Definition at line 272 of file mediacodec_sw_buffer.c.
Referenced by mediacodec_wrap_buffer().