aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/hevc/dsp_init.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/x86/hevcdsp: Move to x86/hevcAndreas Rheinhardt2025-04-091-1/+1
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevcdsp: Move macro to dsp_init.cAndreas Rheinhardt2025-04-091-0/+7
| | | | | | It belongs to the [EQ]PEL_LINKS macros. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Reindent after the previous commitsAndreas Rheinhardt2025-04-091-61/+61
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Make ff_hevc_put_bi_[eq]?pel* funcs staticAndreas Rheinhardt2025-04-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Given that there are actually ASM functions of this type, one can't simply remove the ff_ prefix from the definitions and declare them as static. Yet one can do nearly that if one keeps the ff_ prefix and removes the declarations for the (now static) functions defined in dsp_init.c from hevcdsp.h and if one defines the functions in the correct order (smaller width first) so that no forward declarations are necessary (which was already true). The new declarations avoid nested macros to simplify things. It nevertheless turned out to be beneficial line-wise. (It would be possible to avoid most of these declarations: It is legal to repeat a function declaration without static if the first declaration declared a function as static. So if the macros simply declared all the functions that they call, one could avoid declarations for the functions that are called. While this is legal C, it unfortuntaly clashes with GCC's -Wredundant-decls (which configure enables) and it is also ugly, as these macro definitions would provide declarations used in ff_hevc_dsp_init_x86().) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Make ff_hevc_put_[eq]?pel_* staticAndreas Rheinhardt2025-04-091-79/+79
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Make ff_hevc_put_uni_[qe]?pel* funcs staticAndreas Rheinhardt2025-04-091-79/+87
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Make ff_hevc_put_bi_w_* functions staticAndreas Rheinhardt2025-04-091-6/+6
| | | | | | They are always C wrappers around other functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Make ff_hevc_put_uni_w_* functions staticAndreas Rheinhardt2025-04-091-8/+14
| | | | | | These are always C functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/x86/hevc/dsp_init: Rename ff_hevc_put_hevc->ff_hevc_putAndreas Rheinhardt2025-03-151-309/+309
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/hevcdec: remove hevc prefix for x86 asm filesNuo Mi2024-12-221-0/+1254