#include "libdirac.h"
#include <assert.h>
#include <libdirac_decoder/dirac_parser.h>
Go to the source code of this file.
Data Structures | |
struct | FfmpegDiracDecoderParams |
contains a single frame returned from Dirac More... | |
Functions | |
static enum PixelFormat | GetFfmpegChromaFormat (dirac_chroma_t dirac_pix_fmt) |
returns FFmpeg chroma format | |
static av_cold int | libdirac_decode_init (AVCodecContext *avccontext) |
static int | libdirac_decode_frame (AVCodecContext *avccontext, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | libdirac_decode_close (AVCodecContext *avccontext) |
static void | libdirac_flush (AVCodecContext *avccontext) |
Variables | |
AVCodec | libdirac_decoder |
The libdirac_decoder library implements Dirac specification version 2.2 (http://dirac.sourceforge.net/specification.html).
Definition in file libdiracdec.c.
static enum PixelFormat GetFfmpegChromaFormat | ( | dirac_chroma_t | dirac_pix_fmt | ) | [static] |
returns FFmpeg chroma format
Definition at line 51 of file libdiracdec.c.
Referenced by libdirac_decode_frame(), and libschroedinger_handle_first_access_unit().
static av_cold int libdirac_decode_close | ( | AVCodecContext * | avccontext | ) | [static] |
static int libdirac_decode_frame | ( | AVCodecContext * | avccontext, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
Definition at line 75 of file libdiracdec.c.
static av_cold int libdirac_decode_init | ( | AVCodecContext * | avccontext | ) | [static] |
static void libdirac_flush | ( | AVCodecContext * | avccontext | ) | [static] |
Definition at line 184 of file libdiracdec.c.
Initial value:
{ "libdirac", AVMEDIA_TYPE_VIDEO, CODEC_ID_DIRAC, sizeof(FfmpegDiracDecoderParams), libdirac_decode_init, NULL, libdirac_decode_close, libdirac_decode_frame, CODEC_CAP_DELAY, .flush = libdirac_flush, .long_name = NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), }
Definition at line 196 of file libdiracdec.c.