libavcodec/bit_depth_template.c File Reference

#include "dsputil.h"

Go to the source code of this file.

Defines

#define BIT_DEPTH   8
#define pixel   uint8_t
#define pixel2   uint16_t
#define pixel4   uint32_t
#define dctcoef   int16_t
#define INIT_CLIP   uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
#define no_rnd_avg_pixel4   no_rnd_avg32
#define rnd_avg_pixel4   rnd_avg32
#define AV_RN2P   AV_RN16
#define AV_RN4P   AV_RN32
#define AV_RN4PA   AV_RN32A
#define AV_WN2P   AV_WN16
#define AV_WN4P   AV_WN32
#define AV_WN4PA   AV_WN32A
#define PIXEL_SPLAT_X4(x)   ((x)*0x01010101U)
#define av_clip_pixel(a)   av_clip_uint8(a)
#define CLIP(a)   cm[a]
#define FUNC3(a, b, c)   a ## _ ## b ## c
#define FUNC2(a, b, c)   FUNC3(a, b, c)
#define FUNC(a)   FUNC2(a, BIT_DEPTH,)
#define FUNCC(a)   FUNC2(a, BIT_DEPTH, _c)

Define Documentation

#define AV_RN2P   AV_RN16

Definition at line 76 of file bit_depth_template.c.

Referenced by copy_block2().

#define AV_RN4P   AV_RN32

Definition at line 77 of file bit_depth_template.c.

Referenced by copy_block16(), copy_block4(), and copy_block8().

#define AV_RN4PA   AV_RN32A
#define AV_WN2P   AV_WN16

Definition at line 79 of file bit_depth_template.c.

Referenced by copy_block2().

#define AV_WN4P   AV_WN32

Definition at line 80 of file bit_depth_template.c.

Referenced by copy_block16(), copy_block4(), and copy_block8().

#define CLIP (   a  )     cm[a]
#define FUNC (   a  )     FUNC2(a, BIT_DEPTH,)
#define FUNC2 (   a,
  b,
  c 
)    FUNC3(a, b, c)

Definition at line 89 of file bit_depth_template.c.

#define FUNC3 (   a,
  b,
  c 
)    a ## _ ## b ## c

Definition at line 88 of file bit_depth_template.c.

#define INIT_CLIP   uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;

Definition at line 73 of file bit_depth_template.c.

Referenced by pred8x16_plane(), and pred8x8_plane().

#define no_rnd_avg_pixel4   no_rnd_avg32

Definition at line 74 of file bit_depth_template.c.

#define pixel2   uint16_t

Definition at line 69 of file bit_depth_template.c.

#define rnd_avg_pixel4   rnd_avg32

Definition at line 75 of file bit_depth_template.c.