Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Davf_showcqt.c720 static float calculate_gamma(float v, float g) in calculate_gamma() function
737 …c[x].rgb.r = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[0] * v[x].re + cscheme[3] * v[x].im), g); in rgb_from_cqt()
738 …c[x].rgb.g = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[1] * v[x].re + cscheme[4] * v[x].im), g); in rgb_from_cqt()
739 …c[x].rgb.b = 255.0f * calculate_gamma(FFMIN(1.0f, cscheme[2] * v[x].re + cscheme[5] * v[x].im), g); in rgb_from_cqt()
748 r = calculate_gamma(FFMIN(1.0f, cscheme[0] * v[x].re + cscheme[3] * v[x].im), gamma); in yuv_from_cqt()
749 g = calculate_gamma(FFMIN(1.0f, cscheme[1] * v[x].re + cscheme[4] * v[x].im), gamma); in yuv_from_cqt()
750 b = calculate_gamma(FFMIN(1.0f, cscheme[2] * v[x].re + cscheme[5] * v[x].im), gamma); in yuv_from_cqt()
1100 s->h_buf[x] = calculate_gamma(s->h_buf[x], s->bar_g); in process_cqt()