Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C code upstream review #79

Closed
wants to merge 14 commits into from
Closed

Conversation

nuomi2021
Copy link
Member

@nuomi2021 nuomi2021 commented May 14, 2023

Features:
+ C code only
+ Support I, P, B frames, 8/10 bits, chroma 400,420, 422, and 444,
+ Support VVC new tools like MIP, CCLM, AFFINE, GPM, DMVR, PROF, BDOF, LMCS, ALF
+ 211 conformace clips passed
- Not support RPR, IBC, PALETTE, and other minor features yet.

Performance on i7-12700:

Clip FPS
RitualDance_1920x1080_60_10_420_37_RA.266 122
Tango2_3840x2160_60_10_420_27_LD.266 23

based on dc96762
all commits will be squashed to one when I send it upstream.

@nuomi2021 nuomi2021 force-pushed the up_0514 branch 8 times, most recently from 1dc03f7 to da1763e Compare May 19, 2023 14:42
The executor design pattern was inroduced by java
<https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html>
it also adapted by python
<https://docs.python.org/3/library/concurrent.futures.html>
Compared to handcrafted thread pool management, it greatly simplifies the thread code.
add Context-based Adaptive Binary Arithmetic Coding (CABAC) decoder
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.
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:
    + C code only
    + Support I, P, B frames, 8/10 bits, chroma 400,420, 422, and 444,
    + Support VVC new tools like MIP, CCLM, AFFINE, GPM, DMVR, PROF, BDOF, LMCS, ALF
    + 211 conformace clips passed
    - Not support RPR, IBC, PALETTE, and other minor features yet.

Performance on i7-12700:
    RitualDance_1920x1080_60_10_420_37_RA.266   122 FPS
    Tango2_3840x2160_60_10_420_27_LD.266        23  FPS

    asm optimizations still working in progress. please check
    https://github.com/ffvvc/FFmpeg/wiki#performance-data for the latest

Contributors(based on code merge order):
    Nuo Mi <nuomi2021@gmail.com>
    Xu Mu <toxumu@outlook.com>
    frankplow <post@frankplowman.com>
@nuomi2021
Copy link
Member Author

replaced by #108

@nuomi2021 nuomi2021 closed this Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant