FFmpeg
Macros | Functions
pngdsp.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "png.h"
#include "pngdsp.h"

Go to the source code of this file.

Macros

#define pb_7f   (~0UL / 255 * 0x7f)
 
#define pb_80   (~0UL / 255 * 0x80)
 

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

◆ pb_7f

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

Definition at line 28 of file pngdsp.c.

◆ pb_80

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

Definition at line 29 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 31 of file pngdsp.c.

Referenced by ff_pngdsp_init().

◆ ff_pngdsp_init()

av_cold void ff_pngdsp_init ( PNGDSPContext dsp)

Definition at line 43 of file pngdsp.c.

Referenced by lscr_decode_init(), and png_dec_init().