aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/screenpresso.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/decode: add a flags parameter to ff_reget_buffer()James Almer2019-09-041-1/+1
| | | | | | | | | | Some decoders may not need a writable buffer in some specific cases, but only a reference to the existing buffer with updated frame properties instead, for the purpose of returning duplicate frames. For this, the FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential allocations and buffer copies when they are not needed. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/screenpresso: return the packet size instead of 0Michael Niedermayer2016-12-151-1/+1
| | | | | | | | Most decoders return the amount of data used. This is more consistent Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/screenpresso: Fix 32bit pix_fmt, there is no transparency.Carl Eugen Hoyos2016-08-131-2/+2
| | | | Fixes a remaining issue of ticket #5025.
* Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch2016-06-211-1/+1
|\ | | | | | | | | | | | | * commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
| * cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit 'ec8a69fab657f9cce624e8b0f4069d12696890bf'Derek Buitenhuis2016-05-081-4/+3
|\| | | | | | | | | | | | | * commit 'ec8a69fab657f9cce624e8b0f4069d12696890bf': screenpresso: Correctly handle keyframes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * screenpresso: Correctly handle keyframesVittorio Giovara2016-04-041-4/+3
| | | | | | | | | | | | | | | | The first byte contains compression level together with keyframe status. When a frame is not interpreted correctly, its data is summed to the reference, and would degrade over time, producing an incorrect result. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '95db8c757cb003a71b040b567f38be74151deb5c'Derek Buitenhuis2016-05-081-15/+31
|\| | | | | | | | | | | | | * commit '95db8c757cb003a71b040b567f38be74151deb5c': screenpresso: Add extended pixel format support Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * screenpresso: Add extended pixel format supportVittorio Giovara2016-04-041-15/+31
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'e25cac50e05d29a15d7a52c01c394ba913c97aee'Derek Buitenhuis2015-11-191-0/+1
|\| | | | | | | | | | | | | * commit 'e25cac50e05d29a15d7a52c01c394ba913c97aee': lavc: Add missing mem.h header to libxvid and screenpresso Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavc: Add missing mem.h header to libxvid and screenpressoVittorio Giovara2015-11-121-0/+1
| |
* | Merge commit '3c5cf2a31b4b29a8e4282cbe6a3f0617c14698b8'Hendrik Leppkes2015-10-271-17/+12
|\| | | | | | | | | | | | | * commit '3c5cf2a31b4b29a8e4282cbe6a3f0617c14698b8': screenpresso: Drop parameter change check Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * screenpresso: Drop parameter change checkVittorio Giovara2015-10-251-17/+12
| | | | | | | | | | Size can never change, allowing us to use ff_reget_buffer, and to simplify the code a little.
* | Merge commit '9a3202a98b2e095b54dd784c3e01a09a676fc3fa'Hendrik Leppkes2015-10-031-4/+4
|/ | | | | | | * commit '9a3202a98b2e095b54dd784c3e01a09a676fc3fa': Screenpresso SPV1 decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
* Screenpresso SPV1 decoderVittorio Giovara2015-09-301-0/+186
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>