Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
81be0965
Commit
81be0965
authored
May 26, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2k: merge Jpeg2000CodingStyle from jpeg2000
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4758e32a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
j2k.h
libavcodec/j2k.h
+14
-9
No files found.
libavcodec/j2k.h
View file @
81be0965
...
...
@@ -63,6 +63,8 @@ enum Jpeg2000Quantsty{ ///< quantization style
#define JPEG2000_MAX_CBLKW 64
#define JPEG2000_MAX_CBLKH 64
#define JPEG2000_MAX_RESLEVELS 33
// T1 flags
// flags determining significance of neighbour coefficients
#define JPEG2000_T1_SIG_N 0x0001
...
...
@@ -112,17 +114,20 @@ typedef struct Jpeg2000TgtNode {
struct
Jpeg2000TgtNode
*
parent
;
}
Jpeg2000TgtNode
;
typedef
struct
{
uint8_t
nreslevels
;
//
/<
number of resolution levels
typedef
struct
Jpeg2000CodingStyle
{
uint8_t
nreslevels
;
// number of resolution levels
uint8_t
log2_cblk_width
,
log2_cblk_height
;
//
/<
exponent of codeblock size
uint8_t
transform
;
//
/<
DWT type
uint8_t
csty
;
//
/<
coding style
log2_cblk_height
;
// exponent of codeblock size
uint8_t
transform
;
// DWT type
uint8_t
csty
;
// coding style
uint8_t
log2_prec_width
,
log2_prec_height
;
///< precinct size
uint8_t
nlayers
;
///< number of layers
uint8_t
mct
;
///< multiple component transformation
uint8_t
cblk_style
;
///< codeblock coding style
log2_prec_height
;
// precinct size
uint8_t
nlayers
;
// number of layers
uint8_t
mct
;
// multiple component transformation
uint8_t
cblk_style
;
// codeblock coding style
uint8_t
prog_order
;
// progression order
uint8_t
log2_prec_widths
[
JPEG2000_MAX_RESLEVELS
];
// precincts size according resolution levels
uint8_t
log2_prec_heights
[
JPEG2000_MAX_RESLEVELS
];
// TODO: initialize prec_size array with 0?
}
Jpeg2000CodingStyle
;
typedef
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment