search for: idct

Displaying 20 results from an estimated 55 matches for "idct".

Did you mean: dict
2003 Mar 05
5
VP3 IDCT
Hi, Is there anything special I need to know about VP3's IDCT? I mean besides the fact that there are separate IDCTs to handle sparse coefficient matrices. Are the IDCT functions mathematically equivalent to any textbook IDCT functions? Thanks... -- -Mike Melanson --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: h...
2006 Jul 02
5
What goes to Hardware ?
Hi people, As I said before: I did the IDCT to run on the FPGA. My friends from university did the Reconstruction routines running on the FPGA. I'm helping with the LoopFilter, and it is almost there. (all VHDL) I did a small profiling of the libTheora running on a Altera Stratix II device: The processor used was the NIOS II with 8...
2008 Mar 07
1
Bug in reference idct.
...on 7.9.3 ("The 1D Inverse DCT") steps 14-16: 14. Assign T[5] the value T[4] - T[5]. 15. Truncate T[5] to a 16-bit representation by dropping any higher-order bits. 16. Assign T[5] the value C4 * (-T[5]) >> 16. However, the relevant section of code in the reference decoder (lib/dec/idct.c line 50) is: t[5]=OC_C4S4*(ogg_int16_t)(t[4]-t[5])>>16; i.e. T[5] (the result of T[4]-T[5]) is not inverted before being multiplied by C4. Lines 106, 150 and 190 in idct.c do the same thing - the spec says the result of (T[4] - T[5]) should be negated before being multiplied. I believe t...
2011 Mar 28
1
idct/fdct.c function calls
Hi. I am trying to find calls of idct/fdct.c functions by tracing png2theora.c calls. But found only: analyze.c:oc_dct_cost2() Where and when idct/fdct/mmxidct/mmxfdct.c functions are used? Mentions of "dct" word: ==== pacify at optima-amd64:/usr/src/libtheora-1.2.0alpha1/lib$ grep dct *.c | cut -f1 -d":" | uniq -...
2005 Feb 11
1
Changing the IDCT spec
So, in preparation for some decoder optimization work planned by Rudolf Marek, the subject of the size of the registers needed in the IDCT came up. The current spec language ensures that the result is exactly compatible with the C code for VP3. This language requires that some of the arguments to the multiplies be 17 or 18 bits, because they need to hold the sum or difference of two 16-bit numbers. This necessitates using 32-bit...
2010 May 18
2
idct8x8 C version in libtheora1.1 release
When using the IDCT routines, the C version [ lib/idct.c: oc_idct8x8_c(ogg_int16_t _y[64],int _last_zzi)] in libtheora 1.1.1, the decoded image is garbled. Is it functionally equivalent to the MMX optimized version [lib/x86/mmxidct.c: oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi)] ? I used some of the Theora video...
2011 Apr 05
0
quantize after fdct, _dequant table, and idct
...36 52 40 40 52 60 56 52 56 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 for chroma plane? 3) Third question. How do you restore the original matrix after fdct and quantize ... Used dequantize + idct?
2006 May 30
2
16 bits, cast on idct function
Hi all, Just a stupid question The IDctSlow function on file idct.c has this line : ip[0] = (ogg_int16_t)((_Gd + _Cd ) >> 0); The ip[0] , _Gd and _Cd are of type ogg_int32_t My question is: The result of (_Gd + _Cd) can be a number with more than 16 bits ? (yes, it can be because they are int32, but the algorithm coul...
2006 Jun 05
0
Idct - fpga - improved
...lls. And the clock frequency from 30 Mhz to 90 Mhz. Now I'm improving the latency of samples (number of clock cycles needed to decode a data sample). Report: -------------- Fitter Status : Successful - Mon Jun 5 16:38:21 2006 Quartus II Version : 5.1 Build 176 10/26/2005 SJ Revision Name : idctslow Top-level Entity Name : IDctSlow Family : Stratix II Device : EP2S60F672C5ES Timing Models : Final Total ALUTs : 2,538 / 48,352 ( 5 % ) Total registers : 466 Total pins : 54 / 493 ( 11 % ) Total virtual pins : 0 Total memory bits : 3,072 / 2,544,192 ( < 1 % ) DSP block 9-bit elements : 2 / 2...
2005 Jul 20
1
MMX IDCT for theora-exp
Hello, I'm attaching IDCT MMX patch. I reused IDCT from theora-a3-MMXd.zip. It should work on 64bit X86 platform too. Here is most used functions when playing video with jet aircrafts (gripen) Ogg logical stream 310b2968 is Theora 720x480 29.97 fps video Encoded frame content is 720x480 with 0x0 offset I can play this vide...
2007 Mar 25
3
MMX patch to speed up Theora decoding
Hi, Attached is a patch against 1.0alpha7 to speed up Theora decoding. It is about 15~20% faster in my test. It consists of following things: * MMX loop filter based on Rudolf Marek's patch in http://lists.xiph.org/pipermail/theora-dev/2005-August/002838.html * MMX IDCT based on Rudolf Marek's patch in http://lists.xiph.org/pipermail/theora-dev/2005-July/002816.html and the code in http://svn.xiph.org/trunk/vp32/CoreLibs/CDXV/Vp31/dx/win32/ * change FiltBoundingValue to ogg_int16_t and reduce it to 256 entries. (It is safe if I read the spec correctly) * comme...
2009 Feb 11
4
Benchmarks Inline-ASM vs. Intrinsics
Hi folks, FYI: I've finally made some benchmarks for inline-assembler versus intrinsic based mmx code. I've just applied the changes to the fragment reconstruction functions as writing the IDCT and loopfilter have not been ported yet. Nevertheless here are some numbers: As a baseline I'll take the current version from the trunk with all inline assembler functions enabled. Lower values mean lower performance. All functions with inline-asm: 100% inter_mmx repl...
2008 Apr 10
2
Delay occurred when the makefile change
...ES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/lib/dec -I$(top_srcdir)/lib/enc EXTRA_DIST = \ enc/x86_32/dct_decode_mmx.c \ enc/x86_32/dsp_mmx.c \ enc/x86_32/dsp_mmxext.c \ enc/x86_32/recon_mmx.c \ enc/x86_32/fdct_mmx.c \ enc/x86_32/idct_mmx.c \ enc/x86_64/dsp_mmx.c \ enc/x86_64/dsp_mmxext.c \ enc/x86_64/recon_mmx.c \ enc/x86_64/fdct_mmx.c \ enc/x86_64/idct_mmx.c \ enc/x86_32_vs/dsp_mmx.c \ enc/x86_32_vs/fdct_mmx.c \ enc/x86_32_vs/recon_mmx.c \ enc/dct_encode.c...
2008 Apr 23
1
Theora got extreamly slow (Makefile.am was changed)
...ES = -I$(top_srcdir)/include -I$(top_srcdir)/lib -I$(top_srcdir)/lib/dec -I$(top_srcdir)/lib/enc EXTRA_DIST = \ enc/x86_32/dct_decode_mmx.c \ enc/x86_32/dsp_mmx.c \ enc/x86_32/dsp_mmxext.c \ enc/x86_32/recon_mmx.c \ enc/x86_32/fdct_mmx.c \ enc/x86_32/idct_mmx.c \ enc/x86_64/dsp_mmx.c \ enc/x86_64/dsp_mmxext.c \ enc/x86_64/recon_mmx.c \ enc/x86_64/fdct_mmx.c \ enc/x86_64/idct_mmx.c \ enc/x86_32_vs/dsp_mmx.c \ enc/x86_32_vs/fdct_mmx.c \ enc/x86_32_vs/recon_mmx.c \ enc/dct_encode.c...
2004 Nov 03
0
implementation in hardware
...s the implementation of ogg theora in a FPGA, and has a goal of reaching 100% (leaving out motion compensation) by Dec. 14, 2004. These are some of the tasks he has completed most recently: Added 8-point forward DCT following the algorithm suggested in Theora specs. 2004-10-31 22:17 Created 2-d IDCT according to Theora specs (16-bit registers, 16x16 - multiplier). Each IDCT pass uses one of the embedded multipliers (18x18) and run at twice the pixel frequency (currently at 125MHz), total 530 slices (7%). 2004-10-29 08:29 Jpeg and quicktime samples of images and video that have been taken w...
2004 Nov 03
0
implementation in hardware
...s the implementation of ogg theora in a FPGA, and has a goal of reaching 100% (leaving out motion compensation) by Dec. 14, 2004. These are some of the tasks he has completed most recently: Added 8-point forward DCT following the algorithm suggested in Theora specs. 2004-10-31 22:17 Created 2-d IDCT according to Theora specs (16-bit registers, 16x16 - multiplier). Each IDCT pass uses one of the embedded multipliers (18x18) and run at twice the pixel frequency (currently at 125MHz), total 530 slices (7%). 2004-10-29 08:29 Jpeg and quicktime samples of images and video that have been taken w...
2008 Apr 09
1
[Fwd: Re: libtheora MMX patch]
...that a bug survives this test. AFAIK my changes for the gcc inline assembler functions are already in the trunk (slightly modified - Giles didn't liked the fact that I unrolled / wrote the loops in asm). If you want to merge into the win32 baseline let me know I have adopted the filter and idct mmx functions to match more the gcc style but never submitted them. Also a little bug crept into the win32 mmx code you have. I accidently used the same code for idct10 and idct. Functional it works but I lost a little bit speed that way (barely measurable but well...). I have a local version...
2005 Apr 11
2
Theora, MMX and optimisation
...he Big Endian counterpart of my functions, I replaced the assembly language (I read somewhere this is plain wrong with theora guidelines). What should be the best way to make my PC/Visua Studio/MMX/tweaked theora/ogg version available to others? Long life to theora! Denpo Note: the cpu-consuming IDCT functions seem by their structure perfect candidate for a SSE therapy. Never done before?
2002 Aug 03
7
theora MMX decoder
I try to merge VP3's mmx decoder into theora. http://kyoto.cool.ne.jp/vp3/developers/theora-alpha3-MMXd-src.zip You can see the change by searching the keyword "_UsingMMX_" in all lib folder's file. From VP3???YO vp3@go8.enjoy.ne.jp
2007 Oct 09
1
VC6 Patch
...SOURCE=..\lib\frarray.c +SOURCE=..\lib\dec\decinfo.c # End Source File # Begin Source File -SOURCE=..\lib\frinit.c +SOURCE=..\lib\dec\decode.c # End Source File # Begin Source File -SOURCE=..\lib\huffman.c +SOURCE=..\lib\dec\dequant.c # End Source File # Begin Source File -SOURCE=..\lib\idct.c +SOURCE=..\lib\enc\dsp.c # End Source File # Begin Source File -SOURCE=..\lib\mcomp.c +SOURCE=..\lib\enc\x86_32_vs\dsp_mmx.c # End Source File # Begin Source File -SOURCE=..\lib\misc_common.c +SOURCE=..\lib\enc\encode.c # End Source File # Begin Source File -SOURCE=..\lib\pb.c +SOURCE...