[FFmpeg-devel] [PATCH v2 13/14] vvcdec: add CTU thread logical

Michael Niedermayer michael at niedermayer.cc
Sun Jul 9 00:41:35 EEST 2023


On Fri, Jul 07, 2023 at 10:05:39PM +0800, Nuo Mi wrote:
> This is the main entry point for the CTU (Coding Tree Unit) decoder.
> The code will divide the CTU decoder into several stages.
> It will check the stage dependencies and run the stage decoder.
> ---
>  libavcodec/vvc/Makefile     |   3 +-
>  libavcodec/vvc/vvc_thread.c | 804 ++++++++++++++++++++++++++++++++++++
>  libavcodec/vvc/vvc_thread.h |  73 ++++
>  3 files changed, 879 insertions(+), 1 deletion(-)
>  create mode 100644 libavcodec/vvc/vvc_thread.c
>  create mode 100644 libavcodec/vvc/vvc_thread.h

seems not to build with enable-shared

src/libavcodec/vvc/vvc_thread.c:235:9: error: address argument to atomic operation must be a pointer to non-const _Atomic type ('const atomic_int *' (aka 'const _Atomic(int) *') invalid)
    if (atomic_load(&ft->ret))
        ^           ~~~~~~~~
/usr/lib/llvm-6.0/lib/clang/6.0.0/include/stdatomic.h:134:29: note: expanded from macro 'atomic_load'
#define atomic_load(object) __c11_atomic_load(object, __ATOMIC_SEQ_CST)
                            ^                 ~~~~~~
1 error generated.
src/ffbuild/common.mak:81: recipe for target 'libavcodec/vvc/vvc_thread.o' failed
make: *** [libavcodec/vvc/vvc_thread.o] Error 1
make: *** Waiting for unfinished jobs....


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230708/ab50da35/attachment.sig>


More information about the ffmpeg-devel mailing list