FFmpeg
Macros | Typedefs | Functions
pngdsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/macros.h"
#include "png.h"
#include "pngdsp.h"

Go to the source code of this file.

Macros

#define BITS   32
 
#define RN   AV_JOIN(AV_RN, BITS)
 
#define RNA   AV_JOIN(AV_JOIN(AV_RN, BITS), A)
 
#define WN   AV_JOIN(AV_WN, BITS)
 
#define pb_7f   (~(uint_native)0 / 255 * 0x7f)
 
#define pb_80   (~(uint_native)0 / 255 * 0x80)
 

Typedefs

typedef uint32_t uint_native
 

Functions

static void add_bytes_l2_c (uint8_t *dst, uint8_t *src1, uint8_t *src2, int w)
 
av_cold void ff_pngdsp_init (PNGDSPContext *dsp)
 

Macro Definition Documentation

◆ BITS

#define BITS   32

Definition at line 33 of file pngdsp.c.

◆ RN

#define RN   AV_JOIN(AV_RN, BITS)

Definition at line 36 of file pngdsp.c.

◆ RNA

#define RNA   AV_JOIN(AV_JOIN(AV_RN, BITS), A)

Definition at line 37 of file pngdsp.c.

◆ WN

#define WN   AV_JOIN(AV_WN, BITS)

Definition at line 38 of file pngdsp.c.

◆ pb_7f

#define pb_7f   (~(uint_native)0 / 255 * 0x7f)

Definition at line 41 of file pngdsp.c.

◆ pb_80

#define pb_80   (~(uint_native)0 / 255 * 0x80)

Definition at line 42 of file pngdsp.c.

Typedef Documentation

◆ uint_native

typedef uint32_t uint_native

Definition at line 34 of file pngdsp.c.

Function Documentation

◆ add_bytes_l2_c()

static void add_bytes_l2_c ( uint8_t *  dst,
uint8_t *  src1,
uint8_t *  src2,
int  w 
)
static

Definition at line 44 of file pngdsp.c.

Referenced by ff_pngdsp_init().

◆ ff_pngdsp_init()

av_cold void ff_pngdsp_init ( PNGDSPContext dsp)

Definition at line 56 of file pngdsp.c.

Referenced by lscr_decode_init(), and png_dec_init().