Defines

libavcodec/high_bit_depth.h File Reference

#include "dsputil.h"

Go to the source code of this file.

Defines

#define BIT_DEPTH   8
#define CLIP_PIXEL(depth)
#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 Documentation

#define AV_RN2P   AV_RN16

Definition at line 82 of file high_bit_depth.h.

Referenced by copy_block2().

#define AV_RN4P   AV_RN32

Definition at line 83 of file high_bit_depth.h.

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

#define AV_RN4PA   AV_RN32A
#define AV_WN2P   AV_WN16

Definition at line 85 of file high_bit_depth.h.

Referenced by copy_block2().

#define AV_WN4P   AV_WN32

Definition at line 86 of file high_bit_depth.h.

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

#define AV_WN4PA   AV_WN32A
#define BIT_DEPTH   8

Definition at line 22 of file high_bit_depth.h.

#define CLIP_PIXEL (   depth  ) 
Value:
static inline uint16_t av_clip_pixel_ ## depth (int p)\
    {\
        const int pixel_max = (1 << depth)-1;\
        return (p & ~pixel_max) ? (-p)>>31 & pixel_max : p;\
    }

Definition at line 46 of file high_bit_depth.h.

#define dctcoef   int16_t
#define INIT_CLIP   uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
#define no_rnd_avg_pixel4   no_rnd_avg32

Definition at line 80 of file high_bit_depth.h.

#define pixel   uint8_t
#define pixel2   uint16_t

Definition at line 75 of file high_bit_depth.h.

#define pixel4   uint32_t
#define PIXEL_SPLAT_X4 (   x  )     ((x)*0x01010101U)
#define rnd_avg_pixel4   rnd_avg32

Definition at line 81 of file high_bit_depth.h.