Home
last modified time | relevance | path

Searched refs:av_int2float (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpnmdec.c270 r[j] = av_int2float(AV_RL32(s->bytestream+0)) * scale; in pnm_decode_frame()
271 g[j] = av_int2float(AV_RL32(s->bytestream+4)) * scale; in pnm_decode_frame()
272 b[j] = av_int2float(AV_RL32(s->bytestream+8)) * scale; in pnm_decode_frame()
288 r[j] = av_int2float(AV_RB32(s->bytestream+0)) * scale; in pnm_decode_frame()
289 g[j] = av_int2float(AV_RB32(s->bytestream+4)) * scale; in pnm_decode_frame()
290 b[j] = av_int2float(AV_RB32(s->bytestream+8)) * scale; in pnm_decode_frame()
308 g[j] = av_int2float(AV_RL32(s->bytestream)) * scale; in pnm_decode_frame()
317 g[j] = av_int2float(AV_RB32(s->bytestream)) * scale; in pnm_decode_frame()
Dinternal.h293 return av_int2float((x+127) << 23); in ff_exp2fi()
299 return av_int2float(1 << (x+149)); in ff_exp2fi()
Ddpx.c263 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame()
275 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame()
319 minCV = av_int2float(i); in decode_frame()
320 maxCV = av_int2float(j); in decode_frame()
Dfitsdec.c85 CASE_N(-32, tflt, av_int2float(AV_RB32(ptr8))); in fill_data_min_max()
292 CASE_GRAY(-32, dst16, uint16_t, tflt, av_int2float(AV_RB32(ptr8))); in fits_decode_frame()
Dmss12.c635 av_int2float(AV_RB32(avctx->extradata + 28))); in ff_mss12_decode_init()
639 av_int2float(AV_RB32(avctx->extradata + 36))); in ff_mss12_decode_init()
641 av_int2float(AV_RB32(avctx->extradata + 40))); in ff_mss12_decode_init()
643 av_int2float(AV_RB32(avctx->extradata + 44))); in ff_mss12_decode_init()
Dbinkaudio.c184 coeffs[0] = av_int2float(get_bits_long(gb, 32)) * s->root; in decode_block()
185 coeffs[1] = av_int2float(get_bits_long(gb, 32)) * s->root; in decode_block()
Dfastaudio.c145 float value = av_int2float((inds[i] + 1) << 20) * powf(2.f, 116.f); in fastaudio_decode()
Dcri.c249 framerate = av_int2float(bytestream2_get_le32(gb)); in cri_decode_frame()
Dexr.c901 block[ff_zigzag_direct[n]] = av_int2float(half2float(val, in ac_uncompress()
2127 ff_set_sar(s->avctx, av_d2q(av_int2float(s->sar), 255)); in decode_frame()
/third_party/ffmpeg/libavutil/
Dmathematics.h64 #define NAN av_int2float(0x7fc00000)
67 #define INFINITY av_int2float(0x7f800000)
Dintfloat.h40 static av_always_inline float av_int2float(uint32_t i) in av_int2float() function
/third_party/ffmpeg/libavformat/
Dircamdec.c69 sample_rate = lrintf(av_int2float(avio_rl32(s->pb))); in ircam_read_header()
74 sample_rate = lrintf(av_int2float(avio_rb32(s->pb))); in ircam_read_header()
Dthp.c55 d = av_int2float(AV_RB32(p->buf + 16)); in thp_probe()
77 thp->fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in thp_read_header()
Dcinedec.c196 set_metadata_float(&st->metadata, "wbgain[0].r", av_int2float(avio_rl32(pb)), 1); in cine_read_header()
197 set_metadata_float(&st->metadata, "wbgain[0].b", av_int2float(avio_rl32(pb)), 1); in cine_read_header()
Dmgsts.c57 fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in read_header()
D4xm.c257 fourxm->fps = av_d2q(av_int2float(AV_RL32(&header[i + 12])), 10000); in fourxm_read_header()
Dmatroskadec.c999 *num = av_int2float(avio_rb32(pb)); in ebml_read_float()
Dmov.c505 float val = av_int2float(avio_rb32(pb)); in mov_read_udta_string()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_dense.c56 dense_params->kernel[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_dense()
68 dense_params->biases[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_dense()
Ddnn_backend_native_layer_mathbinary.c113 params.v = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_math_binary()
126 params.v = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_math_binary()
Ddnn_backend_native_layer_conv2d.c82 conv_params->kernel[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_conv2d()
94 conv_params->biases[i] = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_conv2d()
/third_party/ffmpeg/libavutil/tests/
Drational.c122 float f = av_int2float(av_q2intfloat(a)); in main()
/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()
/third_party/ffmpeg/libswscale/
Dinput.c966 #define rdpx(src) (is_be ? av_int2float(AV_RB32(src)): av_int2float(AV_RL32(src)))
1037 dst[i] = av_clip_uint16(lrintf(65535.0f * av_int2float(av_bswap32(src[i])))); in grayf32ToY16_bswap_c()