Libav
|
MMAL Video Decoder. More...
#include <bcm_host.h>
#include <interface/mmal/mmal.h>
#include <interface/mmal/mmal_parameters_video.h>
#include <interface/mmal/util/mmal_util.h>
#include <interface/mmal/util/mmal_util_params.h>
#include <interface/mmal/util/mmal_default_components.h>
#include <interface/mmal/vc/mmal_vc_api.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/atomic.h"
#include "libavutil/avassert.h"
#include "libavutil/buffer.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/log.h"
Go to the source code of this file.
Data Structures | |
struct | FFBufferEntry |
struct | FFPoolRef |
struct | FFBufferRef |
struct | MMALDecodeContext |
Macros | |
#define | MAX_DELAYED_FRAMES 16 |
#define | FFMMAL_DEC_CLASS(NAME) |
#define | FFMMAL_DEC(NAME, ID) |
Functions | |
static void | ffmmal_poolref_unref (FFPoolRef *ref) |
static void | ffmmal_release_frame (void *opaque, uint8_t *data) |
static int | ffmmal_set_ref (AVFrame *frame, FFPoolRef *pool, MMAL_BUFFER_HEADER_T *buffer) |
static void | ffmmal_stop_decoder (AVCodecContext *avctx) |
static av_cold int | ffmmal_close_decoder (AVCodecContext *avctx) |
static void | input_callback (MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer) |
static void | output_callback (MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer) |
static void | control_port_cb (MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buffer) |
static int | ffmmal_fill_output_port (AVCodecContext *avctx) |
static enum AVColorSpace | ffmmal_csp_to_av_csp (MMAL_FOURCC_T fourcc) |
static int | ffmal_update_format (AVCodecContext *avctx) |
static av_cold int | ffmmal_init_decoder (AVCodecContext *avctx) |
static void | ffmmal_flush (AVCodecContext *avctx) |
static int | ffmmal_add_packet (AVCodecContext *avctx, AVPacket *avpkt, int is_extradata) |
static int | ffmmal_fill_input_port (AVCodecContext *avctx) |
static int | ffmal_copy_frame (AVCodecContext *avctx, AVFrame *frame, MMAL_BUFFER_HEADER_T *buffer) |
static int | ffmmal_read_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame) |
static int | ffmmal_decode (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVHWAccel | ff_h264_mmal_hwaccel |
AVHWAccel | ff_mpeg2_mmal_hwaccel |
AVHWAccel | ff_vc1_mmal_hwaccel |
static const AVOption | options [] |
MMAL Video Decoder.
Definition in file mmaldec.c.
#define MAX_DELAYED_FRAMES 16 |
Definition at line 95 of file mmaldec.c.
Referenced by ffmmal_read_frame().
#define FFMMAL_DEC_CLASS | ( | NAME | ) |
#define FFMMAL_DEC | ( | NAME, | |
ID | |||
) |
Definition at line 97 of file mmaldec.c.
Referenced by ffmal_update_format(), ffmmal_close_decoder(), and ffmmal_release_frame().
Definition at line 105 of file mmaldec.c.
Referenced by ffmmal_set_ref().
|
static |
Definition at line 117 of file mmaldec.c.
Referenced by ffmal_copy_frame().
|
static |
Definition at line 143 of file mmaldec.c.
Referenced by ffmmal_close_decoder(), and ffmmal_flush().
|
static |
Definition at line 178 of file mmaldec.c.
Referenced by ffmmal_init_decoder().
|
static |
Definition at line 196 of file mmaldec.c.
Referenced by ffmmal_flush(), and ffmmal_init_decoder().
|
static |
Definition at line 211 of file mmaldec.c.
Referenced by ffmmal_flush(), ffmmal_init_decoder(), and ffmmal_read_frame().
|
static |
Definition at line 219 of file mmaldec.c.
Referenced by ffmmal_flush(), and ffmmal_init_decoder().
|
static |
Definition at line 237 of file mmaldec.c.
Referenced by ffmmal_decode(), and ffmmal_read_frame().
|
static |
Definition at line 257 of file mmaldec.c.
Referenced by ffmal_update_format().
|
static |
Definition at line 270 of file mmaldec.c.
Referenced by ffmmal_init_decoder(), and ffmmal_read_frame().
|
static |
|
static |
|
static |
Definition at line 459 of file mmaldec.c.
Referenced by ffmmal_decode().
|
static |
Definition at line 556 of file mmaldec.c.
Referenced by ffmmal_decode(), and ffmmal_read_frame().
|
static |
Definition at line 603 of file mmaldec.c.
Referenced by ffmmal_read_frame().
|
static |
Definition at line 647 of file mmaldec.c.
Referenced by ffmmal_decode().
|
static |
AVHWAccel ff_h264_mmal_hwaccel |
AVHWAccel ff_mpeg2_mmal_hwaccel |
AVHWAccel ff_vc1_mmal_hwaccel |
|
static |