mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
VC1: merge idct8x8, coeff adjustments and put_pixels.
Merging these functions allows merging some loops, which makes the results (particularly after SIMD optimizations) much faster.
This commit is contained in:
@@ -30,9 +30,13 @@
|
||||
|
||||
#include "dsputil.h"
|
||||
|
||||
typedef void (*vc1_idct_func)(uint8_t *dest, int line_size, DCTELEM *block);
|
||||
|
||||
typedef struct VC1DSPContext {
|
||||
/* vc1 functions */
|
||||
void (*vc1_inv_trans_8x8)(DCTELEM *b);
|
||||
vc1_idct_func vc1_inv_trans_8x8_add;
|
||||
vc1_idct_func vc1_inv_trans_8x8_put_signed[2];
|
||||
vc1_idct_func vc1_inv_trans_8x8_put[2];
|
||||
void (*vc1_inv_trans_8x4)(uint8_t *dest, int line_size, DCTELEM *block);
|
||||
void (*vc1_inv_trans_4x8)(uint8_t *dest, int line_size, DCTELEM *block);
|
||||
void (*vc1_inv_trans_4x4)(uint8_t *dest, int line_size, DCTELEM *block);
|
||||
|
||||
Reference in New Issue
Block a user