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

merge ffmpeg master #4

Open
wants to merge 10,000 commits into
base: master
Choose a base branch
from
Open

merge ffmpeg master #4

wants to merge 10,000 commits into from

Conversation

mraulet77
Copy link
Collaborator

No description provided.

@TimothyGu TimothyGu force-pushed the master branch 9 times, most recently from 0914e3a to 580fb6a Compare May 4, 2022 19:01
@TimothyGu TimothyGu force-pushed the master branch 14 times, most recently from b5aa514 to 30e2bb0 Compare May 12, 2022 16:31
@TimothyGu TimothyGu force-pushed the master branch 7 times, most recently from dd99d34 to b8ede4d Compare May 19, 2022 09:00
jamrial and others added 30 commits January 28, 2025 15:26
…roing it

Fixes coverity #1641638.

Marvin Scholz <[email protected]>
Signed-off-by: James Almer <[email protected]>
Found out to have been utilized via a user reporting an attached
image not being available in a player utilizing avformat's demuxing
capabilities.
This function can return AVERROR_BUG in theory if something
went wrong, but so can the caller, so we should propagate that
error message upward in that case.

Signed-off-by: Leo Izen <[email protected]>
Downstream can determine the format from the output frame format

Co-authored-by: Frank Plowman <[email protected]>
AVCodecContext->sw_pix_fmt is used to hold the software pixel format.

Co-authored-by: Frank Plowman <[email protected]>
This error code is for expected exits, like after listing options for a
device.
Fixes: signed integer overflow: 7803923888585309955 - -3407677434275325337 cannot be represented in type 'int64_t' (aka 'long')
Fixes: 377736723/clusterfuzz-testcase-minimized-media_pipeline_integration_fuzzer-5052449500889088

Signed-off-by: James Almer <[email protected]>
`POS(1,` and `POS(2,` may trigger UBSAN report:
"runtime error: applying non-zero offset 304 to null pointer"

Looks like values are not used without `chroma_format_idc`,
so maybe there is no other issues than the UB.

Can't reproduce with "fate".

Signed-off-by: Vitaly Buka <[email protected]>
Signed-off-by: James Almer <[email protected]>
If there's a very large ISOBMFF box that needs to be skipped, it can
cause an overflow for ctx->skip. There's already a safeguard to return
quickly if ctx->skip > bufsize, so changing ctx->skip to int64_t will
allow this to happen even if ctx->skip would overflow a signed int.

Several other members are also changed to int64_t to avoid this problem
in other possible scenarios.

Signed-off-by: Leo Izen <[email protected]>
Reported-by: Kacper Michajlow <[email protected]>
Fixes: clusterfuzz-testcase-minimized-fuzzer_loadfile-6085331937460224
The inline example for option color_ranges used 'color_spaces'

Fixes #11441
Fixes: out of array access
Fixes: crash-a41ef3db699013f669b076f02f36942925f5a98c

Found-by: Kacper Michajlow <[email protected]>
Reviewed-by: Kacper Michajlow <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Missed in ffc4fd3, which after
e781735 broke setting channel count.

Should fix ticket #11434.

Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
Maybe fixes: 11435

Signed-off-by: Michael Niedermayer <[email protected]>
ff_w1111 and ff_bgr2(Y|UV)Offset are only used there
(and only on x86-32 since caaec2e).
Also make them static.

Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
Reviewed-by: Michael Niedermayer <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
Not used there.

Signed-off-by: Andreas Rheinhardt <[email protected]>
Forgotten in 5a04aae.

Reviewed-by: Alexander Strasser <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
This commit adds support for 4:2:2 pixel formats, namely NV16 and
P216 for NVIDIA GPUs.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
This commit adds support for 4:2:2 decoding for HEVC and H.264 on
NVIDIA Blackwell GPUs. Additionally, it supports 10-bit decoding
for H.264 on Blackwell GPUs.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
This commit adds support for 4:2:2 decoding for HEVC and H.264 on
NVIDIA Blackwell GPUs for cuviddec. Moreover, it supports 10-bit
decoding for H.264 on Blackwell GPUs.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
This commit adds support for 4:2:2 encoding for HEVC and H.264 on
NVIDIA Blackwell GPUs. Additionally, it supports 10-bit encoding
for H.264 on Blackwell GPUs.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
This commit adds support for Ultra High Quality mode for AV1 on
NVIDIA GPUs.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
This commit extends the support for Temporal Filtering in NVENC for
AV1 and H.264 codecs. For natural videos with noise, NVENC temporal
filtering improves video coding efficiency by 4-5%.

Signed-off-by: Diego de Souza <[email protected]>
Signed-off-by: Timo Rothenpieler <[email protected]>
AV1 uses a vastly different range than what the global options permit,
and also for the other codecs the range of the global options is at
least misaligned.

Fixes #11365
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.