On Tue, Feb 13, 2024 at 6:39 PM Frank Plowman wrote:
> On 13/02/2024 02:30, Nuo Mi wrote:
> > fc->ref points to an old VVCFrame, which cannot be used after
> frame_context_setup.
> > This prevents crashes in decode_nal_units-->ff_vvc_report_frame_finished.
> >
&g
On Thu, Feb 15, 2024 at 7:54 PM wrote:
> From: Frank Plowman
>
> The PPS should be used instead of the SPS to get the current picture's
> dimensions. Using the SPS can cause issues if the resolution changes
> mid-sequence. In particular, it was leading to invalid memory accesses
> if the resol
Hi Frank,
Thank you for the patch.
The IBC is working on my side. I will send out the patch in the following
weeks.
Could you send me the fuzz file? I want to ensure that it will not cause my
patch to crash.
On Sat, Feb 17, 2024 at 10:48 PM Frank Plowman
wrote:
> IBC is not yet implemented. Fai
On Tue, Feb 20, 2024 at 7:24 AM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Andreas Rheinhardt:
> > max_bin_idx can be at most LMCS_MAX_BIN_SIZE - 1 here,
> > so pivot[LCMS_MAX_BIN_SIZE + 1] may be accessed,
> > but pivot has only LCMS_MAX_BIN_SIZE + 1 elements
> > (unless the va
*** BLURB HERE ***
Nuo Mi (8):
avcodec/vvcdec: refact out deblock_bs to reduce duplicate code
avcodec/vvcdec: set CuPredMode table for chroma
avcodec/vvcdec: deblock_bs, fix intra check for IBC
avcodec/vvcdec: cabac, fix non_inter_flag, pred_mode_flag, amvr_shift
for IBC
avcodec
follow the spec
---
libavcodec/vvc/vvc_ctu.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index 36f98f5f2b..2e48f7bed8 100644
--- a/libavcodec/vvc/vvc_ctu.c
+++ b/libavcodec/vvc/vvc_ctu.c
@@ -1227,9 +1227,12 @@ stati
From: Wu Jianhua
Signed-off-by: Wu Jianhua
Signed-off-by: Nuo Mi
---
libavcodec/vvc/vvc_ctu.c | 9 +--
libavcodec/vvc/vvc_ctu.h | 3 +++
libavcodec/vvc/vvc_mvs.c | 53 ++--
3 files changed, 44 insertions(+), 21 deletions(-)
diff --git a/libavcodec
For IBC, we'll utilize the check_available function.
However, neither MVP nor merge mode need to check the motion estimation region.
Let's rename it to avoid confusion.
---
libavcodec/vvc/vvc_mvs.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/libavcodec/v
From: Wu Jianhua
Co-authored-by: Nuo Mi
---
libavcodec/vvc/vvc_ctu.c | 76 +-
libavcodec/vvc/vvc_ctu.h | 1 +
libavcodec/vvc/vvc_mvs.c | 113 ++-
libavcodec/vvc/vvc_mvs.h | 2 +
4 files changed, 177 insertions(+), 15 deletions
LOSSLESS_B_HHI_3.bit
Signed-off-by: Wu Jianhua
Signed-off-by: Nuo Mi
---
libavcodec/vvc/vvc_intra.c | 81 ++
libavcodec/vvc/vvcdec.c| 25
libavcodec/vvc/vvcdec.h| 3 ++
3 files changed, 109 insertions(+)
diff --git a/libavcodec/vvc
---
libavcodec/vvc/vvc_ctu.c | 2 +-
libavcodec/vvc/vvc_mvs.c | 4 ++--
libavcodec/vvc/vvc_mvs.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index b78a1417c7..00476c81e4 100644
--- a/libavcodec/vvc/vvc_ctu.c
+++ b/libav
fix IBC_E_Tencent_1.bit
---
libavcodec/vvc/vvc_ctu.c | 24 +++-
libavcodec/vvc/vvc_intra.c | 6 --
2 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index 00476c81e4..2cf6e82f26 100644
--- a/libavcodec/vv
Intra Block Copy relies on reconstructed pixels from the current frame.
We skip IBC during the inter prediction stage and handle it during the
reconstruction stage.
---
libavcodec/vvc/vvc_inter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vvc/vvc_inter.c b/liba
---
libavcodec/vvc/vvc_cabac.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavcodec/vvc/vvc_cabac.c b/libavcodec/vvc/vvc_cabac.c
index 4342dfc342..5e24a1b677 100644
--- a/libavcodec/vvc/vvc_cabac.c
+++ b/libavcodec/vvc/vvc_cabac.c
@@ -1196,10 +1196,10 @@ VVCSpl
---
libavcodec/vvc/vvc_filter.c | 176 +++-
1 file changed, 55 insertions(+), 121 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 5fa711c9e0..ca541fd997 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filt
An Intra Block Copy clip may use different modes for luma and chroma.
For example, MODE_IBC for luma and MODE_INTRA for chroma.
We have to check luma and chroma CuPredMode (cpm) separately.
---
libavcodec/vvc/vvc_filter.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/li
On Wed, Feb 21, 2024 at 7:10 PM J. Dekker wrote:
> Over/underflow in some cases.
>
> Signed-off-by: J. Dekker
> ---
> libavcodec/x86/hevcdsp_init.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
> i
On Thu, Feb 22, 2024 at 3:15 PM Nuo Mi wrote:
> From: Wu Jianhua
>
> Introduction at https://ieeexplore.ieee.org/document/9408666
>
> passed files:
> 10b444_A_Kwai_3.bit
> 10b444_B_Kwai_3.bit
> CodingToolsSets_D_Tencent_2.bit
> IBC_A_Tencent_2.bi
applied, thank you Fei
On Fri, Feb 23, 2024 at 2:27 PM wrote:
> From: Fei Wang
>
> Signed-off-by: Fei Wang
> ---
> libavcodec/vvc/vvc_ps.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/vvc/vvc_ps.h b/libavcodec/vvc/vvc_ps.h
> index 5adf3f3453..1164d0eab6
On Fri, Feb 23, 2024 at 9:03 PM Nuo Mi wrote:
>
>
> On Thu, Feb 22, 2024 at 3:15 PM Nuo Mi wrote:
>
>> From: Wu Jianhua
>>
>> Introduction at https://ieeexplore.ieee.org/document/9408666
>>
>> passed files:
>>
On Sat, Feb 24, 2024 at 9:20 PM Ronald S. Bultje wrote:
> Hi,
>
> On Thu, Feb 22, 2024 at 2:15 AM Nuo Mi wrote:
>
>> +static void ibc_fill_vir_buf(const VVCLocalContext *lc, const CodingUnit
>> *cu)
>> [..]
>>
> +av_image_copy_plane(ibc_buf, ibc_s
On Mon, Feb 26, 2024 at 5:20 AM Frank Plowman wrote:
> On 25/02/2024 19:50, James Almer wrote:
> > On 2/25/2024 2:51 PM, Frank Plowman wrote:
> >> The spec says "the value of sps_num_subpics_minus1 shall be in the
> >> range of 0 to MaxSlicesPerAu − 1, inclusive."
> >>
> >> Signed-off-by: Frank P
pushed, thank you, Andreas.
On Fri, Mar 1, 2024 at 7:51 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Signed-off-by: Andreas Rheinhardt
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index 574c9bf5f6..b5b233e
Pushed the VVC patch.
Thank you, Michael.
On Wed, Feb 28, 2024 at 6:47 AM Michael Niedermayer
wrote:
> Fixes: division by 0
> Fixes:
> 67008/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-5873503163187200
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz
The following cases should set bs to 1:
If the prediction modes are not the same.
If both prediction modes are MODE_IBC, but the motion vector delta is larger
than 8 of 1/16 pixels.
see 8.8.3.5
How to reproduce it:
vvencapp -i sintel_trailer_2k_1080p24.y4m --preset fast --additional "IBC=1" -o
s
libavcodec/vvc/vvc_inter.c:823:18: runtime error: signed integer overflow:
1426128896 + 1426128896 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
libavcodec/vvc/vvc_inter.c:823:18
---
libavcodec/vvc/vvc_inter.c | 15 +--
1 file changed, 9
libavcodec/vvc/vvc_inter.c:823:18: runtime error: signed integer overflow:
1426128896 + 1426128896 cannot be represented in type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
libavcodec/vvc/vvc_inter.c:823:18
Suggested-by: Andreas Rheinhardt
---
libavcodec/vvc/vvc_inter.c | 11
On Sun, Mar 3, 2024 at 2:43 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Nuo Mi:
> > libavcodec/vvc/vvc_inter.c:823:18: runtime error: signed integer
> overflow: 1426128896 + 1426128896 cannot be represented in type 'int'
> > SUMMARY: Und
Thank you, Jianhua.
This patch mixes many things.
Could you help split it into smaller, more atomic patches?
For example, one for moving code blocks and another for fixing
--disable-ssse3.
On Fri, Mar 1, 2024 at 1:42 AM wrote:
> From: Wu Jianhua
>
> Signed-off-by: Wu Jianhua
> ---
> libavcode
On Sun, Mar 3, 2024 at 10:04 PM Nuo Mi wrote:
> libavcodec/vvc/vvc_inter.c:823:18: runtime error: signed integer overflow:
> 1426128896 + 1426128896 cannot be represented in type 'int'
> SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
> libavcodec/vvc/vvc_inter.c:8
On Sat, Mar 2, 2024 at 10:05 PM Nuo Mi wrote:
> The following cases should set bs to 1:
> If the prediction modes are not the same.
> If both prediction modes are MODE_IBC, but the motion vector delta is
> larger than 8 of 1/16 pixels.
> see 8.8.3.5
>
> How to reprod
Thank you, Fei,
Do you happen to know why the following clips are still failing?
CROP_A_Panasonic_4.bit
CROP_B_Panasonic_4.bit
https://github.com/ffvvc/tests/tree/main/conformance/failed/v1/CROP
On Fri, Mar 8, 2024 at 8:54 AM wrote:
> From: Fei Wang
>
> Signed-off-by: Fei Wang
> ---
> libav
Hi Fei,
Thank you fei,
Better provide more comments
Is there any clip fail for this?
On Fri, Mar 8, 2024 at 8:55 AM wrote:
> From: Fei Wang
>
> Signed-off-by: Fei Wang
> ---
> libavcodec/vvc/vvc_ps.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/vvc/vvc_p
On Fri, Mar 8, 2024 at 11:41 PM Kieran Kunhya wrote:
> On Fri, 8 Mar 2024 at 15:04, Frank Plowman wrote:
>
> > On 08/03/2024 14:04, James Almer wrote:
> > > On 3/8/2024 11:02 AM, Kieran Kunhya wrote:
> > >> On Fri, 8 Mar 2024 at 14:00, James Almer wrote:
> > >>
> > >>> On 3/3/2024 4:35 AM, Jean
On Mon, Mar 11, 2024 at 9:58 AM wrote:
> From: Fei Wang
>
> The NoOutputBeforeRecoveryFlag of an IDR frame should be set to 1 as
> spec says in 8.1.1.
>
Pushed.
Thank you, Fei.
>
> Signed-off-by: Fei Wang
> ---
> libavcodec/vvc/vvc_ps.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, Mar 12, 2024 at 5:09 PM Frank Plowman wrote:
> On 12/03/2024 03:33, Wang, Fei W wrote:
> > On Mon, 2024-03-11 at 21:57 -0300, James Almer wrote:
> >> On 3/11/2024 9:49 PM, Michael Niedermayer wrote:
> >>> On Mon, Mar 11, 2024 at 06:53:31PM +, Frank Plowman wrote:
> VVC's subpictu
On Fri, Mar 15, 2024 at 11:01 PM Frank Plowman
wrote:
> On 15/03/2024 10:22, Kieran Kunhya wrote:
> > On Thu, 14 Mar 2024, 22:54 Michael Niedermayer,
> > wrote:
> >
> >> On Wed, Feb 07, 2024 at 10:55:18PM +, Kieran Kunhya wrote:
> >>> On Wed, 7 Feb 2024 at 22:06, Paul B Mahol wrote:
> >>>
>
On Fri, Mar 15, 2024 at 11:05 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Frank Plowman:
> > On 15/03/2024 10:22, Kieran Kunhya wrote:
> >> On Thu, 14 Mar 2024, 22:54 Michael Niedermayer, >
> >> wrote:
> >>
> >>> On Wed, Feb 07, 2024 at 10:55:18PM +, Kieran Kunhya wrote:
see introductions here: https://dashif.org/docs/VVC%20HLS%20overview%20.pdf
Frank Plowman (1):
avcodec/vvcdec: support rectangular single-slice subpics
Nuo Mi (13):
avcodec/vvcdec: NoBackwardPredFlag, only check active pictures
avcodec/cbs_h266: fix sh_collocated_from_l0_flag and
we have to infer sh_collocated_from_l0_flag and sh_collocated_ref_idx from
picture head if pps_rpl_info_in_ph_flag is true
---
libavcodec/cbs_h266_syntax_template.c | 32 +--
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_templat
From: Frank Plowman
Co-authored-by: Nuo Mi
---
libavcodec/cbs_h266_syntax_template.c | 5 +-
libavcodec/vvc/vvc_ps.c | 93 +--
2 files changed, 91 insertions(+), 7 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec
see "8.3.6 Decoding process for collocated picture and no backward prediction"
---
libavcodec/vvc/vvc_mvs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c
index 6398fd3571..cf92202b5b 100644
--- a/libavcodec/vvc/vvc_mvs.c
+++
---
libavcodec/vvc/vvc_ps.c | 19 +++
libavcodec/vvc/vvc_ps.h | 4
2 files changed, 23 insertions(+)
diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/vvc_ps.c
index bb13b04a5d..bbd666307f 100644
--- a/libavcodec/vvc/vvc_ps.c
+++ b/libavcodec/vvc/vvc_ps.c
@@ -511,6 +511,
---
libavcodec/vvc/vvc_ctu.c | 4
libavcodec/vvc/vvc_ctu.h | 6 --
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index 75b9e73ae3..75d9f07143 100644
--- a/libavcodec/vvc/vvc_ctu.c
+++ b/libavcodec/vvc/vvc_ctu.c
@@ -2493,
passed files:
CodingToolsSets_E_Tencent_1.bit
SUBPIC_A_HUAWEI_3.bit
SUBPIC_B_HUAWEI_3.bit
SUBPIC_C_ERICSSON_1.bit
SUBPIC_D_ERICSSON_1.bit
SUBPIC_E_MediaTek_1.bit
passed dvb conformance files
(https://dvb.org/specifications/verification-validation/vvc-test-content):
VVC
---
libavcodec/vvc/vvc_filter.c | 66 +++--
1 file changed, 26 insertions(+), 40 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 10bd57e078..11972bde41 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filte
---
libavcodec/vvc/vvc_filter.c | 52 +
libavcodec/vvc/vvc_filter.h | 6 +++--
libavcodec/vvc/vvc_thread.c | 4 +--
3 files changed, 35 insertions(+), 27 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 11972bde41..ecb
---
libavcodec/vvc/vvc_ctu.c| 8 ++--
libavcodec/vvc/vvc_filter.c | 96 ++---
libavcodec/vvc/vvc_ps.c | 38 +++
3 files changed, 71 insertions(+), 71 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index 75d9f07143
This change also make the lc->sc assigned for run_sao
---
libavcodec/vvc/vvc_thread.c | 66 ++---
1 file changed, 17 insertions(+), 49 deletions(-)
diff --git a/libavcodec/vvc/vvc_thread.c b/libavcodec/vvc/vvc_thread.c
index 5d2e8c67b9..8f23b8138b 100644
--- a/liba
---
libavcodec/vvc/vvc_filter.c | 36 ++--
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index ecb004d245..1a3cd02a9f 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filter
---
libavcodec/vvc/vvc_filter.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 6b4c2050c7..de0816619b 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filter.c
@@ -1199,6 +1199,7 @@ void ff_vvc_alf_copy_
---
libavcodec/vvc/vvc_filter.c | 40 +
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/libavcodec/vvc/vvc_filter.c b/libavcodec/vvc/vvc_filter.c
index 1a3cd02a9f..6b4c2050c7 100644
--- a/libavcodec/vvc/vvc_filter.c
+++ b/libavcodec/vvc/vvc_filte
---
libavcodec/vvc/vvc_mvs.c | 33 +
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c
index cf92202b5b..37a2d0a228 100644
--- a/libavcodec/vvc/vvc_mvs.c
+++ b/libavcodec/vvc/vvc_mvs.c
@@ -200,10 +200
On Tue, Mar 19, 2024 at 6:18 PM Frank Plowman wrote:
> On 18/03/2024 14:16, Nuo Mi wrote:
> > see introductions here:
> https://dashif.org/docs/VVC%20HLS%20overview%20.pdf
> >
> > Frank Plowman (1):
> > avcodec/vvcdec: support rectangular single-slice subpics
>
On Wed, Mar 20, 2024 at 3:48 AM Frank Plowman wrote:
> The second part of this condition is intended to check whether the
> current quantisation group is in the first CTU column of the current
> tile. The issue is that ctb_to_col_bd gives the x-ordinate of the first
> column of the current tile
On Fri, Mar 22, 2024 at 6:36 PM Jun Zhao wrote:
> From: Jun Zhao
>
> small cleanup for style, redundant semicolons, goto labels,
> in FFmpeg, we put goto labels at brace level.
>
Pushed this patch.
Thanks, Jun
> Signed-off-by: Jun Zhao
> ---
> libavcodec/vvc_parser.c | 8
> 1 file c
On Thu, Mar 21, 2024 at 9:15 AM Michael Niedermayer
wrote:
> Fixes: out of array access
> Fixes:
> 67021/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4883576579489792
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by
if sh_picture_header_in_slice_header_flag is true
sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered from ph
---
libavcodec/cbs_h266_syntax_template.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_templat
if pps_alf_info_in_ph_flag is true
sh_alf_enabled_flag infered from ph
---
libavcodec/cbs_h266_syntax_template.c | 81 ---
1 file changed, 47 insertions(+), 34 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_syntax_template.c
index 85
---
libavcodec/cbs_h266_syntax_template.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_syntax_template.c
index 7277154c40..43b3346359 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/libavcodec/cbs_h266_syntax_template.c
@
if !ph_deblocking_params_present_flag is true,
ph_deblocking_filter_disabled_flag infered from pps
if !sh_deblocking_params_present_flag is true,
sh_deblocking_filter_disabled_flag infered from ph
---
libavcodec/cbs_h266_syntax_template.c | 76 ++-
1 file changed, 28 inse
---
libavcodec/cbs_h266.h | 3 +++
libavcodec/cbs_h266_syntax_template.c | 17 +
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 0196f46bc0..1d80c74feb 100644
--- a/libavcodec/cbs_h266.h
+++ b/liba
On Mon, Aug 7, 2023 at 11:17 PM James Almer wrote:
> On 8/7/2023 11:55 AM, Nuo Mi wrote:
> > if sh_picture_header_in_slice_header_flag is true
> > sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered
> from ph
> > ---
> > libavcodec/c
---
libavcodec/cbs_h266.h | 3 ++
libavcodec/cbs_h266_syntax_template.c | 43 +--
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 1d80c74feb..87a2d02cfd 100644
--- a/libavcodec/cbs_h266.h
---
libavcodec/cbs_h266.h | 1 +
libavcodec/cbs_h266_syntax_template.c | 41 +--
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 87a2d02cfd..3a6f6d96b5 100644
--- a/libavcodec/cbs_h266.h
+
---
libavcodec/cbs_h266_syntax_template.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_syntax_template.c
index b26d7c1a72..4075897b9a 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/li
if sh_picture_header_in_slice_header_flag is true
sh_lmcs_used_flag and sh_explicit_scaling_list_used_flag are infered from ph
Failed clips:
LMCS: CLM_A_KDDI_2.bit STILL444_A_KDDI_1.bit
Scaling: SCALING_B_InterDigital_1.bit SCALING_A_InterDigital_1.bit
---
libavcodec/cbs_h266_syntax_template.c |
if !ph_deblocking_params_present_flag is true,
ph_deblocking_filter_disabled_flag infered from pps
if !sh_deblocking_params_present_flag is true,
sh_deblocking_filter_disabled_flag infered from ph
Failed clips:
ENT444MAINTIER_C_Sony_3.bit
ENT444HIGHTIER_D_Sony_3.bit
---
libavcodec/cbs_h266_synt
if pps_alf_info_in_ph_flag is true
sh_alf_enabled_flag infered from ph
Failed clip:
LTRP_A_ERICSSON_3.bit
---
libavcodec/cbs_h266_syntax_template.c | 81 ---
1 file changed, 47 insertions(+), 34 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec
Failed clips:
TILE_E_Nokia_2.bit
TILE_D_Nokia_2.bit
LMCS_A_Dolby_3.bit
---
libavcodec/cbs_h266_syntax_template.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_syntax_template.c
index 7277154c40..43b3346359 100644
--- a/libavcodec/c
---
libavcodec/cbs_h266.h | 3 +++
libavcodec/cbs_h266_syntax_template.c | 17 +
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 0196f46bc0..1d80c74feb 100644
--- a/libavcodec/cbs_h266.h
+++ b/liba
---
libavcodec/cbs_h266.h | 3 ++
libavcodec/cbs_h266_syntax_template.c | 43 +--
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 1d80c74feb..87a2d02cfd 100644
--- a/libavcodec/cbs_h266.h
---
libavcodec/cbs_h266.h | 1 +
libavcodec/cbs_h266_syntax_template.c | 41 +--
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 87a2d02cfd..3a6f6d96b5 100644
--- a/libavcodec/cbs_h266.h
+
---
libavcodec/cbs_h266_syntax_template.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/libavcodec/cbs_h266_syntax_template.c
b/libavcodec/cbs_h266_syntax_template.c
index b26d7c1a72..4075897b9a 100644
--- a/libavcodec/cbs_h266_syntax_template.c
+++ b/li
v/null
+++ b/libavutil/executor.c
@@ -0,0 +1,201 @@
+/*
+ * Copyright (C) 2023 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Founda
On Tue, Aug 15, 2023 at 12:46 AM Michael Niedermayer
wrote:
> On Wed, Jul 19, 2023 at 09:13:00PM +0800, Nuo Mi wrote:
> > The executor design pattern was inroduced by java
> > <
> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor
On Thu, Aug 17, 2023 at 12:42 AM Rémi Denis-Courmont
wrote:
> Le tiistaina 15. elokuuta 2023, 17.50.13 EEST Nuo Mi a écrit :
> > The executor design pattern was inroduced by java
> > <
> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/conc
> > ur
>
> >> +if (pthread_create(&ti->thread, NULL, executor_worker_task,
> ti))
>
> executor_worker_task() doesn't exist if !HAVE_THREADS, so like i said
> above, wrap this for loop.
>
Not needed since pthread_create is defined to 0
>
>
___
ffmpeg-dev
>
>
>
> > +
> > +#if !HAVE_THREADS
> > +#define pthread_create(t, a, s, ar) 0
> > +#define pthread_join(t, r) do {} while(0)
> > +
> > +#define pthread_cond_init(c, a) 0
> > +#define pthread_cond_broadcast(c) do {} while(0)
> > +#define pthread_cond_signal(c)
On Tue, Aug 22, 2023 at 8:23 PM James Almer wrote:
> On 8/22/2023 9:03 AM, Nuo Mi wrote:
> > On Thu, Aug 17, 2023 at 12:42 AM Rémi Denis-Courmont
> > wrote:
> >
> >> Le tiistaina 15. elokuuta 2023, 17.50.13 EEST Nuo Mi a écrit :
> >>> The exe
&e->tasks; *prev && cb->priority_higher(*prev, t); prev =
&(*prev)->next)
+/* nothing */;
+add_task(prev, t);
+}
+ff_cond_signal(&e->cond);
+ff_mutex_unlock(&e->lock);
+
+#if !HAVE_THREADS
+// We are running in a single-th
On Tue, Aug 22, 2023 at 8:32 PM James Almer wrote:
>
> >>>
> >>
>
> "mem.h"->"avutil.h"->"common.h"->""->""->""
> >>
> >> Why would bits/pthreadtypes.h be available if there's no pthreads?
> >>
> > I guess it is related to POSIX. If you check , you will find
> > the following code:
> >
> > /* N
On Thu, Aug 17, 2023 at 12:36 AM Michael Niedermayer
wrote:
> On Tue, Aug 15, 2023 at 10:50:13PM +0800, Nuo Mi wrote:
> > The executor design pattern was inroduced by java
> > <
> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor
->tasks; *prev && cb->priority_higher(*prev, t); prev =
&(*prev)->next)
+/* nothing */;
+add_task(prev, t);
+}
+ff_cond_signal(&e->cond);
+ff_mutex_unlock(&e->lock);
+
+#if !HAVE_THREADS
+// We are running in a single-threaded enviro
On Tue, Aug 29, 2023 at 1:06 AM Michael Niedermayer
wrote:
> On Tue, Aug 22, 2023 at 09:32:28PM +0800, Nuo Mi wrote:
> > The executor design pattern was inroduced by java
>
> inTroduced
>
>
> > <
> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/j
bavcodec/vvc/vvcdec.c
new file mode 100644
index 00..8d027af0b9
--- /dev/null
+++ b/libavcodec/vvc/vvcdec.c
@@ -0,0 +1,84 @@
+/*
+ * VVC video decoder
+ *
+ * Copyright (C) 2021 Nuo Mi
+ * Copyright (C) 2022 Xu Mu
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you ca
\
+vvc/vvc_refs.o
diff --git a/libavcodec/vvc/vvc_refs.c b/libavcodec/vvc/vvc_refs.c
new file mode 100644
index 00..010f1892ed
--- /dev/null
+++ b/libavcodec/vvc/vvc_refs.c
@@ -0,0 +1,526 @@
+/*
+ * VVC reference management
+ *
+ * Copyright (C) 2023 Nuo Mi
+ *
+ * This file is part of FFmpeg
00..c180a401f0
--- /dev/null
+++ b/libavcodec/vvc/vvc_ps.c
@@ -0,0 +1,1325 @@
+/*
+ * VVC parameter set parser
+ *
+ * Copyright (C) 2023 Nuo Mi
+ * Copyright (C) 2022 Xu Mu
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under
mode 100644
index 00..9d5201f5c8
--- /dev/null
+++ b/libavcodec/vvc/vvc_thread.c
@@ -0,0 +1,805 @@
+/*
+ * VVC thread logic
+ *
+ * Copyright (C) 2023 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of
/vvc_cabac.c
new file mode 100644
index 00..7275f44c4d
--- /dev/null
+++ b/libavcodec/vvc/vvc_cabac.c
@@ -0,0 +1,2484 @@
+/*
+ * VVC CABAC decoder
+ *
+ * Copyright (C) 2021 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under
ODEC_VVC_CTU_H
diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c
new file mode 100644
index 00..e3ab4e4571
--- /dev/null
+++ b/libavcodec/vvc/vvc_mvs.c
@@ -0,0 +1,1806 @@
+/*
+ * VVC motion vector decoder
+ *
+ * Copyright (C) 2023 Nuo Mi
+ * Copyright (C) 2022 Xu Mu
+ * This fil
(C) 2022 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any
ls
void ff_vvc_set_neighbour_available(VVCLocalContext *lc, int x0, int y0, int
w, int h);
+void ff_vvc_decode_neighbour(VVCLocalContext *lc, int x_ctb, int y_ctb, int
rx, int ry, int rs);
+void ff_vvc_ctu_free_cus(CTU *ctu);
void ff_vvc_ep_init_stat_coeff(EntryPoint *ep, int bit_depth, int
persist
--git a/libavcodec/vvc/vvcdsp.c b/libavcodec/vvc/vvcdsp.c
new file mode 100644
index 00..e00f05c174
--- /dev/null
+++ b/libavcodec/vvc/vvcdsp.c
@@ -0,0 +1,133 @@
+/*
+ * VVC DSP
+ *
+ * Copyright (C) 2021 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can
---
libavcodec/vvc/vvc_ctu.c | 2398 +-
libavcodec/vvc/vvc_ctu.h | 11 +
2 files changed, 2404 insertions(+), 5 deletions(-)
diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c
index d46a522a0d..a212d3a44a 100644
--- a/libavcodec/vvc/vvc_ctu.c
++
..e96919f41d
--- /dev/null
+++ b/libavcodec/vvc/vvc_itx_1d.c
@@ -0,0 +1,713 @@
+/*
+ * VVC 1D transform
+ *
+ * Copyright (C) 2023 Nuo Mi
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
):
Nuo Mi
Xu Mu
frankplow
Shaun Loo
---
libavcodec/vvc/vvcdec.c | 1025 ++-
1 file changed, 1024 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vvc/vvcdec.c b/libavcodec/vvc/vvcdec.c
index 8d027af0b9..c85b7fac8c 100644
--- a/libavcodec
On Sun, Sep 3, 2023 at 12:08 AM Nuo Mi wrote:
> vvc decoder plug-in to avcodec.
> split frames into slices/tiles and send them to vvc_thread for further
> decoding
> reorder and wait for the frame decoding to be done and output the frame
>
> Features:
> + S
---
libavcodec/cbs_h266.h | 1 +
libavcodec/cbs_h266_syntax_template.c | 9 -
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h
index 3a6f6d96b5..a263e898bf 100644
--- a/libavcodec/cbs_h266.h
+++ b/libavcodec/cbs_h2
00..3410bda4bb
--- /dev/null
+++ b/libavcodec/vvc/vvc_ps.c
@@ -0,0 +1,1306 @@
+/*
+ * VVC parameter set parser
+ *
+ * Copyright (C) 2023 Nuo Mi
+ * Copyright (C) 2022 Xu Mu
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under
301 - 400 of 992 matches
Mail list logo