search for: scale_factor

Displaying 6 results from an estimated 6 matches for "scale_factor".

2007 Feb 15
0
8 commits - libswfdec/swfdec_bits.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_tag.c libswfdec/swfdec_text.c libswfdec/swfdec_text.h test/swfedit_token.c test/various
...24 in DefineFont3 diff --git a/libswfdec/swfdec_bits.h b/libswfdec/swfdec_bits.h index 0dd1dd9..d568dd8 100644 --- a/libswfdec/swfdec_bits.h +++ b/libswfdec/swfdec_bits.h @@ -26,8 +26,6 @@ #include <libswfdec/swfdec_color.h> #include <libswfdec/swfdec_buffer.h> -#define SWFDEC_TEXT_SCALE_FACTOR (1024.0) - typedef struct _SwfdecBits SwfdecBits; struct _SwfdecBits diff --git a/libswfdec/swfdec_font.c b/libswfdec/swfdec_font.c index d70a881..ac64c22 100644 --- a/libswfdec/swfdec_font.c +++ b/libswfdec/swfdec_font.c @@ -206,6 +206,7 @@ tag_func_define_font (SwfdecSwfDecoder * font = s...
2002 Jan 03
3
Suggestion for libvorbisfile: scaling
I've been experimenting with the ideas of Replay Gain[1] and find that ogg123 doesn't have a way of specifying the scaling applied to replayed samples (like -f in mpg123). Looking at libvorbisfile, I see no function exactly matching this possibly desirable behaviour. ov_read() scales by either 128 (byte output) or 32768 (word output), but there's nothing in between. ov_read_float()
2013 Jan 08
0
[PATCH] avoid undefined behavior in fmt_scaled()
...N) { + errno = ERANGE; + return -1; + } + abval = (number < 0LL) ? -number : number; /* no long long_abs yet */ - /* Not every negative long long has a positive representation. - * Also check for numbers that are just too darned big to format - */ - if (abval < 0 || abval / 1024 >= scale_factors[SCALE_LENGTH-1]) { + /* Check for numbers that are just too darned big to format. */ + if (abval / 1024 >= scale_factors[SCALE_LENGTH-1]) { errno = ERANGE; return -1; }
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
...get.var.ncdf(Conn42,"time"); file42YrRangeDays = trunc(length(timeObj)) # Process each file separately: # get attributes, read the rhum data cube, # extract the time series from the cube, # and rescale the time series vector # scaleFact = att.get.ncdf(Conn42,"rhum","scale_factor") offset = att.get.ncdf(Conn42,"rhum","add_offset") rhumObj = get.var.ncdf(Conn42,"rhum"); # # the Relative Humidity data 'cube' has 4 dimensions: # latitudes (4), longitudes (3), pressure levels (1), # and time (days - several thousand)...
2011 Jun 17
0
Inconsistent results from var.get.nc in RNetCDF
...lon:standard_name = "longitude" ; lon:units = "degrees_east" ; short tmax(lon, lat, month) ; tmax:missing_value = -9999 ; tmax:_FillValue = -9999 ; tmax:units = "degree_celsius" ; tmax:scale_factor = 0.01 ; tmax:valid_min = -5000 ; tmax:valid_max = 6000 ; ----- I am getting behavior I don't understand when I use the var.get.nc function from the RNetCDF package. For example, when I attempt to extract 82 values beginning at stval from the maximum temperature da...
2008 Jun 13
16
Isolation and time
(Moving from offlist discussion.) I''m interested in opinions... Assume there are four single vcpu domains A, B, C, D, running on a 2-CPU physical machine. We wish to test for time skew on domain A. Assuming B, C, and D are all running some workload that attempts to fully saturate the (single) cpu. 1) Should the affect on domain A be essentially the same regardless of what load