libavcodec/libopenjpeg.c File Reference

JPEG 2000 decoder using libopenjpeg. More...

#include "avcodec.h"
#include "libavutil/intreadwrite.h"
#include <openjpeg.h>

Go to the source code of this file.

Data Structures

struct  LibOpenJPEGContext

Defines

#define OPJ_STATIC
#define JP2_SIG_TYPE   0x6A502020
#define JP2_SIG_VALUE   0x0D0A870A

Functions

static int check_image_attributes (opj_image_t *image)
static av_cold int libopenjpeg_decode_init (AVCodecContext *avctx)
static int libopenjpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int libopenjpeg_decode_close (AVCodecContext *avctx)

Variables

AVCodec libopenjpeg_decoder


Detailed Description

JPEG 2000 decoder using libopenjpeg.

Definition in file libopenjpeg.c.


Define Documentation

#define JP2_SIG_TYPE   0x6A502020

Definition at line 32 of file libopenjpeg.c.

Referenced by libopenjpeg_decode_frame().

#define JP2_SIG_VALUE   0x0D0A870A

Definition at line 33 of file libopenjpeg.c.

Referenced by libopenjpeg_decode_frame().

#define OPJ_STATIC

Definition at line 29 of file libopenjpeg.c.


Function Documentation

static int check_image_attributes ( opj_image_t *  image  )  [static]

Definition at line 40 of file libopenjpeg.c.

Referenced by libopenjpeg_decode_frame().

static av_cold int libopenjpeg_decode_close ( AVCodecContext avctx  )  [static]

Definition at line 176 of file libopenjpeg.c.

static int libopenjpeg_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 59 of file libopenjpeg.c.

static av_cold int libopenjpeg_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 50 of file libopenjpeg.c.


Variable Documentation

Initial value:

Definition at line 186 of file libopenjpeg.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8