-
Notifications
You must be signed in to change notification settings - Fork 12
Support 16 Bits #287
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
Open
QSXW
wants to merge
31
commits into
ffvvc:up
Choose a base branch
from
QSXW:feat/16bits
base: up
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Support 16 Bits #287
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6060fe6
avcodec/bit_depth_template: add tpixel for intermediate pixel type
QSXW d6015a1
avcodec/h26x/h2656_inter_template: fix put pixel functions for high b…
QSXW 6fb787d
avcodec/h26x/h2656_inter_template: fix put luma functions for high bi…
QSXW 06a5557
avcodec/h26x/h2656_inter_template: fix put chroma functions for high …
QSXW 1707be2
avcodec/h26x/h2656_inter_template: fix put uni luma functions for hig…
QSXW f159c07
avcodec/h26x/h2656_inter_template: fix put uni chroma functions for h…
QSXW 78b47cc
avcodec/h26x/h2656_inter_template: fix put uni luma w functions for h…
QSXW 0bca8ca
avcodec/h26x/h2656_inter_template: fix put uni chroma w functions for…
QSXW a99d07d
avcodec/vvc/inter_template: fix avg function for high bitdepth
QSXW 848b460
avcodec/vvc/inter_template: fix w_avg function for high bitdepth
QSXW 7b0bb24
avcodec/vvc/inter_template: fix put_scaled function for high bitdepth
QSXW 80370c7
avcodec/vvc/inter_template: fix put_gpm function for high bitdepth
QSXW 84bb2f6
avcodec/vvc/inter_template: fix bdof_fetch_samples function for high …
QSXW 0ab7d5e
avcodec/vvc/inter_template: fix prof_grad_filter function for high bi…
QSXW ddf02de
avcodec/vvc/inter_template: fix apply_prof function for high bitdepth
QSXW ce3376d
avcodec/vvc/inter_template: fix apply_prof_uni function for high bitd…
QSXW 20f48b0
avcodec/vvc/inter_template: fix apply_prof_uni_w function for high bi…
QSXW 71a4db0
avcodec/vvc/inter_template: fix apply_bdof function for high bitdepth
QSXW c6c326e
avcodec/vvc/ctu: *2 for high bitdepth
QSXW 6e18631
avcodec/vvc/inter: multiply the memory size of temporary buffer by 2 …
QSXW c6a84a4
avcodec/vvc/dsp: add get_clip_from_idx for high bitdepth
QSXW d1f8b53
avcodec/vvc/filter_template: fix alf_recon_coeff_and_clip function fo…
QSXW b10d9ba
avcodec/vvc/filter_template: fix alf_filter_luma function for high bi…
QSXW 2f07dce
avcodec/vvc/filter_template: fix alf_filter_chroma function for high …
QSXW d1a3fcb
avcodec/vvc/dsp_template: remove warning conversion from size_t to co…
QSXW ce17c0d
avcodec/vvc/dsp: init dsp template for 14 bits
QSXW 376d1fc
avcodec/vvc/dsp: init dsp template for 16 bits
QSXW 7a12c3a
avcodec/vvc/ps: support 14 bits pixel formats
QSXW f84a9b1
avcodec/vvc/ps: support 16 bits pixel formats
QSXW 888d04c
Changelog: the VVC decoder supports decoding 14/16 bits bitstreams
QSXW b24f100
add github workflow
nuomi2021 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,111 @@ | ||
| name: test | ||
| run-name: ${{ github.workflow }} - ${{ github.sha }} | ||
| on: | ||
| push: | ||
| branches: [ main, up ] | ||
| pull_request: | ||
| branches: [ main, up ] | ||
| workflow_dispatch: | ||
|
|
||
|
|
||
| jobs: | ||
| ffvvc-test: | ||
| name: ffvvc-test / ${{ matrix.os.name }}/${{ matrix.compiler.name }}/${{ matrix.assembler.name }} | ||
| env: | ||
| configure_flags: --enable-ffmpeg --disable-everything --enable-decoder=vvc --enable-parser=vvc --enable-demuxer=vvc,mpegts --enable-protocol=file,pipe --enable-encoder=rawvideo,wrapped_avframe --enable-muxer=rawvideo,md5,null | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - { name: linux, runner: ubuntu-latest, shell: bash, runner_threads: 4 } | ||
| - { name: windows, runner: windows-latest, shell: 'msys2 {0}', runner_threads: 1 } | ||
| compiler: | ||
| - { name: gcc, flags: --cc=gcc } | ||
| - { name: clang, flags: --cc=clang } | ||
| - { name: msvc, flags: --toolchain=msvc } | ||
| - { name: clang-usan, flags: '--toolchain=clang-usan' } | ||
| - { name: clang-asan, flags: '--toolchain=clang-asan' } | ||
| assembler: | ||
| - { name: no asm, flags: --disable-asm } | ||
| - { name: nasm, flags: --as=nasm } | ||
| exclude: | ||
| # GitHub's Actions runners do not support AVX2. | ||
| - os: { name: linux, runner: ubuntu-latest, shell: bash, runner_threads: 4} | ||
| compiler: { name: msvc, flags: --toolchain=msvc } | ||
| - os: { name: linux, runner: ubuntu-latest, shell: bash, runner_threads: 4 } | ||
| assembler: { name: nasm, flags: --as=nasm } | ||
| # Address sanitizer cannot be run with handwritten assembly. | ||
| - compiler: { name: clang-asan, flags: '--toolchain=clang-asan' } | ||
| assembler: { name: nasm, flags: --as=nasm } | ||
| # Windows only supports MSVC. | ||
| - os: { name: windows, runner: windows-latest, shell: 'msys2 {0}', runner_threads: 1 } | ||
| compiler: { name: gcc, flags: --cc=gcc } | ||
| - os: { name: windows, runner: windows-latest, shell: 'msys2 {0}', runner_threads: 1 } | ||
| compiler: { name: clang, flags: --cc=clang } | ||
| - os: { name: windows, runner: windows-latest, shell: 'msys2 {0}', runner_threads: 1 } | ||
| compiler: { name: clang-usan, flags: '--toolchain=clang-usan' } | ||
| - os: { name: windows, runner: windows-latest, shell: 'msys2 {0}', runner_threads: 1 } | ||
| compiler: { name: clang-asan, flags: '--toolchain=clang-asan' } | ||
|
|
||
| runs-on: ${{ matrix.os.runner }} | ||
| defaults: | ||
| run: | ||
| shell: ${{ matrix.os.shell }} | ||
|
|
||
| steps: | ||
| - name: Get MSVC | ||
| if: ${{ matrix.compiler.name == 'msvc' && matrix.os.name == 'windows' }} | ||
| uses: ilammy/msvc-dev-cmd@v1 | ||
|
|
||
| - name: Set up MSYS2 | ||
| if: ${{ matrix.os.shell == 'msys2 {0}' }} | ||
| uses: msys2/setup-msys2@v2 | ||
| with: | ||
| release: false | ||
| msystem: UCRT64 | ||
| path-type: inherit | ||
| install: >- | ||
| make | ||
| diffutils | ||
|
|
||
| - name: Setup python package | ||
| run: python3 -m pip install tqdm pyyaml | ||
|
|
||
| - name: Get assembler | ||
| if: ${{ matrix.os.shell == 'msys2 {0}' && matrix.assembler.name != 'no asm' }} | ||
| run: pacman --noconfirm -S ${{ matrix.assembler.name }} | ||
|
|
||
| - name: Get source | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| path: FFmpeg | ||
|
|
||
| - name: Configure | ||
| run: cd FFmpeg && ./configure ${{ matrix.compiler.flags }} ${{ matrix.assembler.flags }} ${{ env.configure_flags }} || (tail ffbuild/config.log; false) | ||
|
|
||
| - name: Build | ||
| run: cd FFmpeg && make -j8 | ||
|
|
||
| - name: Get tests | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| repository: ffvvc/tests | ||
| path: tests | ||
|
|
||
| - name: Unit test | ||
| run: python3 tests/tools/ffmpeg.py --threads ${{ matrix.os.runner_threads }} --ffmpeg-path=./FFmpeg/ffmpeg tests/conformance/passed | ||
|
|
||
| - name: DVB 40 frames test | ||
| run: python3 tests/tools/ffmpeg.py --threads 1 --ffmpeg-path=./FFmpeg/ffmpeg tests/conformance/dvb/40frames | ||
|
|
||
| - name: Check ASM | ||
| run: cd FFmpeg && make checkasm -j && ./tests/checkasm/checkasm | ||
|
|
||
| - name: Negative test | ||
| run: python3 tests/tools/ffmpeg.py --threads ${{ matrix.os.runner_threads }} --ffmpeg-path=./FFmpeg/ffmpeg tests/conformance/failed || true | ||
|
|
||
| - name: Check for fuzz regressions | ||
| run: python3 tests/tools/ffmpeg.py --threads ${{ matrix.os.runner_threads }} --ffmpeg-path=./FFmpeg/ffmpeg --fuzz tests/fuzz/passed | ||
|
|
||
| - name: Fuzz negative test | ||
| run: python3 tests/tools/ffmpeg.py --threads ${{ matrix.os.runner_threads }} --ffmpeg-path=./FFmpeg/ffmpeg --fuzz tests/fuzz/failed || tree |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.