Lines Matching refs:scale
49 float scale; in pnm_decode_frame() local
261 scale = 1.f / s->scale; in pnm_decode_frame()
270 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()
303 scale = 1.f / s->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()