FFmpeg  4.0
Macros | Functions
huffyuvencdsp.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "huffyuvencdsp.h"
#include "mathops.h"

Go to the source code of this file.

Macros

#define pw_1   (ULONG_MAX / UINT16_MAX)
 

Functions

static void diff_int16_c (uint16_t *dst, const uint16_t *src1, const uint16_t *src2, unsigned mask, int w)
 
static void sub_hfyu_median_pred_int16_c (uint16_t *dst, const uint16_t *src1, const uint16_t *src2, unsigned mask, int w, int *left, int *left_top)
 
av_cold void ff_huffyuvencdsp_init (HuffYUVEncDSPContext *c, AVCodecContext *avctx)
 

Macro Definition Documentation

◆ pw_1

#define pw_1   (ULONG_MAX / UINT16_MAX)

Definition at line 25 of file huffyuvencdsp.c.

Referenced by diff_int16_c().

Function Documentation

◆ diff_int16_c()

static void diff_int16_c ( uint16_t *  dst,
const uint16_t *  src1,
const uint16_t *  src2,
unsigned  mask,
int  w 
)
static

Definition at line 27 of file huffyuvencdsp.c.

Referenced by ff_huffyuvencdsp_init().

◆ sub_hfyu_median_pred_int16_c()

static void sub_hfyu_median_pred_int16_c ( uint16_t *  dst,
const uint16_t *  src1,
const uint16_t *  src2,
unsigned  mask,
int  w,
int left,
int left_top 
)
static

Definition at line 53 of file huffyuvencdsp.c.

Referenced by ff_huffyuvencdsp_init().

◆ ff_huffyuvencdsp_init()

av_cold void ff_huffyuvencdsp_init ( HuffYUVEncDSPContext c,
AVCodecContext avctx 
)

Definition at line 71 of file huffyuvencdsp.c.

Referenced by encode_init().