Browse Source

dsputil: remove some never-assigned function pointers from the struct.

tags/n1.2
Ronald S. Bultje 13 years ago
parent
commit
2bef1a83d7
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/dsputil.h

+ 2
- 3
libavcodec/dsputil.h View File

@@ -276,7 +276,7 @@ typedef struct DSPContext {
* @param line_size number of bytes in a horizontal line of block
* @param h height
*/
op_pixels_func put_no_rnd_pixels_tab[4][4];
op_pixels_func put_no_rnd_pixels_tab[2][4];

/**
* Halfpel motion compensation with no rounding (a+b)>>1.
@@ -306,7 +306,6 @@ typedef struct DSPContext {
qpel_mc_func put_qpel_pixels_tab[2][16];
qpel_mc_func avg_qpel_pixels_tab[2][16];
qpel_mc_func put_no_rnd_qpel_pixels_tab[2][16];
qpel_mc_func avg_no_rnd_qpel_pixels_tab[2][16];
qpel_mc_func put_mspel_pixels_tab[8];

/**
@@ -316,7 +315,7 @@ typedef struct DSPContext {
h264_chroma_mc_func avg_h264_chroma_pixels_tab[3];

qpel_mc_func put_h264_qpel_pixels_tab[4][16];
qpel_mc_func avg_h264_qpel_pixels_tab[4][16];
qpel_mc_func avg_h264_qpel_pixels_tab[3][16];

me_cmp_func pix_abs[2][4];



Loading…
Cancel
Save