Log of /trunk/xvidcore/src/decoder.c
Parent Directory
Revision
2177 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 3 11:50:49 2019 UTC (3 years, 7 months ago) by
Isibaar
File length: 56794 byte(s)
Diff to
previous 2132
- Fix of various long-standing bitstream decoder bugs (Credit to OSS-Fuzz).
- Some minor decoder cleanups and improved robustness.
Revision
1868 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 28 15:42:06 2009 UTC (14 years ago) by
Isibaar
File length: 56202 byte(s)
Diff to
previous 1772
Bugfix:
- Added missing resync marker range check in decoder.c (reported by IBM X-Force. Thanks go to John McDonald and Christopher Valasek)
- return E_FAIL instead of S_FALSE upon XVID_ERR_MEMORY error in dshow frontend (reported by IBM X-Force. Thanks to John McDonald and Mark Dowd)
Revision
1772 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 16 19:01:28 2007 UTC (16 years, 1 month ago) by
Skal
File length: 56048 byte(s)
Diff to
previous 1727
fix for bad resync_marker length in b-vops (both enc and dec)
Thanks to Mathieu Monnier for the report
(mathieu.monnier at polytechnique dot org)
Revision
1696 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 27 11:21:48 2006 UTC (17 years, 2 months ago) by
Skal
File length: 55641 byte(s)
Diff to
previous 1671
fix for the visual_object_verid vs. video_object_layer_verid
problem of 6.3.3, reported by Li Xiang (lixiang01 at gmail dot com)
Thanks for report and test bitstreams!
Revision
1671 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 30 14:04:49 2005 UTC (17 years, 5 months ago) by
Isibaar
File length: 55625 byte(s)
Diff to
previous 1669
- Initialize dec->bs_version to high value. Before it seemed unititalized for
non XviD streams...
Revision
1639 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 20 11:54:11 2005 UTC (17 years, 8 months ago) by
suxen_drol
File length: 54703 byte(s)
Diff to
previous 1632
> > - 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 (17 years, 8 months ago) by
suxen_drol
File length: 54708 byte(s)
Diff to
previous 1628
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 (18 years ago) by
Skal
File length: 44759 byte(s)
Diff to
previous 1616
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 (18 years ago) by
Skal
File length: 44760 byte(s)
Diff to
previous 1607
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 (18 years, 2 months ago) by
suxen_drol
File length: 46045 byte(s)
Diff to
previous 1566
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 (18 years, 9 months ago) by
edgomez
File length: 48803 byte(s)
Diff to
previous 1524
Decoder speedups: merge interpolation and dst averaging for bvop blocks, unify qpel framework (should slow things for PPC until new functions get merged)
Revision
1524 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 26 19:32:28 2004 UTC (18 years, 10 months ago) by
edgomez
File length: 50261 byte(s)
Diff to
previous 1519
Small cleanup (will ease future patches thanks to the unified add_residual pointer), no speedup at all
Revision
1417 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 10 04:30:07 2004 UTC (19 years, 1 month ago) by
suxen_drol
File length: 50136 byte(s)
Diff to
previous 1397
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 (20 years, 3 months ago) by
edgomez
File length: 56214 byte(s)
Diff to
previous 851
- 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
851 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Feb 15 15:22:19 2003 UTC (20 years, 3 months ago) by
edgomez
File length: 58254 byte(s)
Diff to
previous 830
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too
Revision
830 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 11 21:56:31 2003 UTC (20 years, 3 months ago) by
edgomez
File length: 22880 byte(s)
Diff to
previous 723
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
233 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jun 22 07:23:10 2002 UTC (20 years, 11 months ago) by
suxen_drol
File length: 35820 byte(s)
Diff to
previous 208
minor fixes: bframe N_VOP support, custom quant bug, BFRAME inc_frame_num()
Revision
148 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Apr 28 23:35:25 2002 UTC (21 years, 1 month ago) by
edgomez
File length: 17836 byte(s)
Diff to
previous 146
sad values can be negative (Cristoph post scriptum to a mail in the dev maillist)
Revision
81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 29 00:37:57 2002 UTC (21 years, 2 months ago) by
h
File length: 17062 byte(s)
Diff to
previous 78
interlacing fix and speedup - compensated data wasn't being used in block reconstruction
Revision
78 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 28 20:57:25 2002 UTC (21 years, 2 months ago) by
edgomez
File length: 16862 byte(s)
Diff to
previous 73
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 (21 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
12 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 9 14:45:40 2002 UTC (21 years, 2 months ago) by
edgomez
File length: 14165 byte(s)
Diff to
previous 3
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,
enter a numeric revision.