aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffyuvdsp.h
Commit message (Collapse)AuthorAgeFilesLines
* lavc/huffyuvdsp: R-V V add_int16Rémi Denis-Courmont2023-10-311-0/+2
| | | | | | | add_int16_128_c: 2390.5 add_int16_128_rvv_i32: 832.0 add_int16_rnd_width_c: 2390.2 add_int16_rnd_width_rvv_i32: 832.5
* avcodec/huffyuv: Split HYuvContext into decoder and encoder contextAndreas Rheinhardt2022-10-091-13/+0
| | | | | | | | | | | | | | | While the share of elements used by both is quite big, the amount of code shared between the decoders and encoders is negligible. Therefore one can easily split the context if one wants to. The reasons for doing so are that the non-shared elements are non-negligible: The stats array which is only used by the encoder takes 524288B of 868904B (on x64); similarly, pix_bgr_map which is only used by the decoder takes 16KiB. Furthermore, using a shared context also entails inclusions of unneeded headers like put_bits.h for the decoder and get_bits.h for the encoder (and all of these and much more for huffyuv.c). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavc/huffyuvdsp: only transmit the pix_fmt instead of the whole avctxClément Bœsch2017-03-221-3/+3
| | | | | Only the pixel format is required in that init function. This will also simplify the incoming merge.
* lavc/huffyuvdsp: remove unused ppc init prototypeClément Bœsch2017-03-221-1/+0
|
* huffyuvdsp: move functions only used by huffyuv from lossless_videodspJames Almer2017-01-121-3/+10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lossless_videodsp: move shared functions from huffyuvdspJames Almer2017-01-121-7/+0
| | | | | | Several codecs other than huffyuv use them. Signed-off-by: James Almer <jamrial@gmail.com>
* Include config.h from huffyuvdsp.h.Carl Eugen Hoyos2014-11-251-0/+1
| | | | Fixes a warning about undefined HAVE_BIGENDIAN when running make checkheaders.
* avcodec/huffyuvdsp: Change w to intptr in add_hfyu_median_pred() and ↵Michael Niedermayer2014-05-301-2/+2
| | | | | | | | add_hfyu_left_pred() This avoids potential issues with the high 32bits being random in x86-64 asm Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: huffyuvdsp: port add_bytes to yasmChristophe Gisquet2014-05-291-1/+1
| | | | | | | C MMX SSE2 Cycles: 2972 587 302 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* huffyuv: change left prediction access in BGRAChristophe Gisquet2014-05-291-2/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* huffyuv: avoid duplicated definesChristophe Gisquet2014-05-291-0/+12
| | | | | | Move the defines to the dsp header. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '0d439fbede03854eac8a978cccf21a3425a3c82d'Michael Niedermayer2014-05-271-4/+4
| | | | | | | | | | | | | | | | | | | | * commit '0d439fbede03854eac8a978cccf21a3425a3c82d': dsputil: Split off HuffYUV decoding bits into their own context Conflicts: configure libavcodec/dsputil.c libavcodec/dsputil.h libavcodec/huffyuv.h libavcodec/huffyuvdec.c libavcodec/lagarith.c libavcodec/vble.c libavcodec/x86/Makefile libavcodec/x86/dsputil.asm libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* dsputil: Split off HuffYUV decoding bits into their own contextDiego Biurrun2014-05-271-0/+41
Also shorten HuffYUV context member names to avoid clutter.