Home
last modified time | relevance | path

Searched refs:av_int2float (Results 1 - 25 of 25) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpnmdec.c274 r[j] = av_int2float(AV_RL32(s->bytestream+0)) * scale; in pnm_decode_frame()
275 g[j] = av_int2float(AV_RL32(s->bytestream+4)) * scale; in pnm_decode_frame()
276 b[j] = av_int2float(AV_RL32(s->bytestream+8)) * scale; in pnm_decode_frame()
292 r[j] = av_int2float(AV_RB32(s->bytestream+0)) * scale; in pnm_decode_frame()
293 g[j] = av_int2float(AV_RB32(s->bytestream+4)) * scale; in pnm_decode_frame()
294 b[j] = av_int2float(AV_RB32(s->bytestream+8)) * scale; in pnm_decode_frame()
315 r[j] = av_int2float(half2float(AV_RL16(s->bytestream+0), in pnm_decode_frame()
319 g[j] = av_int2float(half2float(AV_RL16(s->bytestream+2), in pnm_decode_frame()
323 b[j] = av_int2float(half2float(AV_RL16(s->bytestream+4), in pnm_decode_frame()
342 r[j] = av_int2float(half2floa in pnm_decode_frame()
[all...]
H A Dinternal.h189 return av_int2float((x+127) << 23); in ff_exp2fi()
195 return av_int2float(1 << (x+149)); in ff_exp2fi()
H A Ddpx.c261 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame()
273 AVRational q = av_d2q(av_int2float(i), 4096); in decode_frame()
317 minCV = av_int2float(i); in decode_frame()
318 maxCV = av_int2float(j); in decode_frame()
H A Dfitsdec.c86 CASE_N(-32, tflt, av_int2float(AV_RB32(ptr8))); in fill_data_min_max()
293 CASE_GRAY(-32, dst16, uint16_t, tflt, av_int2float(AV_RB32(ptr8))); in fits_decode_frame()
H A 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()
H A Dbinkaudio.c190 coeffs[0] = av_int2float(get_bits_long(gb, 32)) * s->root; in decode_block()
191 coeffs[1] = av_int2float(get_bits_long(gb, 32)) * s->root; in decode_block()
H A Dfastaudio.c145 float value = av_int2float((inds[i] + 1) << 20) * powf(2.f, 116.f); in fastaudio_decode()
H A Dcri.c248 framerate = av_int2float(bytestream2_get_le32(gb)); in cri_decode_frame()
H A Dexr.c902 block[ff_zigzag_direct[n]] = av_int2float(half2float(val, in ac_uncompress()
2140 ff_set_sar(s->avctx, av_d2q(av_int2float(s->sar), 255)); in decode_frame()
H A Dspeexdec.c305 fran = av_int2float(ran); in speex_rand()
/third_party/ffmpeg/libavutil/
H A Dmathematics.h64 #define NAN av_int2float(0x7fc00000)
67 #define INFINITY av_int2float(0x7f800000)
H A Dintfloat.h40 static av_always_inline float av_int2float(uint32_t i) in av_int2float() function
/third_party/ffmpeg/libavformat/
H A 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()
H A Dthp.c56 d = av_int2float(AV_RB32(p->buf + 16)); in thp_probe()
79 thp->fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in thp_read_header()
H A Dmgsts.c57 fps = av_d2q(av_int2float(avio_rb32(pb)), INT_MAX); in read_header()
H A Dcinedec.c197 set_metadata_float(&st->metadata, "wbgain[0].r", av_int2float(avio_rl32(pb)), 1); in cine_read_header()
198 set_metadata_float(&st->metadata, "wbgain[0].b", av_int2float(avio_rl32(pb)), 1); in cine_read_header()
H A D4xm.c261 fourxm->fps = av_d2q(av_int2float(AV_RL32(&header[i + 12])), 10000); in fourxm_read_header()
H A Dmatroskadec.c1019 *num = av_int2float(avio_rb32(pb)); in ebml_read_float()
H A Dmov.c515 float val = av_int2float(avio_rb32(pb)); in mov_read_udta_string()
/third_party/ffmpeg/libavfilter/dnn/
H A 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()
H A Ddnn_backend_native_layer_mathbinary.c112 params.v = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_math_binary()
125 params.v = av_int2float(avio_rl32(model_file_context)); in ff_dnn_load_layer_math_binary()
H A 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/
H A Drational.c122 float f = av_int2float(av_q2intfloat(a)); in main()
/third_party/ffmpeg/libavfilter/
H A Dblend_modes.c77 #define INT2FLOAT(x) av_int2float(x)
/third_party/ffmpeg/libswscale/
H A Dinput.c961 #define rdpx(src) (is_be ? av_int2float(AV_RB32(src)): av_int2float(AV_RL32(src)))

Completed in 34 milliseconds