Searched refs:MAX_Y_T (Results 1 – 1 of 1) sorted by relevance
176 #define MAX_Y_T ((256 << YFIX) - 1) macro185 static float kGammaToLinearTabF[MAX_Y_T + 1]; // size scales with Y_FIX192 const double norm = 1. / MAX_Y_T; in InitGammaTablesF()194 for (v = 0; v <= MAX_Y_T; ++v) { in InitGammaTablesF()198 kLinearToGammaTabF[v] = (float)(MAX_Y_T * pow(scale * v, 1. / kGammaF)); in InitGammaTablesF()224 const float norm = 1.f / MAX_Y_T; in GammaToLinearF()228 return MAX_Y_T * value; in LinearToGammaF()261 return (!(y & ~MAX_Y_T)) ? (fixed_y_t)y : (y < 0) ? 0 : MAX_Y_T; in clip_y()