Log of /trunk/xvidcore/src/decoder.c
Parent Directory
Revision
1639 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 20 11:54:11 2005 UTC (18 years, 8 months ago) by
suxen_drol
File length: 54703 byte(s)
Diff to
previous 1632
,
to
selected 42
> > - uint32_t intra_dc_threshold; /* fake variable */
> > + int intra_dc_threshold; /* fake variable */
This patch fixes a warning spotted by gcc 4.0.1, because &intra_dc_threshold
is passed to some function which expects a int*, not a uint32_t* (on 64bit this
is important, even if this is fake data, the callee could corrupt the stack
writing 64bit to a 32bit allocated destination)
Revision
1632 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 13 12:12:15 2005 UTC (18 years, 9 months ago) by
suxen_drol
File length: 54708 byte(s)
Diff to
previous 1628
,
to
selected 42
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
1617 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon May 23 09:29:43 2005 UTC (19 years ago) by
Skal
File length: 44759 byte(s)
Diff to
previous 1616
,
to
selected 42
encoder.c: simplify_time() optimized by Euclid.
bitstream.c: write_video_packet_header() was buggy and
kind of obfuscated, as noticed by Sigdrak at free.fr.
from Edouard:
gcc4 warning removal.
- No executable shared objects installed
(Do not install the lib as executable. It's no use as the SO has no
main symbol anyway, and the static lib is not runnable anyway.)
- Statically link xvid_bench with libxvidcore.a
- New autoconf garbage removal
- Quotes in configure.in
Revision
1616 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue May 17 21:03:32 2005 UTC (19 years ago) by
Skal
File length: 44760 byte(s)
Diff to
previous 1607
,
to
selected 42
encoder.c: better error handling upon MEM_ERROR
bitstream.c: faster log2bin (xvid_bench.c updated)
bitstream.c: added unused functions:
BitstreamWriteEndOfSequence()
BitstreamWriteGroupOfVopHeader()
write_video_packet_header()
Original input: sigdrak at free.fr and Angela Belda. Thanks.
Revision
1607 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 27 03:59:42 2005 UTC (19 years, 2 months ago) by
suxen_drol
File length: 46045 byte(s)
Diff to
previous 1566
,
to
selected 42
xvidcore
========
* added XVID_GLOBAL_DIVX5_USERDATA global flag
* removed the bvop delay warning text ("warning: nothing to output), as this often confuses joe user.
* minor changed to closed gop image_printf statement: s/"DX50 BVOP->PVOP"/"CLOSED GOP BVOP->PVOP"
* additional comments for low_delay_default mode within decoder_decode()
* divx userdata string: s/DivX999b000/DivX503b1393. this has been suggested by dxn for improved hardware compatibility [nb: i dont have a hardware player to confirm this]
* vbv_peakrate constraint is ignored if <= 0
vfw frontend
============
* dxn profiles now confirm to "DivX Certified Profile Compatibility v1.1", February 2005. this document was provided by DivXNetworks, USA. when a dxn profile is selected, strict conformance is enabled:
- force 1:1 picture aspect ratio
- disable bframes if interlacing is enabled
- force maximum of 1 consecutive bvops for the portable and ht profiles, 2 bvops for the hd profile
- always write divx 5 userdata string to bitstream
- force packed bitstream option
- updated dxn vbv parameters
* added PROFILE_4MV flag. 4mv is now disabled for the dxn handheld profile.
* moved PROFILE_AS/PROFILE_ARTS/PROFILE_S to config.c
* profile[].max_bitrate now measured in bit/sec (not kbps)
* profile->level box: widgets are now greyed-out if they are not used.
* increase vertical size of profile drop down list.
* about box button: s/Dismiss/OK
Revision
1530 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 10 21:58:55 2004 UTC (19 years, 10 months ago) by
edgomez
File length: 48803 byte(s)
Diff to
previous 1524
,
to
selected 42
Decoder speedups: merge interpolation and dst averaging for bvop blocks, unify qpel framework (should slow things for PPC until new functions get merged)
Revision
1417 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 10 04:30:07 2004 UTC (20 years, 2 months ago) by
suxen_drol
File length: 50136 byte(s)
Diff to
previous 1397
,
to
selected 42
stats->type set to NOTHING by default
in some instances stats->type was not being set (namely lowdelay=1, packed=1, type=nvop).
Revision
866 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 17 23:33:12 2003 UTC (21 years, 3 months ago) by
edgomez
File length: 56214 byte(s)
Diff to
previous 851
,
to
selected 42
- GPL Header
- ANSI C comments
- Min Chen removed from comments (no offense, the name will be added
to the header when i'll restore copyrights just like i did for 0.9.x)
Revision
830 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 11 21:56:31 2003 UTC (21 years, 4 months ago) by
edgomez
File length: 22880 byte(s)
Diff to
previous 723
,
to
selected 42
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
78 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 28 20:57:25 2002 UTC (22 years, 2 months ago) by
edgomez
File length: 16862 byte(s)
Diff to
previous 73
,
to
selected 42
Big patch, use it with care (tests done with GNU/Linux) :
- Trivial warnings in encoder.c line 282 ret1 = ret 2 = 0;
- Lot of "New line at end of file missing" warnings fixed (gcc3)
- All 2d arrays have been turned into 1d arrays
To force alignment of matrices on stack, use DECLARE_ALIGNED_MATRIX
(read portab.h)
Win32 users should give feedback.
Revision
69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 26 11:16:08 2002 UTC (22 years, 2 months ago) by
h
File length: 16518 byte(s)
Diff to
previous 42
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)
Revision
42 -
(
view)
(
download)
(
annotate)
-
[selected]
Modified
Wed Mar 20 14:02:59 2002 UTC (22 years, 2 months ago) by
Isibaar
File length: 14316 byte(s)
Diff to
previous 41
alignment stuff
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.