Home
last modified time | relevance | path

Searched refs:b_in (Results 1 - 2 of 2) sorted by relevance

/third_party/astc-encoder/Utils/
H A Dastc_rgbm_codec.cpp99 float b_in = pixel_in[2] / rgbm_multiplier; in main() local
101 float max_rgb = astc::max(r_in, g_in, b_in); in main()
111 float b_scale = astc::min(1.0f, b_in / m_scale); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_tonemap.c116 const float *b_in = (const float *)(in->data[map[2]] + x * desc->comp[map[2]].step + y * in->linesize[map[2]]); in tonemap() local
125 *b_out = *b_in; in tonemap()
129 float luma = av_q2d(s->coeffs->cr) * *r_in + av_q2d(s->coeffs->cg) * *g_in + av_q2d(s->coeffs->cb) * *b_in; in tonemap()
133 *b_out = MIX(*b_in, luma, overbright); in tonemap()

Completed in 2 milliseconds