Home
last modified time | relevance | path

Searched refs:shifttable (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dfloat2half.h24 static void float2half_tables(uint16_t *basetable, uint8_t *shifttable) in float2half_tables() argument
32 shifttable[i|0x000] = 24; in float2half_tables()
33 shifttable[i|0x100] = 24; in float2half_tables()
37 shifttable[i|0x000] = -e-1; in float2half_tables()
38 shifttable[i|0x100] = -e-1; in float2half_tables()
42 shifttable[i|0x000] = 13; in float2half_tables()
43 shifttable[i|0x100] = 13; in float2half_tables()
47 shifttable[i|0x000] = 24; in float2half_tables()
48 shifttable[i|0x100] = 24; in float2half_tables()
52 shifttable[ in float2half_tables()
58 float2half(uint32_t f, uint16_t *basetable, uint8_t *shifttable) float2half() argument
[all...]
H A Dpnmenc.c34 uint8_t shifttable[512]; member
173 AV_WN16(bytestream + 0, float2half(av_float2int(r[j]), s->basetable, s->shifttable)); in pnm_encode_frame()
174 AV_WN16(bytestream + 2, float2half(av_float2int(g[j]), s->basetable, s->shifttable)); in pnm_encode_frame()
175 AV_WN16(bytestream + 4, float2half(av_float2int(b[j]), s->basetable, s->shifttable)); in pnm_encode_frame()
188 AV_WN16(bytestream, float2half(av_float2int(g[j]), s->basetable, s->shifttable)); in pnm_encode_frame()
305 float2half_tables(s->basetable, s->shifttable); in phm_enc_init()
H A Dexrenc.c91 uint8_t shifttable[512]; member
98 float2half_tables(s->basetable, s->shifttable); in encode_init()
259 dst[x] = float2half(src[x], s->basetable, s->shifttable); in encode_scanline_rle()
327 dst[x] = float2half(src[x], s->basetable, s->shifttable); in encode_scanline_zip()
485 bytestream2_put_le16(pb, float2half(src[x], s->basetable, s->shifttable)); in encode_frame()

Completed in 2 milliseconds