search for: dct

Displaying 20 results from an estimated 135 matches for "dct".

Did you mean: dc
2017 May 18
2
[R] R-3.4.0 fails test
This has to do with your own timezone. If I run that code on my computer, both formats are correct. If I do this after Sys.setenv(TZ = "UTC") Then: > cbind(format(dlt), format(dct)) [,1] [,2] [1,] "2016-12-06 21:45:41" "2016-12-06 20:45:41" [2,] "2016-12-06 21:45:42" "2016-12-06 20:45:42" The reason for that, is that dlt has a timezone set, but dct doesn't. To be correct, it only takes the first value &quo...
2011 Mar 31
1
DCT-coefficients in
Why for white-pixel image, oc_enc_fdct8x8_c() returns the matrix with non-zero AC-coefficients? _x[64]: * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 107 107 * 107 107 107 107 107 107 10...
2017 May 18
2
[R] R-3.4.0 fails test
...y 18, 2017 at 1:45 PM, Joris Meys <jorismeys at gmail.com> wrote: > This has to do with your own timezone. If I run that code on my computer, both formats are correct. If I do this after > > Sys.setenv(TZ = "UTC") > > Then: > > > cbind(format(dlt), format(dct)) > [,1] [,2] > [1,] "2016-12-06 21:45:41" "2016-12-06 20:45:41" > [2,] "2016-12-06 21:45:42" "2016-12-06 20:45:42" > > The reason for that, is that dlt has a timezone set, but dct doesn't. To be c...
2001 Jan 02
0
mdct explanation
...as promised. This describes the mdct used in my d.m.l patch. I think it is the same as the Lee fast-dct. I typed it in a kind of pseudo-TeX, 'cause the ascii art would kill me. Hope you can read TeX source; if not, ask someone who can to make a .ps/.gif/.whatever of the TeX output, and put it on a webpage or something. I'm to...
2011 Mar 01
1
theora encoder reordering, order of puting data from DCT 8x8 blocks to huffman compressor, and puting result of huffman compressor to buffer bitstream memory
Good day! I'm creating HDL IP CORE (for using in FPGA) for theora encoder (now only I-frames). I don't undestand one moment. Now i develop such stages: 1. From RBG(byer) to YCbCr converter 2. DCT processing (8x8 pixels blocks) 3. Quantizator of DCT coeff. 4. Zig-Zag of quantized DCT coeff. and now i have uresolved last stage of compression - how i must send 8x8 blocks to huffman compressor? I don't understand ordering. I must send all DC coeff (Y, than Cb,Cr), after all AC-0 (Y, than Cb...
2017 May 17
2
R-3.4.0 fails test
...quot;, gmtoff = 3600L), + class = c("POSIXlt", "POSIXt"), tzone = c("", "CET", "CEST")) > dlt$sec <- 10000 + 1:10 # almost three hours & uses re-cycling .. > fd <- format(dlt) > stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXct(dlt)))) Error: identical(fd, format(dct <- as.POSIXct(dlt))) is not TRUE Execution halted ... so, of course, the remaining tests aren't done. AFAICT, that test will fail anywhere outside of tzone CET, but I could be missing something. What is the point of this test and is...
2017 May 17
2
R-3.4.0 fails test
...quot;, gmtoff = 3600L), + class = c("POSIXlt", "POSIXt"), tzone = c("", "CET", "CEST")) > dlt$sec <- 10000 + 1:10 # almost three hours & uses re-cycling .. > fd <- format(dlt) > stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXct(dlt)))) Error: identical(fd, format(dct <- as.POSIXct(dlt))) is not TRUE Execution halted ... so, of course, the remaining tests aren't done. AFAICT, that test will fail anywhere outside of tzone CET, but I could be missing something. What is the point of this test and is...
2017 May 18
2
[R] R-3.4.0 fails test
...d configured? Info: Processes: 256 Uptime: 17:01 Memory: 3533.8/14955.3MB Init: Upstart runlevel: 2 Gcc sys: 4.8.4 Client: Shell (bash 4.3.111) inxi: 2.2.28 Time zone: NZST |> c) run the offending code lines "by hand" and show us the values of format(dlt) and format(dct) so we can see what the problem is, something like |> |> dlt <- structure( |> list(sec = 52, min = 59L, hour = 18L, mday = 6L, mon = 11L, year = 116L, |> wday = 2L, yday = 340L, isdst = 0L, zone = "CET", gmtoff = 3600L), |> class = c("POSIXlt&quot...
2009 Mar 29
1
DCT function?
Looking for the DCT function, but don't see it in the signal pkg. http://rss.acs.unt.edu/Rdoc/library/signal/html/signal.package.html http://rss.acs.unt.edu/Rdoc/library/signal/html/00Index.html As I understand it, the 'signal' functions are ports of the corresponding matlab/octave code, where the DCT exi...
2000 Aug 29
1
Why LSP?
(Disclaimer: this is not an LPC vs. LSP question) After looking at the Vorbis code I was wondering why you were using LSP to quantize the spectral envelope instead of simply quantizing the cepstrum (DCT(log(envelope))) or modified cepstrum (DCT(envelope.^alpha)). To me it seems like when the information is already in the frequency domain, there's no need to go back to LPC. Also, I think a DCT can be faster that a Levinson-Durbin recursion. This is why I'd like to know whether there's a...
2017 May 18
0
[R] R-3.4.0 fails test
...18, 2017 at 1:45 PM, Joris Meys <jorismeys at gmail.com> wrote: > This has to do with your own timezone. If I run that code on my computer, > both formats are correct. If I do this after > > Sys.setenv(TZ = "UTC") > > Then: > > > cbind(format(dlt), format(dct)) > [,1] [,2] > [1,] "2016-12-06 21:45:41" "2016-12-06 20:45:41" > [2,] "2016-12-06 21:45:42" "2016-12-06 20:45:42" > > The reason for that, is that dlt has a timezone set, but dct doesn't. To > be correct, it on...
2011 Mar 28
3
DCT in Theora
> I put debug code in a function in C, > but the function oc_enc_fdct8x8() not called. > Why? There is no function oc_enc_fdct8x8. It's a macro, which usually calls a platform-specific version via _enc->opt_vtable.fdct8x8, though on some platforms, it will call a specific version directly (e.g., oc_enc_fdct8x8_x86_64sse2 on x86-64). All of the functions...
2017 May 18
0
[R] R-3.4.0 fails test
...s Meys <jorismeys at gmail.com> wrote: >> This has to do with your own timezone. If I run that code on my computer, both formats are correct. If I do this after >> >> Sys.setenv(TZ = "UTC") >> >> Then: >> >>> cbind(format(dlt), format(dct)) >> [,1] [,2] >> [1,] "2016-12-06 21:45:41" "2016-12-06 20:45:41" >> [2,] "2016-12-06 21:45:42" "2016-12-06 20:45:42" >> >> The reason for that, is that dlt has a timezone set, but dct doe...
2011 Apr 08
1
Inverse DCT in coding stage
Why in the procedure oc_enc_block_transform_quantize() is used function oc_idct8x8()? After all, Inverse DCT only need to decoding stage, rather than coding?
2017 May 18
2
[R] R-3.4.0 fails test
...l.com> wrote: >>> This has to do with your own timezone. If I run that code on my computer, both formats are correct. If I do this after >>> >>> Sys.setenv(TZ = "UTC") >>> >>> Then: >>> >>>> cbind(format(dlt), format(dct)) >>> [,1] [,2] >>> [1,] "2016-12-06 21:45:41" "2016-12-06 20:45:41" >>> [2,] "2016-12-06 21:45:42" "2016-12-06 20:45:42" >>> >>> The reason for that, is that dlt has a timezo...
2009 Jan 22
2
Converting ddf/dct/sas data definition file to R
Dear all, I was wondering whether anyone knows about a program which converts (part of) a data definition file (such as a .dct file for stata, or .sas file for sas) into an R-script. Here is an example with a .sas file: <-- snipp VALUE HTYPE (default=32) 0 = "Not in household" 1 = "Married couple family household" 2 = "Male householder family&q...
2009 Jun 03
0
Add callback for twiddling DCT data
Hi, Attached is the first version of the DCT callback. It's still a bit WIP, but now you have something to refer to when I'm rambling :) Best Regards, Thorvald -------------- next part --------------
2011 Mar 21
0
Contents of theora digest...
...To: bens at alum.mit.edu Cc: Reply-All at xiph.org On 18 March 2011 23:15, Benjamin M. Schwartz <bmschwar at fas.harvard.edu>wrote: > On 03/18/2011 01:44 PM, digital design wrote: > > Now i implement next stages of encoder^ > > Block1: > > 1) RGB->YUV > > 2) DCT of 16X16 blocks (pixel format 4:2:0) > > 3) zig-zag in eatch 8*8 block from previous step and push it to bufer > memory. > > > > i push 16X16 blocks to BLOCK1 using raster order (i'm right?) > > Now i'm confused - so much types of ordering. What i must do after DC...
2017 May 18
0
[R] R-3.4.0 fails test
...3.19.0-32-generic x86_64 (64 bit gcc: 4.8.2) > Desktop: KDE Plasma 4.14.2 (Qt 4.8.6) Distro: Linux Mint 17.3 Rosa I suppose that'll do... > Time zone: NZST > > |> c) run the offending code lines "by hand" and show us the values of format(dlt) and format(dct) so we can see what the problem is, something like > |> > |> dlt <- structure( > |> list(sec = 52, min = 59L, hour = 18L, mday = 6L, mon = 11L, year = 116L, > |> wday = 2L, yday = 340L, isdst = 0L, zone = "CET", gmtoff = 3600L), > |> cla...
2017 May 19
1
[R] R-3.4.0 fails test
...uot; time wise currently, I'm happy for |> timezone-portable propositions to change the test. Meantime, anyone who lives where DST happpens in December who wants to get through the remaining tests can avoid this one by changing the line > stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXct(dlt)))) to > stopifnot(length(fd) == 10, identical(fd, format(dct <- as.POSIXlt(dlt)))) ^^^^ (which effectively isn't testing anything much) A less lazy way would be to comment out the relevant lines. |&gt...