FFmpeg
|
#include <inttypes.h>
#include <math.h>
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "thread.h"
#include "jpeg2000.h"
#include "jpeg2000dsp.h"
#include "profiles.h"
#include "jpeg2000dec.h"
#include "jpeg2000htdec.h"
Go to the source code of this file.
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 | HT_MIXED 0x80 |
#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 |
Enumerations | |
enum | HT_PLHD_STATUS { HT_PLHD_OFF, HT_PLHD_ON } |
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 |
const FFCodec | ff_jpeg2000_decoder |
JPEG 2000 image decoder
Definition in file jpeg2000dec.c.
#define JP2_SIG_TYPE 0x6A502020 |
Definition at line 49 of file jpeg2000dec.c.
#define JP2_SIG_VALUE 0x0D0A870A |
Definition at line 50 of file jpeg2000dec.c.
#define JP2_CODESTREAM 0x6A703263 |
Definition at line 51 of file jpeg2000dec.c.
#define JP2_HEADER 0x6A703268 |
Definition at line 52 of file jpeg2000dec.c.
#define HAD_COC 0x01 |
Definition at line 54 of file jpeg2000dec.c.
#define HAD_QCC 0x02 |
Definition at line 55 of file jpeg2000dec.c.
#define HT_MIXED 0x80 |
Definition at line 63 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 170 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 171 of file jpeg2000dec.c.
#define YUV_PIXEL_FORMATS |
Definition at line 172 of file jpeg2000dec.c.
#define XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12 |
Definition at line 183 of file jpeg2000dec.c.
Definition at line 2275 of file jpeg2000dec.c.
#define OFFSET | ( | x | ) | offsetof(Jpeg2000DecoderContext, x) |
Definition at line 2884 of file jpeg2000dec.c.
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 2885 of file jpeg2000dec.c.
enum HT_PLHD_STATUS |
Enumerator | |
---|---|
HT_PLHD_OFF | |
HT_PLHD_ON |
Definition at line 58 of file jpeg2000dec.c.
|
static |
Definition at line 70 of file jpeg2000dec.c.
Referenced by getlblockinc(), getnpasses(), jpeg2000_decode_packet(), and tag_tree_decode().
|
static |
Definition at line 85 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 93 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 133 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 197 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 424 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 492 of file jpeg2000dec.c.
|
static |
Definition at line 571 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 608 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 643 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 676 of file jpeg2000dec.c.
|
static |
Definition at line 721 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 739 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 760 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 822 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 875 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 885 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 901 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 936 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 958 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 982 of file jpeg2000dec.c.
Referenced by jpeg2000_read_main_headers().
|
static |
Definition at line 1016 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 1073 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 1088 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
inlinestatic |
Definition at line 1099 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
inlinestatic |
Definition at line 1111 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packet().
|
static |
Definition at line 1136 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packets_po_iteration().
|
static |
Definition at line 1544 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_packets().
|
static |
Definition at line 1835 of file jpeg2000dec.c.
Referenced by jpeg2000_read_bitstream_packets().
|
static |
Definition at line 1872 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1902 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1926 of file jpeg2000dec.c.
Referenced by decode_cblk().
|
static |
Definition at line 1992 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
inlinestatic |
Definition at line 2074 of file jpeg2000dec.c.
Referenced by roi_scale_cblk().
|
static |
Definition at line 2094 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
static |
Definition at line 2109 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
static |
Definition at line 2129 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
inlinestatic |
Definition at line 2143 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
inlinestatic |
Definition at line 2171 of file jpeg2000dec.c.
Referenced by tile_codeblocks().
|
inlinestatic |
Definition at line 2184 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_tile().
|
static |
Definition at line 2342 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2371 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2399 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2614 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2632 of file jpeg2000dec.c.
Referenced by jpeg2000_decode_frame().
|
static |
Definition at line 2781 of file jpeg2000dec.c.
|
static |
Definition at line 2799 of file jpeg2000dec.c.
|
static |
Definition at line 185 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
Definition at line 186 of file jpeg2000dec.c.
Referenced by get_siz(), and query_formats().
|
static |
Definition at line 187 of file jpeg2000dec.c.
Referenced by geq_query_formats(), and get_siz().
|
static |
Definition at line 188 of file jpeg2000dec.c.
Referenced by get_siz().
|
static |
Definition at line 190 of file jpeg2000dec.c.
Referenced by get_siz(), and query_formats().
|
static |
Definition at line 2887 of file jpeg2000dec.c.
|
static |
Definition at line 2893 of file jpeg2000dec.c.
const FFCodec ff_jpeg2000_decoder |
Definition at line 2900 of file jpeg2000dec.c.