Searched refs:float2half (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | pnmenc.c | 30 #include "float2half.h" 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()
|
H A D | float2half.h | 58 static uint16_t float2half(uint32_t f, uint16_t *basetable, uint8_t *shifttable) in float2half() function
|
H A D | exrenc.c | 38 #include "float2half.h" 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