comparison libvo/vo_dxr3.c @ 23458:973e53dc7df5

Do not use fast_memcpy for small size copy, esp. when the size is constant
author reimar
date Tue, 05 Jun 2007 15:09:49 +0000
parents a124f3abc1ec
children 00aa61cde84a
comparison
equal deleted inserted replaced
23457:a124f3abc1ec 23458:973e53dc7df5
1104 {"color_interval", TYPE_FLOAT, &o->color_interval}, 1104 {"color_interval", TYPE_FLOAT, &o->color_interval},
1105 {0,0,0} 1105 {0,0,0}
1106 },*p; 1106 },*p;
1107 1107
1108 p = malloc(sizeof(m)); 1108 p = malloc(sizeof(m));
1109 fast_memcpy(p,m,sizeof(m)); 1109 memcpy(p,m,sizeof(m));
1110 return p; 1110 return p;
1111 } 1111 }
1112 1112
1113 static int lookup_parameter(overlay_t *o, struct lut_entry *lut, char *name, void **ptr, int *type) { 1113 static int lookup_parameter(overlay_t *o, struct lut_entry *lut, char *name, void **ptr, int *type) {
1114 int i; 1114 int i;