Log of /xvidcore/src/decoder.c
Parent Directory
Revision
1.74 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 20 11:54:11 2005 UTC (18 years ago) by
suxen_drol
Branch:
MAIN
Changes since
1.73: +2 -2 lines
Diff to
previous 1.73
> > - 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
1.73 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 13 12:12:15 2005 UTC (18 years ago) by
suxen_drol
Branch:
MAIN
Changes since
1.72: +1392 -1192 lines
Diff to
previous 1.72
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.71 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon May 23 09:29:43 2005 UTC (18 years, 4 months ago) by
Skal
Branch:
MAIN
Changes since
1.70: +2 -2 lines
Diff to
previous 1.70
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
1.70 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 17 21:03:32 2005 UTC (18 years, 4 months ago) by
Skal
Branch:
MAIN
Changes since
1.69: +39 -71 lines
Diff to
previous 1.69
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
1.69 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Mar 27 03:59:41 2005 UTC (18 years, 6 months ago) by
suxen_drol
Branch:
MAIN
Changes since
1.68: +22 -13 lines
Diff to
previous 1.68
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
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 15 11:28:38 2004 UTC (19 years, 1 month ago) by
syskin
Branch:
MAIN
Changes since
1.65: +42 -29 lines
Diff to
previous 1.65
make sure that MV is in range in b-frames too. prevents crashes with broken bitstream
Revision
1.65 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 10 21:58:55 2004 UTC (19 years, 1 month ago) by
edgomez
Branch:
MAIN
Changes since
1.64: +29 -64 lines
Diff to
previous 1.64
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.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 26 19:32:28 2004 UTC (19 years, 2 months ago) by
edgomez
Branch:
MAIN
Changes since
1.63: +43 -45 lines
Diff to
previous 1.63
Small cleanup (will ease future patches thanks to the unified add_residual pointer), no speedup at all
Revision
1.63 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jul 24 11:46:08 2004 UTC (19 years, 2 months ago) by
edgomez
Branch:
MAIN
Changes since
1.62: +6 -6 lines
Diff to
previous 1.62
ASM data section cleanups + important bugfix to bvop ref interpolation rounding
Revision
1.57 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri May 21 14:40:15 2004 UTC (19 years, 4 months ago) by
edgomez
Branch:
MAIN
Changes since
1.56: +27 -13 lines
Diff to
previous 1.56
patch-26 (stable merge), patch-27 no 64bit, patch-28 (setedges only once per frame)
Revision
1.54 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 11 09:41:27 2004 UTC (19 years, 5 months ago) by
syskin
Branch:
MAIN
Changes since
1.53: +27 -29 lines
Diff to
previous 1.53
better MV clipping - does not break DX50 streams which have motion out of range
Revision
1.53 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 10 04:30:07 2004 UTC (19 years, 5 months ago) by
suxen_drol
Branch:
MAIN
Changes since
1.52: +2 -1 lines
Diff to
previous 1.52
stats->type set to NOTHING by default
in some instances stats->type was not being set (namely lowdelay=1, packed=1, type=nvop).
Revision
1.48 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Feb 17 23:33:12 2003 UTC (20 years, 7 months ago) by
edgomez
Branch:
MAIN
Changes since
1.47: +81 -119 lines
Diff to
previous 1.47
- 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
1.46 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 11 21:56:31 2003 UTC (20 years, 7 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.45: +10 -616 lines
Diff to
previous 1.45
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
1.21 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jun 22 07:23:09 2002 UTC (21 years, 3 months ago) by
suxen_drol
Branch:
MAIN
Changes since
1.20: +10 -4 lines
Diff to
previous 1.20
minor fixes: bframe N_VOP support, custom quant bug, BFRAME inc_frame_num()
Revision
1.13 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 28 23:35:25 2002 UTC (21 years, 4 months ago) by
edgomez
Branch:
MAIN
Changes since
1.12: +2 -2 lines
Diff to
previous 1.12
sad values can be negative (Cristoph post scriptum to a mail in the dev maillist)
Revision
1.8 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Mar 29 00:37:57 2002 UTC (21 years, 6 months ago) by
h
Branch:
MAIN
Changes since
1.7: +27 -23 lines
Diff to
previous 1.7
interlacing fix and speedup - compensated data wasn't being used in block reconstruction
Revision
1.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 28 20:57:24 2002 UTC (21 years, 6 months ago) by
edgomez
Branch:
MAIN
Changes since
1.6: +77 -82 lines
Diff to
previous 1.6
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
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 26 11:16:08 2002 UTC (21 years, 6 months ago) by
h
Branch:
MAIN
Changes since
1.4: +149 -81 lines
Diff to
previous 1.4
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)
Revision
1.2 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 9 14:45:40 2002 UTC (21 years, 6 months ago) by
edgomez
Branch:
MAIN
Changes since
1.1: +1 -0 lines
Diff to
previous 1.1
In some circumstances acpred_flag was used unitialized - now it's set to zero
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.