Log of /branches/dev-api-4/xvidcore/examples
Directory Listing
Revision
1392 -
Directory Listing
Modified
Tue Mar 30 21:38:19 2004 UTC (20 years, 1 month ago) by
Skal
+ Added an exhaustive test for all possible input
and quantizer in test_quant()
It compares the ASM version against the output of
the C-version (considered as the reference).
Revision
1388 -
Directory Listing
Modified
Tue Mar 23 09:27:20 2004 UTC (20 years, 1 month ago) by
chl
PGM header checked for too small bounds.
Revision
1265 -
Directory Listing
Modified
Wed Dec 17 08:38:06 2003 UTC (20 years, 4 months ago) by
chl
XVID_ME_GME_REFINE is of course a MOTION flag, not VOP or VOL.
This time, I got it right, thanks GomGom!
Revision
1264 -
Directory Listing
Modified
Tue Dec 16 09:24:48 2003 UTC (20 years, 4 months ago) by
chl
changed GME_REFINE to VOL-flag, not VOP-flag.
Revision
1261 -
Directory Listing
Modified
Sat Dec 13 00:04:09 2003 UTC (20 years, 4 months ago) by
edgomez
- Enabled SSE2 safe code
- Aligned data in xvid_bench
Revision
1254 -
Directory Listing
Modified
Wed Dec 10 22:58:32 2003 UTC (20 years, 4 months ago) by
edgomez
Update to the cmd line options:
* nframes -> frames
* -save, now controls ES stream per frame saving
* -o is now independent from -save
Revision
1231 -
Directory Listing
Modified
Sun Nov 30 17:11:01 2003 UTC (20 years, 5 months ago) by
chl
Added profile (XVID_PROFILE_AS_L4), so VOSH header is written
Revision
1230 -
Directory Listing
Modified
Sun Nov 30 16:13:16 2003 UTC (20 years, 5 months ago) by
edgomez
* Thread safe MPEG4 quantization functions.
Cleaned up version of patch provided by Michael
- fixed compiling problems on gcc
- added const qualifiers every where it was possible to help C compiler
optimization.
- added the mpeg_quant_matrices param to all ASM function prototype
in comments (even if it's not used, that shows we do it deliberatly)
- forces m[intra][0][0] = 8, otherwise XviD could write invalid streams.
* Added real CRC computing in xvid_bench.c
Revision
1229 -
Directory Listing
Modified
Sun Nov 30 09:45:52 2003 UTC (20 years, 5 months ago) by
chl
Position of LDFLAGS moved after other options.
Revision
1220 -
Directory Listing
Modified
Wed Nov 19 21:27:25 2003 UTC (20 years, 5 months ago) by
edgomez
updated crc for transfer_8to16_sub2
Revision
1204 -
Directory Listing
Modified
Thu Nov 13 22:35:30 2003 UTC (20 years, 5 months ago) by
edgomez
* encoder.c: GMC code fix in encoder.c. Now gmcval is initialized
correctly when using GME.
* xvid_decraw.c: Fix elementary stream output.
* plugin_2pass2.c: Small parsing bug in stats reading in 2pass2.
* decoder.c: Read resync markers in bframes.
Revision
1199 -
Directory Listing
Modified
Mon Nov 3 19:58:16 2003 UTC (20 years, 5 months ago) by
edgomez
* Small error fixed by Skal in his dev16 code (missing pshufd).
* Blocks used by DCT tests are now aligned with DECLARE_ALIGNED_MATRIX
this avoids the well know segfaults when using SSE2 instructions that
suppose data alignment.
Revision
1197 -
Directory Listing
Modified
Sun Nov 2 23:02:52 2003 UTC (20 years, 5 months ago) by
edgomez
* Added Dmitry SSE2 iDCT code back.
* Plugged Dmitry iDCT as default for SSE2
* Fixed a bug in xvid_bench that was making it would test some CPU
instruction set w/o host CPU support. xvidcore init was simply
discarding irrelevant cpu flags.
Revision
1188 -
Directory Listing
Modified
Mon Oct 27 00:48:29 2003 UTC (20 years, 6 months ago) by
edgomez
Added closed gop option
Revision
1176 -
Directory Listing
Modified
Thu Oct 9 18:50:22 2003 UTC (20 years, 6 months ago) by
edgomez
Updated assembly functions to match new API -- more to come when matrices will be part of the function parameters
Revision
1157 -
Directory Listing
Modified
Mon Sep 29 00:30:31 2003 UTC (20 years, 7 months ago) by
edgomez
Memory leaks fixed.
Revision
1154 -
Directory Listing
Modified
Sun Sep 28 13:21:59 2003 UTC (20 years, 7 months ago) by
edgomez
New build system for *nix platforms. It now uses an 'out of source' tree
build process that is much cleaner. This requires a VPATH support.
This patch includes some small fixes to the configure script, mainly for
MacOSX.
Revision
1147 -
Directory Listing
Modified
Thu Sep 11 14:12:16 2003 UTC (20 years, 7 months ago) by
edgomez
* Win32 files switched to Unix format.
Ok, on IRC, we sorted out what was b0rking the project files each
time I commit them in DOS format. In fact the Unix CVS does upload
DOS format files if i commit them, and then Win32 CVS users get
double \r\n files. So the best is to use unix format in CVS. This
way, the checked out versions are right for Win32 users.
NB: this imply a unix2dos conversion when doing a release from a
Unix box. I think it's better than current policy, but
automatic tarballs/zip of the tree should take care of that.
* odivx and xvid_stat examples removed. Associated project files
have been removed as well.
* The divx4 compatibility layer has been removed. Associated options
in the configure script removed. libxvidcore.def has no more need
to be an autoconf generated file.
* rawdec removed. It has never been used and will never be.
* Added major api appending to the macosx module build.
Revision
1122 -
Directory Listing
Modified
Wed Aug 13 11:44:02 2003 UTC (20 years, 8 months ago) by
edgomez
Better architecture separation
Revision
1121 -
Directory Listing
Modified
Sun Aug 10 13:10:09 2003 UTC (20 years, 8 months ago) by
Isibaar
restored and merged my overwritten changes
Revision
1119 -
Directory Listing
Modified
Sat Aug 9 17:19:20 2003 UTC (20 years, 8 months ago) by
edgomez
Fixes for buffer handling in decraw and more options to encraw
Revision
1118 -
Directory Listing
Modified
Sat Aug 9 16:46:46 2003 UTC (20 years, 8 months ago) by
Isibaar
quarterpel option
Revision
1116 -
Directory Listing
Modified
Sat Aug 9 09:52:02 2003 UTC (20 years, 8 months ago) by
chl
Check for -help was exactly wrong...
Revision
1111 -
Directory Listing
Modified
Mon Aug 4 17:23:37 2003 UTC (20 years, 8 months ago) by
chl
updated flags again...
Revision
1110 -
Directory Listing
Modified
Mon Aug 4 17:22:36 2003 UTC (20 years, 8 months ago) by
chl
updated flags
Revision
1107 -
Directory Listing
Modified
Sat Aug 2 15:08:48 2003 UTC (20 years, 9 months ago) by
edgomez
API changes
Revision
1081 -
Directory Listing
Modified
Thu Jul 10 17:41:48 2003 UTC (20 years, 9 months ago) by
edgomez
IA64 updates
Revision
1073 -
Directory Listing
Modified
Wed Jun 25 23:23:21 2003 UTC (20 years, 10 months ago) by
edgomez
Added PNM reading functions (Valuable for testing RGB functions)
Revision
1060 -
Directory Listing
Modified
Tue Jun 10 09:14:48 2003 UTC (20 years, 10 months ago) by
edgomez
xvid_bench update + corresponding Makefile update
Revision
1054 -
Directory Listing
Modified
Mon Jun 9 13:55:56 2003 UTC (20 years, 10 months ago) by
edgomez
Added legal header
Revision
1053 -
Directory Listing
Modified
Mon Jun 9 01:25:19 2003 UTC (20 years, 10 months ago) by
edgomez
ISO C89 comment style
Revision
1034 -
Directory Listing
Modified
Sun May 18 12:24:55 2003 UTC (20 years, 11 months ago) by
edgomez
Some cosmethic and added help message for vop_debug
Revision
1031 -
Directory Listing
Modified
Sat May 17 13:26:51 2003 UTC (20 years, 11 months ago) by
suxen_drol
* dynamic bvop decision stats bug fixed
* added runtime debug level option. this only only activated when _DEBUG is defined.
level is specified globaly, via "xvid_glb_init_t.debug" and XVID_DEBUG_xxx defines.
references to previous DPRINTF_LEVEL_xxx's have been replaced throughout libxvidcore
* futher bitrate zone fixes for plugin_2pass2.c
* removed old ratecontrol.c from msvc project
* xvid_encraw.c specifc:
* added "-max_key_interval integer" option
* renamed -debug to -vop_debug
* added "-debug integer" option, which sets xvid_gbl_init_t.debug field
* s/length/len/ status line
* vfw specific:
* zone/bitrate typos fixed ("you eediot")
* renamed "debug" regkey to "vop_debug"
* added "debug" regeky and textbox which sets xvid_gbl_init_t.debug field
Revision
1027 -
Directory Listing
Modified
Thu May 15 17:53:11 2003 UTC (20 years, 11 months ago) by
edgomez
Removed deprecated XVID_VOP_DYNAMIC_BFRAMES flag
Revision
1026 -
Directory Listing
Modified
Thu May 15 17:21:08 2003 UTC (20 years, 11 months ago) by
edgomez
Changed default quality, advertised the fact that we can provide various zones on the command line
Revision
1019 -
Directory Listing
Modified
Wed May 14 11:53:16 2003 UTC (20 years, 11 months ago) by
suxen_drol
added plugin_single support
added -zq and -zq options for specifiy zones on the command line.
Revision
1013 -
Directory Listing
Modified
Mon May 12 00:06:49 2003 UTC (20 years, 11 months ago) by
edgomez
Better quality presets
Revision
997 -
Directory Listing
Modified
Sun Apr 27 20:36:13 2003 UTC (21 years ago) by
edgomez
Small typo error when -stats is not used
Revision
996 -
Directory Listing
Modified
Sun Apr 27 19:53:09 2003 UTC (21 years ago) by
chl
Trellis based R-D optimal quantization (H263, INTER)
----------------------------------------------------------------------
Revision
991 -
Directory Listing
Modified
Sat Apr 19 11:26:47 2003 UTC (21 years ago) by
chl
Calculate average PSNR in -stats mode
Revision
990 -
Directory Listing
Modified
Fri Apr 18 20:06:58 2003 UTC (21 years ago) by
chl
forced spaces before numbers (easier split into columns)
Revision
988 -
Directory Listing
Modified
Mon Apr 14 20:19:00 2003 UTC (21 years ago) by
edgomez
patch-18 -- Fixes plugin initialization in xvid_encraw.
Revision
977 -
Directory Listing
Modified
Tue Apr 8 14:01:35 2003 UTC (21 years ago) by
suxen_drol
2pass2 (basic) internal scaler
Revision
949 -
Directory Listing
Modified
Wed Mar 26 14:56:49 2003 UTC (21 years, 1 month ago) by
edgomez
Changed flags naming conventions
Revision
945 -
Directory Listing
Modified
Wed Mar 26 10:29:51 2003 UTC (21 years, 1 month ago) by
suxen_drol
XVID_ERR_END
Revision
944 -
Directory Listing
Modified
Tue Mar 25 22:53:57 2003 UTC (21 years, 1 month ago) by
edgomez
Plugged the "fixed" quant RC plugin to the -quant option
Revision
942 -
Directory Listing
Modified
Tue Mar 25 11:01:48 2003 UTC (21 years, 1 month ago) by
suxen_drol
2pass2
Revision
938 -
Directory Listing
Modified
Sun Mar 23 04:03:01 2003 UTC (21 years, 1 month ago) by
suxen_drol
initial rate control
Revision
933 -
Directory Listing
Modified
Thu Mar 20 17:59:07 2003 UTC (21 years, 1 month ago) by
edgomez
Little fix
Revision
932 -
Directory Listing
Modified
Thu Mar 20 14:14:52 2003 UTC (21 years, 1 month ago) by
edgomez
A bit of indent with all option detailed in CodingStyle and options reveamping, most of them are in long format now
Revision
926 -
Directory Listing
Modified
Sun Mar 16 12:05:09 2003 UTC (21 years, 1 month ago) by
suxen_drol
dquant cleanup
xvid_pluing_lumimasking added
xvid_encraw -lumimasking option added
Revision
923 -
Directory Listing
Modified
Sat Mar 15 16:41:32 2003 UTC (21 years, 1 month ago) by
suxen_drol
plugin/stats returns sse (integer)
Revision
920 -
Directory Listing
Modified
Sat Mar 15 14:32:56 2003 UTC (21 years, 1 month ago) by
suxen_drol
enc_encode CLOSE_GOP fixed, further cleanup
XVID_REQORIGINAL plugin support
plugin examples: xvid_plugin_psnr, xvid_plugin_dump
Revision
919 -
Directory Listing
Modified
Thu Mar 13 11:07:20 2003 UTC (21 years, 1 month ago) by
suxen_drol
plugin system
xvid_rawenc output cleanup
xvid_rawenc -p option
Revision
918 -
Directory Listing
Modified
Tue Mar 11 23:39:47 2003 UTC (21 years, 1 month ago) by
edgomez
2003-03-11 23:37:06 GMT Edouard Gomez <ed.gomez@free.fr> patch-9
Summary:
Changed xvid_decraw option handling for -d/-m.
Revision:
xvidcore--devapi4--1.0--patch-9
-d and -m options were boolean so option values were not needed.
modified files:
examples/xvid_decraw.c
2003-03-11 23:30:16 GMT Edouard Gomez <ed.gomez@free.fr> patch-8
Summary:
Fixed frame counting in xvid_encraw.
Revision:
xvidcore--devapi4--1.0--patch-8
We were branching before incrementing the frame counter when core was
buffering frames. This was resulting in wrong frame counting during
the buffering phase.
modified files:
examples/xvid_encraw.c
2003-03-11 23:07:01 GMT Edouard Gomez <ed.gomez@free.fr> patch-7
Summary:
Ported xvid_decraw to new API.
Revision:
xvidcore--devapi4--1.0--patch-7
xvid_decraw has been ported to new API. It basically works fine,
however i'm not completly staisfied. If I do a step by step run then i
can see that second frame is reported as a VOL decoding though the
first IFrame has been consumed. This makes xvid_decraw does not report
correctly frames' length.
Except that, xvid_decraw works well enough to activate it in the
makefile.
modified files:
examples/Makefile examples/xvid_decraw.c
Revision
916 -
Directory Listing
Modified
Tue Mar 11 01:08:10 2003 UTC (21 years, 1 month ago) by
edgomez
2003-03-11 00:36:34 GMT Edouard Gomez <ed.gomez@free.fr> patch-5
Summary:
PSNR is now an option. More consistent -m/-s option handling.
Revision:
xvidcore--devapi4--1.0--patch-5
I turned PSNR stats into an option (-s). I fixed the handling of the
-m option that required only a bool.
I could say in french "ma stupidité dans toute sa grandeur".
-m presence is enough to significate "save _m_peg stream", we don't
need the boolean value.
modified files:
examples/xvid_encraw.c
Revision
913 -
Directory Listing
Modified
Sun Mar 9 16:45:24 2003 UTC (21 years, 1 month ago) by
edgomez
2003-03-09 16:42:27 GMT Edouard Gomez <ed.gomez@free.fr> patch-3
Summary:
Adds extended stats support.
Revision:
xvidcore--devapi4--1.0--patch-3
This patch enables core extended stats support. It seems that xvidcore
does not compute sse for BFrames, I have tried to adds this by an ugly
hack but it did not work as expected, i suppose core does not
decompress bframes as they are not used as reference frames (unlike P
and I frames).
If we succeed in enabling sse calculation in core for bframes, then
xvid_stat will not be needed anymore. This will save lot of trouble
with frame matching in PSNR computation when bframes are enabled.
modified files:
examples/xvid_encraw.c
Revision
909 -
Directory Listing
Modified
Sun Mar 9 00:28:09 2003 UTC (21 years, 1 month ago) by
edgomez
2003-03-09 00:23:52 GMT Edouard Gomez <ed.gomez@free.fr> patch-2
Summary:
Updated xvid_encraw for new API.
Revision:
xvidcore--devapi4--1.0--patch-2
This patch updates the xvid_encraw example to support the
new API. As it's the first patch for API 4 support, I
disabled all other examples.
BUG: first frame type is Unknown, I suppose I'm missing
a subtility of the new API.
modified files:
examples/Makefile examples/xvid_encraw.c src/encoder.c
Revision
886 -
Directory Listing
Modified
Fri Feb 21 14:49:29 2003 UTC (21 years, 2 months ago) by
This commit was manufactured by cvs2svn to create branch 'dev-api-4'.
Revision
851 -
Directory Listing
Modified
Sat Feb 15 15:22:19 2003 UTC (21 years, 2 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too
Revision
830 -
Directory Listing
Modified
Tue Feb 11 21:56:31 2003 UTC (21 years, 2 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
patch-13
More "unknown compiler" friendly portab.h file.
patch-14
The PPC port is now disabled because it is outdated.
patch-15
Added the configure bootstrap script.
patch-16
Changed linking option on PPC platforms (-flat_namespace)
patch-17
Added IA64 DCT source choice according to the compiler basename.
patch-18
Fixed xvid_encraw help message.
patch-19
Fixed libxvidcore.def, revamped Makefile output, fixed ia64 build, added ranlib detection.
patch-20
Removed BFrame outdated bframe/qpel decoding.
Revision
824 -
Directory Listing
Modified
Sun Feb 9 19:32:52 2003 UTC (21 years, 2 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
I made all these changes on my own working copy until i had
something really usable wihtout regressions for most users.
I think its place is now in CVS. Here is a ChangeLog summary
generated from my local patches.
base-0
Imported xvidcore 0.9.0 into arch repository
patch-1
Updated to current stable CVS_HEAD
patch-2
Changed build system for Unix OSes
patch-3
Fixes for the new build system in sources.
patch-4
Fixed options and added the --disable-assembly option
patch-5
Fixed a BSD checking in nasm output format.
patch-6
Fixed the "ar" "s" option for some platforms.
patch-7
Changed the way I add strings into variables.
patch-8
Fixed portab.h for _DEBUG target and GCC/ICC compilers.
patch-9
Added Altivec detection (Guillaume Morin)
patch-10
Fixed MacOSX build.
patch-11
Fixed WIN32/_MSC_VER confusion and updated MSVC libxvidcore.dsp project file.
patch-12
DivX4 compatibility layer has been turned into an option (default:disable).
ToDo:
- Fix IA64 assembly file selection.
- Do I disable PPC assembly code ? (according to Guillaume, it needs to be updated)
Revision
566 -
Directory Listing
Modified
Sat Sep 28 16:01:15 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
- Added string.h so gcc does not complain about an undeclared strcmp function.
Revision
558 -
Directory Listing
Modified
Sat Sep 28 14:26:53 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
Updated - MSVC compatibility - MP4U support - Single m4v file support
Revision
547 -
Directory Listing
Modified
Fri Sep 27 18:33:13 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
- Added command line
- Added simple mp4 video stream container support (header + :size,data: + ... + :size,data:)
- Fixed PGM saving
- Win32/MSVC compatibility
Revision
503 -
Directory Listing
Modified
Sat Sep 21 11:55:53 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
Fix fps report (this patch has been lost somewhere, i'm pretty sure to have fixed that a few days ago)
Revision
501 -
Directory Listing
Modified
Sat Sep 21 09:29:36 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
- Fixed a problem where when using fixed quantizer, xvid_stat was reporting the use of q default_bitrate
Revision
490 -
Directory Listing
Modified
Thu Sep 19 20:00:45 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
These examples do not show no more things than xvid_stat... so i remove them
Revision
484 -
Directory Listing
Modified
Sun Sep 15 20:22:01 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
Fixed a bug in pgm writing (we must interleave data from u and v channels)
Revision
483 -
Directory Listing
Modified
Sat Sep 14 23:54:17 2002 UTC (21 years, 7 months ago) by
edgomez
Original Path:
trunk/xvidcore/examples
- Added command line parsing (for ease of use)
- Basic win32 compatibility (I had to lose precision to make it win32 compatible using clock() ... the manual page says POSIX fixes CLOCK_PER_SEC at 1000000, so it should give us millisecond precision, i think it's enough)
- Make things static, and const when necessary
- Fixed some bugs in pgmreader when stream was != stdin
- My usual cosmetic and cleaning work.
Revision
376 -
Directory Listing
Modified
Sat Aug 17 20:03:36 2002 UTC (21 years, 8 months ago) by
chl
Original Path:
trunk/xvidcore/examples
initial commit.
raw test application for XviD native API, including support for B-Frames.
Revision
262 -
Directory Listing
Modified
Sun Jul 7 09:45:40 2002 UTC (21 years, 9 months ago) by
Isibaar
Original Path:
trunk/xvidcore/examples
split mmx,xmm,3dnow,sse2 code into different files, SMP fix, Skal's tweaked asm code
Revision
119 -
Directory Listing
Modified
Sat Apr 13 22:21:46 2002 UTC (22 years ago) by
chl
Original Path:
trunk/xvidcore/examples
advanced example how to use XviD including statistical analysis of encoding
and decoding speed and quality