~ubuntu-branches/ubuntu/saucy/gst-libav1.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavcodec/rv34dsp.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-07-30 09:00:15 UTC
  • mfrom: (1.1.16) (7.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130730090015-sc1ou2yssu7q5w4e
Tags: 1.1.3-1
* New upstream development snapshot:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.1.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
typedef void (*rv40_weight_func)(uint8_t *dst/*align width (8 or 16)*/,
33
33
                                 uint8_t *src1/*align width (8 or 16)*/,
34
34
                                 uint8_t *src2/*align width (8 or 16)*/,
35
 
                                 int w1, int w2, int stride);
 
35
                                 int w1, int w2, ptrdiff_t stride);
36
36
 
37
37
typedef void (*rv34_inv_transform_func)(DCTELEM *block);
38
38
 
39
 
typedef void (*rv34_idct_add_func)(uint8_t *dst, int stride, DCTELEM *block);
40
 
typedef void (*rv34_idct_dc_add_func)(uint8_t *dst, int stride,
 
39
typedef void (*rv34_idct_add_func)(uint8_t *dst, ptrdiff_t stride, DCTELEM *block);
 
40
typedef void (*rv34_idct_dc_add_func)(uint8_t *dst, ptrdiff_t stride,
41
41
                                      int   dc);
42
42
 
43
 
typedef void (*rv40_weak_loop_filter_func)(uint8_t *src, int stride,
 
43
typedef void (*rv40_weak_loop_filter_func)(uint8_t *src, ptrdiff_t stride,
44
44
                                           int filter_p1, int filter_q1,
45
45
                                           int alpha, int beta,
46
46
                                           int lims, int lim_q1, int lim_p1);
47
47
 
48
 
typedef void (*rv40_strong_loop_filter_func)(uint8_t *src, int stride,
 
48
typedef void (*rv40_strong_loop_filter_func)(uint8_t *src, ptrdiff_t stride,
49
49
                                             int alpha, int lims,
50
50
                                             int dmode, int chroma);
51
51
 
52
 
typedef int (*rv40_loop_filter_strength_func)(uint8_t *src, int stride,
 
52
typedef int (*rv40_loop_filter_strength_func)(uint8_t *src, ptrdiff_t stride,
53
53
                                              int beta, int beta2, int edge,
54
54
                                              int *p1, int *q1);
55
55
 
58
58
    qpel_mc_func avg_pixels_tab[4][16];
59
59
    h264_chroma_mc_func put_chroma_pixels_tab[3];
60
60
    h264_chroma_mc_func avg_chroma_pixels_tab[3];
61
 
    rv40_weight_func rv40_weight_pixels_tab[2];
 
61
    /**
 
62
     * Biweight functions, first dimension is transform size (16/8),
 
63
     * second is whether the weight is prescaled by 1/512 to skip
 
64
     * the intermediate shifting.
 
65
     */
 
66
    rv40_weight_func rv40_weight_pixels_tab[2][2];
62
67
    rv34_inv_transform_func rv34_inv_transform;
63
68
    rv34_inv_transform_func rv34_inv_transform_dc;
64
69
    rv34_idct_add_func rv34_idct_add;
72
77
void ff_rv34dsp_init(RV34DSPContext *c, DSPContext* dsp);
73
78
void ff_rv40dsp_init(RV34DSPContext *c, DSPContext* dsp);
74
79
 
75
 
void ff_rv34dsp_init_neon(RV34DSPContext *c, DSPContext *dsp);
 
80
void ff_rv34dsp_init_arm(RV34DSPContext *c, DSPContext *dsp);
76
81
void ff_rv34dsp_init_x86(RV34DSPContext *c, DSPContext *dsp);
77
82
 
78
83
void ff_rv40dsp_init_x86(RV34DSPContext *c, DSPContext *dsp);
79
 
void ff_rv40dsp_init_neon(RV34DSPContext *c, DSPContext *dsp);
 
84
void ff_rv40dsp_init_arm(RV34DSPContext *c, DSPContext *dsp);
80
85
 
81
86
#endif /* AVCODEC_RV34DSP_H */