summaryrefslogtreecommitdiff
path: root/libswscale/slice.c
Commit message (Collapse)AuthorAge
* swscale/input: add rgbaf16 input supportTimo Rothenpieler2022-08-19
| | | | | | This is by no means perfect, since at least ddagrab will return scRGB data with values outside of 0.0f to 1.0f for HDR values. Its primary purpose is to be able to work with the format at all.
* Replace all occurences of av_mallocz_array() by av_calloc()Andreas Rheinhardt2021-09-20
| | | | | | | They do the same. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* swscale/slice: Fix wrong return on errorMichael Niedermayer2021-07-09
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/slice: Check slice for allocation failureMichael Niedermayer2021-07-09
| | | | | | | | Fixes: null pointer dereference Fixes: alloc_slice.mp4 Found-by: Rafael Dutra <rafael.dutra@cispa.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libswscale: avoid UB nullptr-with-offset.Jeremy Leconte2020-12-24
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libswscale: add output support for AV_PIX_FMT_GBRAPF32Mark Reid2020-05-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lsws/slice: Move a misplaced const.Carl Eugen Hoyos2017-03-08
| | | | | Fixes a gcc warning: libswscale/slice.c:178:56: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
* swscale: fix ring buffer size when scaling slices of a framePedro Arthur2016-06-10
| | | | | The ring buffer size should be able to store input lines when there is not enough lines to output a single line.
* swscale: cleanup unused codePedro Arthur2016-03-31
| | | | | Removed previous swscale code under '#ifndef NEW_FILTER' and removed unused fields of SwsContext
* swscale/slice: Actually use the buffers' stridesDerek Buitenhuis2016-02-16
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* swscale/slice: Fix indentionMichael Niedermayer2016-01-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/slice: Fix doc typoMichael Niedermayer2016-01-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: fix ticket #4881Pedro Arthur2015-10-13
| | | | | When scaling only a slice of a frame the output was written always in the first lines leaving the rest of the frame black.
* swscale: re-enable gammaPedro Arthur2015-09-04
| | | | +added gamma conversion to refactored code
* swscale: added proper error check for ff_init_filtersPedro Arthur2015-09-04
|
* swscale: refactor vertical scalerPedro Arthur2015-08-19
|
* swscale: add license headers and copyrightsPedro Arthur2015-08-18
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: process horizontal lines in batchesPedro Arthur2015-08-18
| | | | | | Process more lines in a single pass to improve performance Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale: refactor horizontal scalingPedro Arthur2015-08-18
+ split color conversion from scaling - disabled gamma correction, until it's refactored too Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>