| rev |
line source |
|
nengel@2
|
1 #ifndef DSPUTIL_CELL_H
|
|
nengel@2
|
2 #define DSPUTIL_CELL_H
|
|
nengel@2
|
3
|
|
nengel@2
|
4 #include "types_spu.h"
|
|
nengel@2
|
5
|
|
nengel@2
|
6 typedef struct DSPContext_spu {
|
|
nengel@2
|
7
|
|
nengel@2
|
8 void (*h264_v_loop_filter_luma)(uint8_t *pix/*align 16*/, int stride, int alpha, int beta, int8_t *tc0);
|
|
nengel@2
|
9 void (*h264_h_loop_filter_luma)(uint8_t *pix/*align 4 */, int stride, int alpha, int beta, int8_t *tc0);
|
|
nengel@2
|
10 /* v/h_loop_filter_luma_intra: align 16 */
|
|
nengel@2
|
11 void (*h264_v_loop_filter_luma_intra)(uint8_t *pix, int stride, int alpha, int beta);
|
|
nengel@2
|
12 void (*h264_h_loop_filter_luma_intra)(uint8_t *pix, int stride, int alpha, int beta);
|
|
nengel@2
|
13 void (*h264_v_loop_filter_chroma)(uint8_t *pix/*align 8*/, int stride, int alpha, int beta, int8_t *tc0);
|
|
nengel@2
|
14 void (*h264_h_loop_filter_chroma)(uint8_t *pix/*align 4*/, int stride, int alpha, int beta, int8_t *tc0);
|
|
nengel@2
|
15 void (*h264_v_loop_filter_chroma_intra)(uint8_t *pix/*align 8*/, int stride, int alpha, int beta);
|
|
nengel@2
|
16 void (*h264_h_loop_filter_chroma_intra)(uint8_t *pix/*align 8*/, int stride, int alpha, int beta);
|
|
nengel@2
|
17
|
|
nengel@2
|
18 qpel_mc_func put_h264_qpel_pixels_tab[3][16];
|
|
nengel@2
|
19 qpel_mc_func avg_h264_qpel_pixels_tab[3][16];
|
|
nengel@2
|
20
|
|
nengel@2
|
21 h264_chroma_mc_func put_h264_chroma_pixels_tab[3];
|
|
nengel@2
|
22 h264_chroma_mc_func avg_h264_chroma_pixels_tab[3];
|
|
nengel@2
|
23
|
|
nengel@2
|
24 h264_idct_func h264_idct_add[2];
|
|
nengel@2
|
25
|
|
nengel@2
|
26 h264_weight_func weight_h264_pixels_tab[10];
|
|
nengel@2
|
27 h264_biweight_func biweight_h264_pixels_tab[10];
|
|
nengel@2
|
28
|
|
nengel@2
|
29 } DSPContext_spu;
|
|
nengel@2
|
30
|
|
nengel@2
|
31
|
|
nengel@2
|
32 void dsputil_h264_init_cell(DSPContext_spu* c);
|
|
nengel@2
|
33
|
|
nengel@2
|
34 #endif
|