- 11 Nov, 2017 6 commits
-
-
Timo Rothenpieler authored
synth_superframe can be called twice per call to decode_packet. It is not fully clear if calling ff_get_buffer on the same frame twice is supported, so unref the frame first to be save.
-
Timo Rothenpieler authored
There is no reason to keep this intact when decoding failed, specially as private_ref is supposed to always be NULL when a frame is returned to the user.
-
Aleksandr Slobodeniuk authored
Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Fixes fate-source. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 10 Nov, 2017 8 commits
-
-
Anton Khirnov authored
Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org> Merges Libav commit b9129ec4. Due to the name clash with our cuvid decoder, rename it to nvdec. This commit also changes the Libav code to dynamic loading of the cuda/cuvid libraries. Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
wm4 authored
-
wm4 authored
Currently, AVHWAccels are looked up using a (codec_id, pixfmt) tuple. This means it's impossible to have 2 decoders for the same codec and using the same opaque hardware pixel format. This breaks merging Libav's CUVID hwaccel. FFmpeg has its own CUVID support, but it's a full stream decoder, using NVIDIA's codec parser. The Libav one is a true hwaccel, which is based on the builtin software decoders. Fix this by introducing another field to disambiguate AVHWAccels, and use it for our CUVID decoders. FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS makes this mechanism backwards compatible and optional.
-
wm4 authored
cuvid.c is used by Libav's CUVID hwaccel. Resolve the conflict and avoid future merge problems by renaming our decoder. Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
Aurelien Jacobs authored
The encoder was reverse engineered from binary library and from EP0398973B1 patent (long expired). The decoder was simply deduced from the encoder.
-
Anton Khirnov authored
This will be useful in the CUVID hwaccel. It should also eventually replace current decoder-specific mechanisms used by various other hwaccels. Merges Libav commit 704311b2.
-
Anton Khirnov authored
This will be useful in the CUVID hwaccel. Merges Libav commit badf0951.
-
Anton Khirnov authored
Use the AVFrame.private_ref field. This new struct will be useful in the following commits. Merges Libav commit 359a8a3e.
-
- 09 Nov, 2017 10 commits
-
-
Jun Zhao authored
ff_alloc_packet have been deprecated, switch to use ff_alloc_packet2. Signed-off-by:
Jun Zhao <jun.zhao@intel.com> Reviewed-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Jun Zhao authored
ff_alloc_packet have been deprecated, switch to use the ff_alloc_packet2. Signed-off-by:
Jun Zhao <jun.zhao@intel.com> Reviewed-by:
Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: runtime error: value -36211.7 is outside the range of representable values of type 'short' Fixes: 2992/clusterfuzz-testcase-6649611793989632 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Nicolas George authored
-
Rostislav Pehlivanov authored
The spec is correct, it does list these layouts as having rear speakers. Questionable how many decoders correctly interpret those correctly since side is way more popular. Also fixes fate-aac-yoraw-encode. Reported-by:
pkviet <pkv.stream@gmail.com> Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Also handle extradata of variable size (for bitexact/if PCEs aren't used). Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
This commit implements support for PCE (Program Configuration Elements) in the AAC encoder, and as such allows for encoding of channel layouts not present in the presets defined by the spec (which only lists the 8 most common ones). This has been a highly requested feature and is also the first open source encoder to support this many layouts. Many thanks to pkviet <pkv.stream@gmail.com> who implemented support for and verified all channel layouts.
-
Rostislav Pehlivanov authored
Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
It can fail in case of OOM. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
Rostislav Pehlivanov authored
Since non-Haar wavelets need to look into pixels outside the frame, we need to pad the buffer. The old factor of two seemed to be a workaround that fact and only padded to the left and bottom. This correctly pads by the slice size and as such reduces memory usage and potential exploits. Reported by Liu Bingchang. Ideally, there should be no temporary buffer but the encoder is designed to deinterleave the coefficients into the classical wavelet structure with the lower frequency values in the top left corner. Signed-off-by:
Rostislav Pehlivanov <atomnuker@gmail.com>
-
- 08 Nov, 2017 6 commits
-
-
Kaustubh Raste authored
Use mask buffer. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Kaustubh Raste authored
Use global mask buffer for appropriate mask load. Use immediate unsigned saturation for clip to max saving one vector register. Remove unused macro. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Kaustubh Raste authored
Use global mask buffer for appropriate mask load. Remove unused macro and table. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Kaustubh Raste authored
Use global mask buffer for appropriate mask load. Use immediate unsigned saturation for clip to max saving one vector register. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
James Almer authored
Fixes fate-source after 1926f13a. Signed-off-by:
James Almer <jamrial@gmail.com>
-
Carl Eugen Hoyos authored
The list is unmaintained, misleading and the frame rates are ignored by all compatible players.
-
- 07 Nov, 2017 3 commits
-
-
Kaustubh Raste authored
Use global mask buffer for appropriate mask load. Use immediate unsigned saturation for clip to max saving one vector register. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Kaustubh Raste authored
Align the mask buffer to 64 bytes. Load the specific destination bytes instead of MSA load and pack. Remove unused macros and functions. Signed-off-by:
Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by:
Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Martin Vignali authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 06 Nov, 2017 5 commits
-
-
Martin Vignali authored
libavcodec/lossless_video_dsp : cosmetic add better separator for each function, in order to make reading of the asm file easier
-
Martin Vignali authored
-
Martin Vignali authored
the func is only call with step = 1 no need to pass it in the func
-
Martin Vignali authored
-
Martin Vignali authored
Replace them with av_pix_fmt_get_chroma_sub_sample. Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 05 Nov, 2017 2 commits
-
-
Michael Niedermayer authored
Fixes: runtime error: shift exponent 66 is too large for 64-bit type 'long long' Fixes: 3642/clusterfuzz-testcase-minimized-5443853801750528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: 3642/clusterfuzz-testcase-minimized-5443853801750528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-