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
3300b5f6
Commit
3300b5f6
authored
May 26, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j2k/jpeg2000 headers: Cblk/Prec cleanup & merge
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a1873f35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
j2k.h
libavcodec/j2k.h
+3
-0
jpeg2000.h
libavcodec/jpeg2000.h
+0
-1
No files found.
libavcodec/j2k.h
View file @
3300b5f6
...
...
@@ -167,8 +167,11 @@ typedef struct Jpeg2000Cblk {
typedef
struct
Jpeg2000Prec
{
uint16_t
xi0
,
xi1
,
yi0
,
yi1
;
// codeblock indexes ([xi0, xi1))
uint16_t
nb_codeblocks_width
;
uint16_t
nb_codeblocks_height
;
Jpeg2000TgtNode
*
zerobits
;
Jpeg2000TgtNode
*
cblkincl
;
Jpeg2000Cblk
*
cblk
;
}
Jpeg2000Prec
;
// precinct
typedef
struct
Jpeg2000Band
{
...
...
libavcodec/jpeg2000.h
View file @
3300b5f6
...
...
@@ -182,7 +182,6 @@ typedef struct Jpeg2000Prec {
typedef
struct
Jpeg2000Band
{
uint16_t
coord
[
2
][
2
];
// border coordinates {{x0, x1}, {y0, y1}}
uint16_t
log2_cblk_width
,
log2_cblk_height
;
uint16_t
cblknx
,
cblkny
;
float
stepsize
;
// quantization stepsize
Jpeg2000Prec
*
prec
;
}
Jpeg2000Band
;
// subband
...
...
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