FFmpeg
|
Dirac encoder support via libschroedinger-1.0 libraries. More...
#include <schroedinger/schro.h>
#include <schroedinger/schrodebug.h>
#include <schroedinger/schrovideoformat.h>
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "libschroedinger.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | SchroEncoderParams |
libschroedinger encoder private data More... | |
Macros | |
#define | OFFSET(x) offsetof(SchroEncoderParams, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | set_chroma_format (AVCodecContext *avctx) |
Works out Schro-compatible chroma format. More... | |
static av_cold int | libschroedinger_encode_init (AVCodecContext *avctx) |
static SchroFrame * | libschroedinger_frame_from_data (AVCodecContext *avctx, const AVFrame *frame) |
static void | libschroedinger_free_frame (void *data) |
static int | libschroedinger_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
static int | libschroedinger_encode_close (AVCodecContext *avctx) |
Variables | |
static const AVOption | options [] |
static const AVClass | libschroedinger_class |
AVCodec | ff_libschroedinger_encoder |
Dirac encoder support via libschroedinger-1.0 libraries.
More details about the Schroedinger project can be found at http://www.diracvideo.org/. The library implements Dirac Specification Version 2.2 (http://dirac.sourceforge.net/specification.html).
Definition in file libschroedingerenc.c.
#define OFFSET | ( | x | ) | offsetof(SchroEncoderParams, x) |
Definition at line 456 of file libschroedingerenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 457 of file libschroedingerenc.c.
|
static |
Works out Schro-compatible chroma format.
Definition at line 86 of file libschroedingerenc.c.
Referenced by libschroedinger_encode_init().
|
static |
Definition at line 109 of file libschroedingerenc.c.
|
static |
Definition at line 247 of file libschroedingerenc.c.
Referenced by libschroedinger_encode_frame().
Definition at line 266 of file libschroedingerenc.c.
Referenced by libschroedinger_encode_close(), and libschroedinger_encode_frame().
|
static |
Definition at line 274 of file libschroedingerenc.c.
|
static |
Definition at line 434 of file libschroedingerenc.c.
|
static |
Definition at line 458 of file libschroedingerenc.c.
|
static |
Definition at line 464 of file libschroedingerenc.c.
AVCodec ff_libschroedinger_encoder |
Definition at line 471 of file libschroedingerenc.c.