FFmpeg
Macros | Functions
huffyuvdsp.c File Reference
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "mathops.h"
#include "huffyuvdsp.h"

Go to the source code of this file.

Macros

#define pw_1   (ULONG_MAX / UINT16_MAX)
 

Functions

static void add_int16_c (uint16_t *dst, const uint16_t *src, unsigned mask, int w)
 
static void add_hfyu_median_pred_int16_c (uint16_t *dst, const uint16_t *src, const uint16_t *diff, unsigned mask, int w, int *left, int *left_top)
 
static void add_hfyu_left_pred_bgr32_c (uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
 
av_cold void ff_huffyuvdsp_init (HuffYUVDSPContext *c, enum AVPixelFormat pix_fmt)
 

Macro Definition Documentation

◆ pw_1

#define pw_1   (ULONG_MAX / UINT16_MAX)

Definition at line 27 of file huffyuvdsp.c.

Function Documentation

◆ add_int16_c()

static void add_int16_c ( uint16_t *  dst,
const uint16_t *  src,
unsigned  mask,
int  w 
)
static

Definition at line 29 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

◆ add_hfyu_median_pred_int16_c()

static void add_hfyu_median_pred_int16_c ( uint16_t *  dst,
const uint16_t *  src,
const uint16_t *  diff,
unsigned  mask,
int  w,
int left,
int left_top 
)
static

Definition at line 42 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

◆ add_hfyu_left_pred_bgr32_c()

static void add_hfyu_left_pred_bgr32_c ( uint8_t *  dst,
const uint8_t *  src,
intptr_t  w,
uint8_t *  left 
)
static

Definition at line 59 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

◆ ff_huffyuvdsp_init()

av_cold void ff_huffyuvdsp_init ( HuffYUVDSPContext c,
enum AVPixelFormat  pix_fmt 
)

Definition at line 83 of file huffyuvdsp.c.

Referenced by checkasm_check_huffyuvdsp(), and decode_init().