FFmpeg
|
JPEG 2000 image decoder. More...
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "thread.h"
#include "jpeg2000.h"
Go to the source code of this file.
Data Structures | |
struct | Jpeg2000TilePart |
struct | Jpeg2000Tile |
struct | Jpeg2000DecoderContext |
Macros | |
#define | JP2_SIG_TYPE 0x6A502020 |
#define | JP2_SIG_VALUE 0x0D0A870A |
#define | JP2_CODESTREAM 0x6A703263 |
#define | JP2_HEADER 0x6A703268 |
#define | HAD_COC 0x01 |
#define | HAD_QCC 0x02 |
#define | RGB_PIXEL_FORMATS AV_PIX_FMT_PAL8,AV_PIX_FMT_RGB24,AV_PIX_FMT_RGBA,AV_PIX_FMT_RGB48,AV_PIX_FMT_RGBA64 |
#define | GRAY_PIXEL_FORMATS AV_PIX_FMT_GRAY8,AV_PIX_FMT_GRAY8A,AV_PIX_FMT_GRAY16 |
#define | YUV_PIXEL_FORMATS |
#define | XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12 |
#define | OFFSET(x) offsetof(Jpeg2000DecoderContext, x) |
#define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Variables | |
static enum AVPixelFormat | rgb_pix_fmts [] = {RGB_PIXEL_FORMATS} |
static enum AVPixelFormat | gray_pix_fmts [] = {GRAY_PIXEL_FORMATS} |
static enum AVPixelFormat | yuv_pix_fmts [] = {YUV_PIXEL_FORMATS} |
static enum AVPixelFormat | xyz_pix_fmts [] = {XYZ_PIXEL_FORMATS} |
static enum AVPixelFormat | all_pix_fmts [] |
static const float | f_ict_params [4] |
static const int | i_ict_params [4] |
static const AVOption | options [] |
static const AVProfile | profiles [] |
static const AVClass | jpeg2000_class |
AVCodec | ff_jpeg2000_decoder |
JPEG 2000 image decoder.
Definition in file jpeg2000dec.c.
#define JP2_SIG_TYPE 0x6A502020 |
Definition at line 38 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
#define JP2_SIG_VALUE 0x0D0A870A |
Definition at line 39 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
#define JP2_CODESTREAM 0x6A703263 |
Definition at line 40 of file jpeg2000dec.c.
Referenced by jp2_find_codestream().
#define JP2_HEADER 0x6A703268 |
Definition at line 41 of file jpeg2000dec.c.
Referenced by jp2_find_codestream().
#define HAD_COC 0x01 |
Definition at line 43 of file jpeg2000dec.c.
#define HAD_QCC 0x02 |
Definition at line 44 of file jpeg2000dec.c.
#define RGB_PIXEL_FORMATS AV_PIX_FMT_PAL8,AV_PIX_FMT_RGB24,AV_PIX_FMT_RGBA,AV_PIX_FMT_RGB48,AV_PIX_FMT_RGBA64 |
Definition at line 198 of file jpeg2000dec.c.
#define GRAY_PIXEL_FORMATS AV_PIX_FMT_GRAY8,AV_PIX_FMT_GRAY8A,AV_PIX_FMT_GRAY16 |
Definition at line 199 of file jpeg2000dec.c.
#define YUV_PIXEL_FORMATS |
Definition at line 200 of file jpeg2000dec.c.
#define XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12 |
Definition at line 211 of file jpeg2000dec.c.
#define OFFSET | ( | x | ) | offsetof(Jpeg2000DecoderContext, x) |
Definition at line 1696 of file jpeg2000dec.c.
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 1697 of file jpeg2000dec.c.
|
static |
Definition at line 102 of file jpeg2000dec.c.
Referenced by getlblockinc(), getnpasses(), jpeg2000_decode_packet(), and tag_tree_decode().
|
static |
Definition at line 117 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 125 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 163 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 224 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 364 of file jpeg2000dec.c.
|
static |
Definition at line 430 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 465 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 493 of file jpeg2000dec.c.
|
static |
Definition at line 538 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 554 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 576 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 632 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 666 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 701 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 716 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 727 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packets().
|
static |
Definition at line 822 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 931 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 961 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 983 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1046 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 1110 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 1125 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 1154 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 1211 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1379 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1399 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1500 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1519 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1619 of file jpeg2000dec.c.
Definition at line 1690 of file jpeg2000dec.c.
|
static |
Definition at line 213 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
Definition at line 214 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 215 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
Definition at line 216 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 217 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 1141 of file jpeg2000dec.c.
Referenced by mct_decode().
|
static |
Definition at line 1147 of file jpeg2000dec.c.
Referenced by mct_decode().
|
static |
Definition at line 1699 of file jpeg2000dec.c.
|
static |
Definition at line 1705 of file jpeg2000dec.c.
|
static |
Definition at line 1714 of file jpeg2000dec.c.
AVCodec ff_jpeg2000_decoder |
Definition at line 1721 of file jpeg2000dec.c.