FFmpeg
|
JPEG 2000 image decoder. More...
#include <inttypes.h>
#include <math.h>
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "thread.h"
#include "jpeg2000.h"
#include "jpeg2000dsp.h"
#include "profiles.h"
Go to the source code of this file.
Data Structures | |
struct | Jpeg2000POCEntry |
struct | Jpeg2000POC |
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 | MAX_POCS 32 |
#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,AV_PIX_FMT_YA16 |
#define | YUV_PIXEL_FORMATS |
#define | XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12 |
#define | WRITE_FRAME(D, PIXEL) |
#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 [] |
static enum AVPixelFormat | all_pix_fmts [] |
static const AVOption | options [] |
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 46 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
#define JP2_SIG_VALUE 0x0D0A870A |
Definition at line 47 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
#define JP2_CODESTREAM 0x6A703263 |
Definition at line 48 of file jpeg2000dec.c.
Referenced by jp2_find_codestream().
#define JP2_HEADER 0x6A703268 |
Definition at line 49 of file jpeg2000dec.c.
Referenced by jp2_find_codestream().
#define HAD_COC 0x01 |
Definition at line 51 of file jpeg2000dec.c.
#define HAD_QCC 0x02 |
Definition at line 52 of file jpeg2000dec.c.
#define MAX_POCS 32 |
Definition at line 54 of file jpeg2000dec.c.
Referenced by get_poc().
#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 232 of file jpeg2000dec.c.
#define GRAY_PIXEL_FORMATS AV_PIX_FMT_GRAY8,AV_PIX_FMT_GRAY8A,AV_PIX_FMT_GRAY16,AV_PIX_FMT_YA16 |
Definition at line 233 of file jpeg2000dec.c.
#define YUV_PIXEL_FORMATS |
Definition at line 234 of file jpeg2000dec.c.
#define XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12 |
Definition at line 245 of file jpeg2000dec.c.
Definition at line 1750 of file jpeg2000dec.c.
#define OFFSET | ( | x | ) | offsetof(Jpeg2000DecoderContext, x) |
Definition at line 2244 of file jpeg2000dec.c.
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 2245 of file jpeg2000dec.c.
|
static |
Definition at line 132 of file jpeg2000dec.c.
Referenced by getlblockinc(), getnpasses(), jpeg2000_decode_packet(), and tag_tree_decode().
|
static |
Definition at line 147 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 155 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 195 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 259 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 449 of file jpeg2000dec.c.
|
static |
Definition at line 524 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 561 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 591 of file jpeg2000dec.c.
|
static |
Definition at line 636 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 654 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 675 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 737 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 798 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 832 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 848 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 894 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 909 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 920 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packets_po_iteration().
|
static |
Definition at line 1093 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packets().
|
static |
Definition at line 1368 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 1405 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1435 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1459 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1525 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
static |
Definition at line 1610 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
static |
Definition at line 1625 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
static |
Definition at line 1645 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
inlinestatic |
Definition at line 1659 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
inlinestatic |
Definition at line 1687 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 1812 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1851 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1874 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 1993 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2012 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
Definition at line 2155 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_init().
|
static |
Definition at line 2161 of file jpeg2000dec.c.
|
static |
Definition at line 2172 of file jpeg2000dec.c.
|
static |
Definition at line 247 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
Definition at line 248 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 249 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
|
static |
|
static |
Definition at line 2247 of file jpeg2000dec.c.
|
static |
Definition at line 2253 of file jpeg2000dec.c.
AVCodec ff_jpeg2000_decoder |
Definition at line 2260 of file jpeg2000dec.c.