Revision 8dbe5856 libavcodec/h264dsp_internal.h

View differences:

libavcodec/h264dsp_internal.h
25 25
 * @author Michael Niedermayer <michaelni@gmx.at>
26 26
 */
27 27

  
28
#include "dsputil.h"
29

  
30
#define BIT_DEPTH 8
31
#define pixel uint8_t
32
#define av_clip_pixel av_clip_uint8
33
#define FUNCC(a) a ## _c
28
#include "h264_high_depth.h"
34 29

  
35 30
#define op_scale1(x)  block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
36 31
#define op_scale2(x)  dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))

Also available in: Unified diff