From: Osamu Watanabe <65328111+osamu...@users.noreply.github.com>
Fix http://trac.ffmpeg.org/ticket/10121
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/libavcodec/jpeg2000dec.c b/liba
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 10 +
libavcodec/jpeg2000dec.c | 454 ++---
libavcodec/jpeg2000dec.h | 7 +
libavcodec/jpeg2000htdec.c | 225 ++
libavcodec/jpeg2000htdec.h | 2 +-
5 files changed, 518
This is the same as
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240607002549.2259139-1-owata...@es.takushoku-u.ac.jp/
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/libavcodec/jpeg2000dec.c b
This v2
- fixes the regression indicated in Message-ID: <20240615201144.GB4991@pb2>
by counting the number of necessary terminations for non HT code blocks with
the existing code.
- drops the commit that was recently merged.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h
This commit adds suuport for CAP and CPF markers
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h| 8 +++
libavcodec/jpeg2000dec.c | 112 ++-
libavcodec/jpeg2000dec.h | 7 +++
3 files changed, 126 insertions(+), 1 deletion(-)
diff --git a
This commit adds support for placeholder pass parsing
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 292 +++--
libavcodec/jpeg2000htdec.c | 18 +--
3 files changed, 257 insertions(+), 55 deletions(-)
diff
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in
HT block decoding.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 79 +++---
libavcodec/jpeg2000htdec.c | 208 +
libavcodec/jpeg2000htdec.h | 2 +-
3 files
/?series=12199).
The suggested modifications have been made according to the discussion
on this mailing list.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h| 8 +++
libavcodec/jpeg2000dec.c | 112 ++-
libavcodec/jpeg2000dec.h | 7 +++
3 files
This commit adds support for placeholder pass parsing
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 352 +
libavcodec/jpeg2000htdec.c | 90 +-
3 files changed, 326 insertions(+), 118 deletions
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in HT block
decoding.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 +--
libavcodec/jpeg2000htdec.c | 136 ++---
libavcodec/jpeg2000htdec.h | 2 +-
3 files changed, 89
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h| 8 +++
libavcodec/jpeg2000dec.c | 128 ++-
libavcodec/jpeg2000dec.h | 7 +++
3 files changed, 142 insertions(+), 1 deletion(-)
diff --git a/libavcodec/jpeg2000.h b/libavcodec/jpeg2000.h
index
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 352 +
libavcodec/jpeg2000htdec.c | 90 +-
3 files changed, 326 insertions(+), 118 deletions(-)
diff --git a/libavcodec/jpeg2000.h b/libavcodec
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 +--
libavcodec/jpeg2000htdec.c | 136 ++---
libavcodec/jpeg2000htdec.h | 2 +-
3 files changed, 89 insertions(+), 60 deletions(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec
This commit adds support for CAP and CPF markers. Decoder will exit when
encountering an illegal codestream.
It is confirmed that the decoder passes all the test cases in FATE and
ISO/IEC 15444-4.
The subject was wrong in the v5 set of patches. The v6 corrects it.
Signed-off-by: Osamu Watanabe
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in HT block
decoding.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 +--
libavcodec/jpeg2000htdec.c | 136 ++---
libavcodec/jpeg2000htdec.h | 2 +-
3 files changed, 89
This commit adds support for placeholder pass parsing.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 352 +
libavcodec/jpeg2000htdec.c | 90 +-
3 files changed, 326 insertions(+), 118 deletions
This commit adds support for CAP and CPF markers. Decoding will exit when
encountering Ilegal input codestreams.
The variable `Jpeg2000DecoderContext->HT_MAGB` has been changed to `HT_B`
according to the definition in the spec (ISO/IEC 15444-15).
Signed-off-by: Osamu Watanabe
---
libavco
This commit adds support for placeholder pass parsing.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 352 +
libavcodec/jpeg2000htdec.c | 90 +-
3 files changed, 326 insertions(+), 118 deletions
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in HT block
decoding.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 +--
libavcodec/jpeg2000htdec.c | 136 ++---
libavcodec/jpeg2000htdec.h | 2 +-
3 files changed, 89
This commit adds support for CAP and CPF markers. Decoding will exit when
encountering Ilegal input codestreams.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h| 8 +++
libavcodec/jpeg2000dec.c | 134 ++-
libavcodec/jpeg2000dec.h | 7 ++
3
This commit adds support for placeholder pass parsing.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.h | 2 +
libavcodec/jpeg2000dec.c | 352 +
libavcodec/jpeg2000dec.h | 2 +-
libavcodec/jpeg2000htdec.c | 90 +-
4 files changed
This commit fixes wrong treatment of MAGBP value in Ccap15 and bugs in HT block
decoding.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 11 +--
libavcodec/jpeg2000htdec.c | 144 ++---
libavcodec/jpeg2000htdec.h | 2 +-
3 files changed, 93
From: OSAMU WATANABE
This commit fixes the problem described below on the integer version of the
inverse DWT processing (FF_DWT97_INT, https://trac.ffmpeg.org/ticket/10123),
which is activated with `-flags +bitexact`.
- Problem
- The tests for the following codestreams were filed with
The FATE refs are updated to reflect changes in the [PATCH 1/2].
Signed-off-by: Osamu Watanabe
---
tests/ref/fate/jpeg2000dec-p0_04 | 2 +-
tests/ref/fate/jpeg2000dec-p0_05 | 2 +-
tests/ref/fate/jpeg2000dec-p0_09 | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/ref
From: OSAMU WATANABE
This commit fixes the problem described below on the integer version of the
inverse DWT processing (FF_DWT97_INT, https://trac.ffmpeg.org/ticket/10123),
which is activated with `-flags +bitexact`.
- Problem
- The tests for the following codestreams were filed with
Signed-off-by: Osamu Watanabe
---
tests/ref/fate/j2k-dwt | 59
tests/ref/fate/jpeg2000-dcinema | 4 +--
tests/ref/fate/jpeg2000dec-p0_04 | 2 +-
tests/ref/fate/jpeg2000dec-p0_05 | 2 +-
tests/ref/fate/jpeg2000dec-p0_09 | 2 +-
5 files changed, 5
`.
- p0_04.j2k, p0_05.j2k, p0_09.j2k, p1_02.j2k, p1_03.j2k, p1_06.j2k.
- ds0_ht_04_b11.j2k, ds0_ht_04_b12.j2k, ds0_ht_05_b11.j2k,
ds0_ht_05_b12.j2k, ds0_ht_09_b11.j2k, ds1_ht_02_b11.j2k, ds1_ht_02_b12.j2k,
ds1_ht_03_b11.j2k, ds1_ht_03_b12.j2k, ds1_ht_06_b11.j2k.
Signed-off-by: Osamu Watanabe
Signed-off-by: Osamu Watanabe
---
tests/ref/fate/j2k-dwt| 59 ---
tests/ref/fate/jpeg2000-dcinema | 4 +-
tests/ref/fate/jpeg2000dec-p0_04 | 2 +-
tests/ref/fate/jpeg2000dec-p0_05 | 2 +-
tests/ref/fate
comes from the insufficient precision of the fixed-point
implementation of the 9-7 DWT.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000.c| 6 ++
libavcodec/jpeg2000dec.c | 2 +-
libavcodec/jpeg2000dwt.c | 43 +++-
3 files changed, 28
Signed-off-by: Osamu Watanabe
---
tests/ref/fate/j2k-dwt | 59
tests/ref/fate/jpeg2000-dcinema | 4 +-
tests/ref/fate/jpeg2000dec-p0_04 | 2 +-
tests/ref/fate/jpeg2000dec-p0_05 | 2 +-
tests/ref/fate/jpeg2000dec-p0_09
, the encoded codestream size is slightly larger for a given Q value.
For example, `-flags +bitexact -i lena.pnm -q: 20 -format j2k -y tmp.j2c`
gives 13K (HEAD) and 19K (with this patch).
This commit also updates the source and reference files for affected FATE tests.
Signed-off-by: Osamu Watanabe
, the encoded codestream size is slightly larger for a given Q
value. For example, -flags +bitexact -i lena.pnm -q: 20 -format j2k -y tmp.j2c
gives 13K (HEAD) and 19K (with this patch).
This commit also updates the source and reference files for affected FATE tests.
Signed-off-by: Osamu Watanabe
, the encoded codestream size is slightly larger for a given Q value.
For example, `-flags +bitexact -i lena.pnm -q: 20 -format j2k -y tmp.j2c`
gives 13K (HEAD) and 19K (with this patch).
This commit also updates the source and reference files for affected FATE tests.
Signed-off-by: Osamu Watanabe
This patch fixes undefined behaviour error in left shift
operations in jpeg2000dec.c and jpeg2000htdec.c.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 6 +++---
libavcodec/jpeg2000htdec.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec
This patch fixes undefined behaviour error in left shift
operations in jpeg2000dec.c, jpeg2000htdec.c, and
libavcodec/tests/jpeg2000dwt.c.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 6 +++---
libavcodec/jpeg2000htdec.c | 6 +++---
libavcodec/tests/jpeg2000dwt.c | 2
This patch fixes undefined behaviour error in left shift
operations in jpeg2000dec.c and jpeg2000htdec.c.
Signed-off-by: Osamu Watanabe
---
libavcodec/jpeg2000dec.c | 6 +++---
libavcodec/jpeg2000htdec.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec
36 matches
Mail list logo