Libav
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 pb_7f   (~0UL / 255 * 0x7f)
 
#define pb_80   (~0UL / 255 * 0x80)
 
#define B   0
 
#define G   1
 
#define R   2
 
#define A   3
 

Functions

static void add_bytes_c (uint8_t *dst, uint8_t *src, int w)
 
static void add_hfyu_median_pred_c (uint8_t *dst, const uint8_t *src1, const uint8_t *diff, int w, int *left, int *left_top)
 
static int add_hfyu_left_pred_c (uint8_t *dst, const uint8_t *src, int w, int acc)
 
static void add_hfyu_left_pred_bgr32_c (uint8_t *dst, const uint8_t *src, int w, int *red, int *green, int *blue, int *alpha)
 
av_cold void ff_huffyuvdsp_init (HuffYUVDSPContext *c)
 

Macro Definition Documentation

§ pb_7f

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

Definition at line 27 of file huffyuvdsp.c.

Referenced by add_bytes_c().

§ pb_80

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

Definition at line 28 of file huffyuvdsp.c.

Referenced by add_bytes_c().

§ B

#define B   0

Definition at line 90 of file huffyuvdsp.c.

Referenced by add_hfyu_left_pred_bgr32_c().

§ G

#define G   1

Definition at line 91 of file huffyuvdsp.c.

Referenced by add_hfyu_left_pred_bgr32_c().

§ R

#define R   2

Definition at line 92 of file huffyuvdsp.c.

Referenced by add_hfyu_left_pred_bgr32_c().

§ A

#define A   3

Definition at line 93 of file huffyuvdsp.c.

Referenced by add_hfyu_left_pred_bgr32_c().

Function Documentation

§ add_bytes_c()

static void add_bytes_c ( uint8_t dst,
uint8_t src,
int  w 
)
static

Definition at line 30 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

§ add_hfyu_median_pred_c()

static void add_hfyu_median_pred_c ( uint8_t dst,
const uint8_t src1,
const uint8_t diff,
int  w,
int *  left,
int *  left_top 
)
static

Definition at line 43 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

§ add_hfyu_left_pred_c()

static int add_hfyu_left_pred_c ( uint8_t dst,
const uint8_t src,
int  w,
int  acc 
)
static

Definition at line 63 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,
int  w,
int *  red,
int *  green,
int *  blue,
int *  alpha 
)
static

Definition at line 95 of file huffyuvdsp.c.

Referenced by ff_huffyuvdsp_init().

§ ff_huffyuvdsp_init()

av_cold void ff_huffyuvdsp_init ( HuffYUVDSPContext c)

Definition at line 123 of file huffyuvdsp.c.

Referenced by decode_init(), lag_decode_init(), and vble_decode_init().