mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc: introduce VideoDSPContext
Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
a925f723a9
commit
8c53d39e7f
37 changed files with 1189 additions and 927 deletions
|
|
@ -175,6 +175,7 @@ const uint8_t *avpriv_mpv_find_start_code(const uint8_t *restrict p,
|
|||
av_cold int ff_dct_common_init(MpegEncContext *s)
|
||||
{
|
||||
ff_dsputil_init(&s->dsp, s->avctx);
|
||||
ff_videodsp_init(&s->vdsp, 8);
|
||||
|
||||
s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_c;
|
||||
s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue