Home
last modified time | relevance | path

Searched refs:av_float2int (Results 1 – 11 of 11) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpnmenc.c110 AV_WN32(bytestream + 0, av_float2int(r[j])); in pnm_encode_frame()
111 AV_WN32(bytestream + 4, av_float2int(g[j])); in pnm_encode_frame()
112 AV_WN32(bytestream + 8, av_float2int(b[j])); in pnm_encode_frame()
Dcbrt_tablegen.h35 #define CBRT(x) av_float2int((float)(x))
Dexrenc.c404 bytestream2_put_le32(pb, av_float2int(1.f)); in encode_frame()
409 bytestream2_put_le32(pb, av_float2int(av_q2d(avctx->sample_aspect_ratio))); in encode_frame()
421 bytestream2_put_le32(pb, av_float2int(s->gamma)); in encode_frame()
Dwmaprodec.c956 vals[i ] = av_float2int(v0); in decode_coeffs()
957 vals[i+1] = av_float2int(v1); in decode_coeffs()
/third_party/ffmpeg/libavutil/
Dlibm.h303 uint32_t v = av_float2int(x); in avpriv_isinff()
326 uint32_t v = av_float2int(x); in avpriv_isnanf()
349 uint32_t v = av_float2int(x); in avpriv_isfinitef()
Dintfloat.h50 static av_always_inline uint32_t av_float2int(float f) in av_float2int() function
/third_party/ffmpeg/libavfilter/
Dvf_blend.c535 DEFINE_BLEND32(and, av_int2float(av_float2int(A) & av_float2int(B)), 32) in DEFINE_BLEND8()
536 DEFINE_BLEND32(or, av_int2float(av_float2int(A) | av_float2int(B)), 32) in DEFINE_BLEND8()
537 DEFINE_BLEND32(xor, av_int2float(av_float2int(A) ^ av_float2int(B)), 32) in DEFINE_BLEND8()
Dvf_tonemap.c289 av_float2int(1.0f)); in filter_frame()
Dvf_zscale.c729 av_float2int(1.0f)); in filter_frame()
/third_party/ffmpeg/libswscale/ppc/
Dswscale_altivec.c145 dest[i] = av_bswap32(av_float2int(float_mult * (float)val_uint)); in yuv2plane1_float_bswap_u()
/third_party/ffmpeg/libswscale/
Doutput.c241 dest[i] = av_bswap32(av_float2int(float_mult * (float)val_uint)); in yuv2plane1_float_bswap_c_template()
281 dest[i] = av_bswap32(av_float2int(float_mult * (float)val_uint)); in yuv2planeX_float_bswap_c_template()
2384 dest32[0][i] = av_float2int(float_mult * (float)(G >> 14)); in yuv2gbrpf32_full_X_c()
2385 dest32[1][i] = av_float2int(float_mult * (float)(B >> 14)); in yuv2gbrpf32_full_X_c()
2386 dest32[2][i] = av_float2int(float_mult * (float)(R >> 14)); in yuv2gbrpf32_full_X_c()
2388 dest32[3][i] = av_float2int(float_mult * (float)(av_clip_uintp2(A, 30) >> 14)); in yuv2gbrpf32_full_X_c()