comparison lfg.c @ 873:4d9ad0ed07d0 libavutil

Replace many includes of libavutil/common.h with what is actually needed This reduces the number of false dependencies on header files and speeds up compilation.
author mru
date Tue, 09 Mar 2010 17:39:19 +0000
parents 41da9d9d39b7
children 3d83c38f150e
comparison
equal deleted inserted replaced
872:9d32a031ab0b 873:4d9ad0ed07d0
21 21
22 #include <inttypes.h> 22 #include <inttypes.h>
23 #include "lfg.h" 23 #include "lfg.h"
24 #include "md5.h" 24 #include "md5.h"
25 #include "intreadwrite.h" 25 #include "intreadwrite.h"
26 #include "attributes.h"
26 27
27 void av_cold av_lfg_init(AVLFG *c, unsigned int seed){ 28 void av_cold av_lfg_init(AVLFG *c, unsigned int seed){
28 uint8_t tmp[16]={0}; 29 uint8_t tmp[16]={0};
29 int i; 30 int i;
30 31
54 out[1] = x2 * w; 55 out[1] = x2 * w;
55 } 56 }
56 57
57 #ifdef TEST 58 #ifdef TEST
58 #include "log.h" 59 #include "log.h"
59 #include "common.h" 60 #include "timer.h"
60 61
61 int main(void) 62 int main(void)
62 { 63 {
63 int x=0; 64 int x=0;
64 int i, j; 65 int i, j;