FFmpeg
Functions
float2half.h File Reference
#include <stdint.h>

Go to the source code of this file.

Functions

static void float2half_tables (uint16_t *basetable, uint8_t *shifttable)
 
static uint16_t float2half (uint32_t f, uint16_t *basetable, uint8_t *shifttable)
 

Function Documentation

◆ float2half_tables()

static void float2half_tables ( uint16_t *  basetable,
uint8_t *  shifttable 
)
static

Definition at line 24 of file float2half.h.

Referenced by encode_init().

◆ float2half()

static uint16_t float2half ( uint32_t  f,
uint16_t *  basetable,
uint8_t *  shifttable 
)
static

Definition at line 58 of file float2half.h.

Referenced by encode_frame(), encode_scanline_rle(), and encode_scanline_zip().