Searched refs:random_register (Results 1 – 1 of 1) sorted by relevance
238 static uint16_t random_register = 0; // random number generator register variable376 bit = ((random_register >> 0) ^ (random_register >> 1) ^ in get_random_number()377 (random_register >> 3) ^ (random_register >> 12)) & in get_random_number()379 random_register = (random_register >> 1) | (bit << 15); in get_random_number()380 return (random_register >> (16 - bits)) & ((1 << bits) - 1); in get_random_number()389 random_register = (msb << 8) + lsb; in init_random_generator()394 random_register ^= ((luma_num * 37 + 178) & 255) << 8; in init_random_generator()395 random_register ^= ((luma_num * 173 + 105) & 255); in init_random_generator()1042 random_register = params->random_seed; in av1_add_film_grain_run()