Log of /xvidcore/src/xvid.c
Parent Directory
Revision
1.81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 2 13:06:49 2009 UTC (14 years ago) by
Isibaar
Branch:
MAIN
Changes since
1.80: +29 -3 lines
Diff to
previous 1.80
Added alternative processor cores detection routing for Apple (thanks to Fabian Groffen)
C90 style fix in variance masking code
Revision
1.69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 14 21:44:07 2006 UTC (16 years, 11 months ago) by
Skal
Branch:
MAIN
Changes since
1.68: +4 -1 lines
Diff to
previous 1.68
added mmx/sse2 code for GMC (3-pts only).
new file: image/x86_asm/gmc_mmx.asm
At this point, new GMC code isn't enabled (gmc.c:586).
So: this commit should give binary-exact same input/output
than before.
dsp/dsw not updated.
Revision
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 22 10:53:10 2005 UTC (17 years, 6 months ago) by
suxen_drol
Branch:
MAIN
Changes since
1.65: +2 -2 lines
Diff to
previous 1.65
update cvs-head to reflect xvid-1.2 development status:
set build string to "xvid-1.2.0-dev"
set XVID_VERSION to 1.2.-127
set XVID_BS_VERSION to 40
set XVID_UNSTABLE
Revision
1.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 13 12:12:15 2005 UTC (17 years, 8 months ago) by
suxen_drol
Branch:
MAIN
Changes since
1.63: +25 -2 lines
Diff to
previous 1.63
Field interlaced decoding, contributed by Christoph Kuehnel
decoder.c
=========
- Some new defines for DIV
- <decoder_mb_decode> modified: had wrong address offsets for interlaced
- <decoder_mbinter_field> = new function for interlaced
- <get_motion_vector_interlaced> = new function for interlaced motion vector prediction
- <decoder_pframe> modified so that it differs between frame and field prediction
global.h
========
- For field motion prediction MACORBLOCK has new member that is the average of
field1 and field2 motion vector = <mvs_avg>
xvid.c
======
- For field predicted macroblocks we need new field oriented transfer functions.
For colour calculations they may only process 4 lines (one field from the colour
macroblock that is 8x8). So I introduced 4 new function pointers:
<transfer8x4_copy, interpolate8x4_ ...)
mbcoding.c
==========
- _DEBUG code; index is checked against 64
interpolate8x8.[c,h,asm]
===========================
- New 8x4 functions
mbpredicition.[c,h]
===============
- New function <get_pmv2_interlaced> for interlaced prediciton according to spec
mem_transfer.[c,h,asm]
==============
- New 8x4 function
Revision
1.63 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 23 12:06:02 2005 UTC (18 years ago) by
Skal
Branch:
MAIN
Changes since
1.62: +3 -3 lines
Diff to
previous 1.62
+ Added IEEE-1180 and Walken-compliant SSE2 Idct.
Disabled by default (line 515 of xvid.c) until proven fully
safe. Should give binary-equal results than the mmx and xmm
versions.
Revision
1.58 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 9 23:02:54 2004 UTC (18 years, 6 months ago) by
edgomez
Branch:
MAIN
Changes since
1.57: +2 -2 lines
Diff to
previous 1.57
Merged fixes for PPC, should improve GNU gcc support nad fix a couple of bugs for wrong data alignment
Revision
1.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 10 21:58:55 2004 UTC (18 years, 10 months ago) by
edgomez
Branch:
MAIN
Changes since
1.54: +16 -1 lines
Diff to
previous 1.54
Decoder speedups: merge interpolation and dst averaging for bvop blocks, unify qpel framework (should slow things for PPC until new functions get merged)
Revision
1.45.2.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 30 16:13:15 2003 UTC (19 years, 6 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.45.2.21: +0 -2 lines
Diff to
previous 1.45.2.21
, to
branch point 1.45
* 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
1.45.2.20 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 13 23:11:24 2003 UTC (19 years, 6 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.45.2.19: +9 -7 lines
Diff to
previous 1.45.2.19
, to
branch point 1.45
MMXed the calculation of SSE for 8x8 16bit blocks. This helps quite
a lot VHQ=4 mode.
My tests show with trellis:chroma_me:
- ~20% speed improvement for vhq=4.
- at least 5% when using vhq=1.
Of course this speedup vanishes if more CPU intensive features are
used. CruNcher who used gmc/qpel, noticed "only" a ~5% speed
improvement.
NB: i'm of course talking about overall speed improvement. Such a
small patch for such a big improvement :-)
Revision
1.45.2.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 2 23:02:52 2003 UTC (19 years, 7 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.45.2.18: +1 -1 lines
Diff to
previous 1.45.2.18
, to
branch point 1.45
* 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
1.45.2.17 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 27 01:03:06 2003 UTC (19 years, 7 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.45.2.16: +3 -7 lines
Diff to
previous 1.45.2.16
, to
branch point 1.45
* Ported the ffmpeg fDCT functions (mmx and xmm).
* Modified the skal's versions a bit to allow rolling loops.
* Activated Skal's fDCTs (unrolled versions) for mmx _and_ xmm
(old code was ignoring xmm versions)
* Removed the SSE2 versions (they'll be back later)
* .data -> .rodata
* Applied announced asm CodingStyle to the dct dir
(I'll have to add a section with the said CodingStyle)
Revision
1.45.2.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 17 13:26:42 2003 UTC (20 years ago) by
suxen_drol
Branch:
dev-api-4
Changes since
1.45.2.3: +10 -2 lines
Diff to
previous 1.45.2.3
, to
branch point 1.45
* 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
1.45.2.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 10 13:05:54 2003 UTC (20 years, 2 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.45.2.2: +2 -2 lines
Diff to
previous 1.45.2.2
, to
branch point 1.45
2003-04-10 GMT Edouard Gomez <ed.gomez@free.fr> patch-14
Summary:
Removed all ABS() macros.
Revision:
xvidcore--devapi4--1.0--patch-14
All ABS macros have been replace with their stdlib.h/math.h
equivalent. This gives a 33% overall speedup for the plain C encoder,
while the ia32 one seems to suffer a small speed loss. However this
speed loss is very small and it seems it depends on the CPU type as
the abs/fabs usage is impacting badly on sad functions but impacting
well on interpolate functions ... weird inst'it ?
modified files:
src/bitstream/mbcoding.c src/global.h src/image/image.c
src/motion/motion_comp.c src/motion/motion_est.c
src/motion/sad.c src/prediction/mbprediction.c
src/utils/mbtransquant.c src/xvid.c
Revision
1.44 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 20 22:46:18 2003 UTC (20 years, 3 months ago) by
edgomez
Branch:
MAIN
Changes since
1.43: +62 -18 lines
Diff to
previous 1.43
- Fixes a couple of portability issues
- Activates tests even for plain C version
ToDo: Move tests flags to the xvid.h file and _document_ them.
Revision
1.40 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Feb 9 19:32:52 2003 UTC (20 years, 4 months ago) by
edgomez
Branch:
MAIN
CVS Tags:
release-0_9_1,
release-0_9_2
Branch point for:
release-0_9_1-fixes
Changes since
1.39: +10 -10 lines
Diff to
previous 1.39
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
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jul 7 09:38:13 2002 UTC (20 years, 11 months ago) by
Isibaar
Branch:
MAIN
Changes since
1.23: +5 -2 lines
Diff to
previous 1.23
split mmx,xmm,3dnow,sse2 code into different files, SMP fix, Skal's tweaked asm code
Revision
1.23 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 26 15:59:51 2002 UTC (20 years, 11 months ago) by
ia64p
Branch:
MAIN
Changes since
1.22: +1 -5 lines
Diff to
previous 1.22
fixing a problem with check_cpu_features, that prevents compiling of the codec on platforms other than x86.
Revision
1.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jun 23 19:48:06 2002 UTC (20 years, 11 months ago) by
edgomez
Branch:
MAIN
Changes since
1.21: +3 -1 lines
Diff to
previous 1.21
- transfer_8to16sub2_mmx activation
- Compile fixes (a missing image/font.h ???)
- Linux Makefile update to take care of last changes in feature
constants
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.