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
0f5b9965
Commit
0f5b9965
authored
Jun 30, 2015
by
Carl Eugen Hoyos
Committed by
Michael Niedermayer
Jun 30, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/j2kenc: Make jp2 output compatible with Kakadu.
Fixes ticket #4689.
parent
e97ec656
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
16 deletions
+17
-16
j2kenc.c
libavcodec/j2kenc.c
+1
-0
vsynth1-jpeg2000
tests/ref/vsynth/vsynth1-jpeg2000
+2
-2
vsynth1-jpeg2000-97
tests/ref/vsynth/vsynth1-jpeg2000-97
+2
-2
vsynth2-jpeg2000
tests/ref/vsynth/vsynth2-jpeg2000
+2
-2
vsynth2-jpeg2000-97
tests/ref/vsynth/vsynth2-jpeg2000-97
+2
-2
vsynth3-jpeg2000
tests/ref/vsynth/vsynth3-jpeg2000
+2
-2
vsynth3-jpeg2000-97
tests/ref/vsynth/vsynth3-jpeg2000-97
+2
-2
vsynth_lena-jpeg2000
tests/ref/vsynth/vsynth_lena-jpeg2000
+2
-2
vsynth_lena-jpeg2000-97
tests/ref/vsynth/vsynth_lena-jpeg2000-97
+2
-2
No files found.
libavcodec/j2kenc.c
View file @
0f5b9965
...
...
@@ -982,6 +982,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
bytestream_put_buffer
(
&
s
->
buf
,
"ftyp"
,
4
);
bytestream_put_buffer
(
&
s
->
buf
,
"jp2
\040\040
"
,
4
);
bytestream_put_be32
(
&
s
->
buf
,
0
);
bytestream_put_buffer
(
&
s
->
buf
,
"jp2
\040
"
,
4
);
update_size
(
chunkstart
,
s
->
buf
);
jp2hstart
=
s
->
buf
;
...
...
tests/ref/vsynth/vsynth1-jpeg2000
View file @
0f5b9965
c742e656f20e6f4dfcf39d3c00a4d78c
*tests/data/fate/vsynth1-jpeg2000.avi
2265
4
98 tests/data/fate/vsynth1-jpeg2000.avi
d2a06ad916711d29b30977a06335bb76
*tests/data/fate/vsynth1-jpeg2000.avi
2265
6
98 tests/data/fate/vsynth1-jpeg2000.avi
15a8e49f6fd014193bbafd72f84936c7 *tests/data/fate/vsynth1-jpeg2000.out.rawvideo
stddev: 5.36 PSNR: 33.55 MAXDIFF: 61 bytes: 7603200/ 7603200
tests/ref/vsynth/vsynth1-jpeg2000-97
View file @
0f5b9965
a19cc0e1a1c1bf76ff5a0b63a0bdfbd1
*tests/data/fate/vsynth1-jpeg2000-97.avi
3654
4
20 tests/data/fate/vsynth1-jpeg2000-97.avi
8bb707e596f97451fd325dec2dd610a7
*tests/data/fate/vsynth1-jpeg2000-97.avi
3654
6
20 tests/data/fate/vsynth1-jpeg2000-97.avi
5073771a78e1f5366a7eb0df341662fc *tests/data/fate/vsynth1-jpeg2000-97.out.rawvideo
stddev: 4.23 PSNR: 35.59 MAXDIFF: 53 bytes: 7603200/ 7603200
tests/ref/vsynth/vsynth2-jpeg2000
View file @
0f5b9965
6
18d3b5c498a0fde4debce5235fcc334
*tests/data/fate/vsynth2-jpeg2000.avi
1494
3
16 tests/data/fate/vsynth2-jpeg2000.avi
6
c2f979e4a33a36f36aec86f2d464143
*tests/data/fate/vsynth2-jpeg2000.avi
1494
5
16 tests/data/fate/vsynth2-jpeg2000.avi
36afd96d6e55bc83166fd615351ba366 *tests/data/fate/vsynth2-jpeg2000.out.rawvideo
stddev: 5.00 PSNR: 34.15 MAXDIFF: 59 bytes: 7603200/ 7603200
tests/ref/vsynth/vsynth2-jpeg2000-97
View file @
0f5b9965
b86217f0bcbd84a9368ad3f98af32157
*tests/data/fate/vsynth2-jpeg2000-97.avi
2448
5
06 tests/data/fate/vsynth2-jpeg2000-97.avi
2e43f004a55f4a55a19c4b79fc8e8743
*tests/data/fate/vsynth2-jpeg2000-97.avi
2448
7
06 tests/data/fate/vsynth2-jpeg2000-97.avi
a6e2453118a0de135836a868b2ca0e60 *tests/data/fate/vsynth2-jpeg2000-97.out.rawvideo
stddev: 3.23 PSNR: 37.94 MAXDIFF: 29 bytes: 7603200/ 7603200
tests/ref/vsynth/vsynth3-jpeg2000
View file @
0f5b9965
6a0f2a14f6b4628c8c51c360d7355093
*tests/data/fate/vsynth3-jpeg2000.avi
65
3
48 tests/data/fate/vsynth3-jpeg2000.avi
0b8aa8113c10772cffff60f9c8ffd902
*tests/data/fate/vsynth3-jpeg2000.avi
65
5
48 tests/data/fate/vsynth3-jpeg2000.avi
2d8bd94d558755c47d7e23fd9556e164 *tests/data/fate/vsynth3-jpeg2000.out.rawvideo
stddev: 5.48 PSNR: 33.34 MAXDIFF: 47 bytes: 86700/ 86700
tests/ref/vsynth/vsynth3-jpeg2000-97
View file @
0f5b9965
5e17fdaae1a22f3eef8c82b512e4b1b9
*tests/data/fate/vsynth3-jpeg2000-97.avi
83
6
70 tests/data/fate/vsynth3-jpeg2000-97.avi
b6c88a623c3296ca945346d2203f0af0
*tests/data/fate/vsynth3-jpeg2000-97.avi
83
8
70 tests/data/fate/vsynth3-jpeg2000-97.avi
0cd707bfb1bbe5312b00c094f695b1fa *tests/data/fate/vsynth3-jpeg2000-97.out.rawvideo
stddev: 4.52 PSNR: 35.02 MAXDIFF: 47 bytes: 86700/ 86700
tests/ref/vsynth/vsynth_lena-jpeg2000
View file @
0f5b9965
90976c5b9539111b33a46b4c882a3cb0
*tests/data/fate/vsynth_lena-jpeg2000.avi
113
78
54 tests/data/fate/vsynth_lena-jpeg2000.avi
1f2cf6061c78905b8011091a9a7c425f
*tests/data/fate/vsynth_lena-jpeg2000.avi
113
80
54 tests/data/fate/vsynth_lena-jpeg2000.avi
955653ca7a08447e7b1501b444f24562 *tests/data/fate/vsynth_lena-jpeg2000.out.rawvideo
stddev: 4.40 PSNR: 35.25 MAXDIFF: 58 bytes: 7603200/ 7603200
tests/ref/vsynth/vsynth_lena-jpeg2000-97
View file @
0f5b9965
ca78db12e1af7cbf44fdce165aaa5130
*tests/data/fate/vsynth_lena-jpeg2000-97.avi
1918
7
56 tests/data/fate/vsynth_lena-jpeg2000-97.avi
e5a756e97910420c90e76259c56261cb
*tests/data/fate/vsynth_lena-jpeg2000-97.avi
1918
9
56 tests/data/fate/vsynth_lena-jpeg2000-97.avi
93a4ba0c230f2430a813df594676e58a *tests/data/fate/vsynth_lena-jpeg2000-97.out.rawvideo
stddev: 2.84 PSNR: 39.04 MAXDIFF: 28 bytes: 7603200/ 7603200
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