- 14 Oct, 2015 21 commits
-
-
Hendrik Leppkes authored
-
Carl Eugen Hoyos authored
Move the demuxer into its own file.
-
Clément Bœsch authored
Fixes Ticket #4927
-
Ganesh Ajjanagadde authored
This uses the av_warn_unused_result attribute liberally to catch some forms of improper usage of functions defined in avfilter/formats.h. Reviewed-by:
Nicolas George <george@nsup.org> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Ganesh Ajjanagadde authored
Many of the functions from avfilter/formats can return errors, usually AVERROR(ENOMEM). This propagates the return values. All of these were found by using av_warn_unused_result, demonstrating its utility. Tested with FATE. I am least sure of the changes to avfilter/filtergraph, since I don't know what/how reduce_format is intended to behave and how it should react to errors. Fixes: CID 1325680, 1325679, 1325678. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Previous version Reviewed-by: Nicolas George <george@nsup.org> Previous version Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Hendrik Leppkes authored
* commit '6a23a342': mimic: drop AVPicture usage Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '6fdd4c67': libschroedinger: Properly use AVFrame API Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '901f9c0a': qtrle: Properly use AVFrame API Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '17e41cf3': avcodec: Do not lock during init if there is no init function Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
-
Hendrik Leppkes authored
-
Hendrik Leppkes authored
* commit '34ed5c2e': avformat: Do not use AVFMT_RAWPICTURE Removal from ffmpeg.c not merged because some parts of avdevice still use it Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '16b0c929': avconv: Add loop option. Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '11c5f438': dict: Change return type of av_dict_copy() Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'c1aac39e': build: add Solaris symbol versioning Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'b9ece15a': nullenc: Use the wrapped avframe pseudo-encoder Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit 'd00a8fd4': yuv4mpeg: Use the wrapped avframe pseudo-encoder Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
Hendrik Leppkes authored
* commit '00332e0a': wrapped_avframe: Initial implementation Merged-by:
Hendrik Leppkes <h.leppkes@gmail.com>
-
wm4 authored
Work on the AVFrame references directly. Instead of setting up a flipped/swapped "view" on the pictures, flip/swap them when returning decoded frames to the API user.
-
Vittorio Giovara authored
Rather than copying data buffers around, allocate a proper frame, and use the standard AVFrame functions. This effectively makes the decoder capable of direct rendering. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
Rather than copying data buffers around, just add a reference to the current frame. Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 13 Oct, 2015 19 commits
-
-
Ganesh Ajjanagadde authored
Partially fixes Ticket 4727. -duration is not a safe expression, since duration can be INT_MIN. One might ask how it can become INT_MIN. Although it is true that line 2574 is no longer reached with INT_MIN due to commit 053e80f6 (which fixed another integer overflow issue), mov_update_dts_shift is called on line 3549 as well, right after a read of untrusted data. One can do the fix locally there, but that function is already a huge mess. Changing mov_update_dts_shift is likely better. This changes duration to INT_MIN + 1 in such cases. This should not make any practical difference since such streams are anyway fuzzer files. Tested with FATE. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
Ganesh Ajjanagadde authored
FFABS(INT_MIN) is not safe. Alternative of using FFNABS is not as readable. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
James Almer authored
Reviewed-by:
Henrik Gramner <henrik@gramner.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
Christophe Gisquet authored
This is the same test as for the 8bit case.
-
Christophe Gisquet authored
This avoid going through constants.c while still sharing them with proresdsp.asm Reviewed-by:
"Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
changing the context state and restoring it is not safe if another thread writes data into the fifo Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Pedro Arthur authored
When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black.
-
Nedeljko Babic authored
This patch fixes build of AAC encoder optimized for mips that was broken due to some changes in generic code that were not propagated to the optimized code. Also, some functions in the optimized code are basically duplicate of functions from generic code. Since they do not bring enough improvement to the optimized code to justify their existence, they are removed (which improves maintainability of the optimized code). Optimizations disabled in 97437bd1 are enabled again. Signed-off-by:
Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
These aren't quite as helpful as the ones in 8bpp, since over there, we can use pmulhrsw, but here the coefficients have too many bits to be able to take advantage of pmulhrsw. However, we can still skip cols for which all coefs are 0, and instead just zero the input data for the row itx. This helps a few % on overall decoding speed.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
The trouble with this function is that intermediates overflow 31+sign bits, so I've added some helpers (that will also be used in 10/12bpp 8x8, 16x16 and 32x32) to make that easier, basically emulating a half- assed pmaddqd using 2xpmaddwd. It's currently sse2-only, if anyone sees potential in adding ssse3, I'd love to hear it.
-