#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, const uint8_t *buf, int buf_size) |
| static av_cold int | libopenjpeg_decode_close (AVCodecContext *avctx) |
Variables | |
| AVCodec | libopenjpeg_decoder |
Definition in file libopenjpeg.c.
| #define JP2_SIG_TYPE 0x6A502020 |
| #define JP2_SIG_VALUE 0x0D0A870A |
| #define OPJ_STATIC |
Definition at line 29 of file libopenjpeg.c.
| static int check_image_attributes | ( | opj_image_t * | image | ) | [static] |
| static av_cold int libopenjpeg_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 169 of file libopenjpeg.c.
| static int libopenjpeg_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [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.
Initial value:
{
"libopenjpeg",
CODEC_TYPE_VIDEO,
CODEC_ID_JPEG2000,
sizeof(LibOpenJPEGContext),
libopenjpeg_decode_init,
NULL,
libopenjpeg_decode_close,
libopenjpeg_decode_frame,
NULL,
.long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"),
}
Definition at line 179 of file libopenjpeg.c.
1.5.8