FFmpeg
|
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "encode.h"
#include "internal.h"
#include <openjpeg.h>
Go to the source code of this file.
Data Structures | |
struct | LibOpenJPEGContext |
struct | PacketWriter |
Macros | |
#define | OFFSET(x) offsetof(LibOpenJPEGContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static void | error_callback (const char *msg, void *data) |
static void | warning_callback (const char *msg, void *data) |
static void | info_callback (const char *msg, void *data) |
static OPJ_SIZE_T | stream_write (void *out_buffer, OPJ_SIZE_T nb_bytes, void *user_data) |
static OPJ_OFF_T | stream_skip (OPJ_OFF_T nb_bytes, void *user_data) |
static OPJ_BOOL | stream_seek (OPJ_OFF_T nb_bytes, void *user_data) |
static void | cinema_parameters (opj_cparameters_t *p) |
static opj_image_t * | mj2_create_image (AVCodecContext *avctx, opj_cparameters_t *parameters) |
static av_cold int | libopenjpeg_encode_init (AVCodecContext *avctx) |
static int | libopenjpeg_copy_packed8 (AVCodecContext *avctx, const AVFrame *frame, opj_image_t *image) |
static int | libopenjpeg_copy_packed12 (AVCodecContext *avctx, const AVFrame *frame, opj_image_t *image) |
static int | libopenjpeg_copy_packed16 (AVCodecContext *avctx, const AVFrame *frame, opj_image_t *image) |
static int | libopenjpeg_copy_unpacked8 (AVCodecContext *avctx, const AVFrame *frame, opj_image_t *image) |
static int | libopenjpeg_copy_unpacked16 (AVCodecContext *avctx, const AVFrame *frame, opj_image_t *image) |
static int | libopenjpeg_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
Variables | |
static const AVOption | options [] |
static const AVClass | openjpeg_class |
const AVCodec | ff_libopenjpeg_encoder |
JPEG 2000 encoder using libopenjpeg
Definition in file libopenjpegenc.c.
#define OFFSET | ( | x | ) | offsetof(LibOpenJPEGContext, x) |
Definition at line 721 of file libopenjpegenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 722 of file libopenjpegenc.c.
|
static |
Definition at line 49 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 54 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 59 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 69 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 89 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 117 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 134 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_init().
|
static |
Definition at line 171 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 279 of file libopenjpegenc.c.
|
static |
Definition at line 348 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 388 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 427 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 467 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 508 of file libopenjpegenc.c.
Referenced by libopenjpeg_encode_frame().
|
static |
Definition at line 551 of file libopenjpegenc.c.
|
static |
Definition at line 723 of file libopenjpegenc.c.
|
static |
Definition at line 749 of file libopenjpegenc.c.
const AVCodec ff_libopenjpeg_encoder |
Definition at line 756 of file libopenjpegenc.c.