[svn] / trunk / xvidcore / src / bitstream / bitstream.c Repository:
ViewVC logotype

Log of /trunk/xvidcore/src/bitstream/bitstream.c

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2179 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 12 14:41:36 2019 UTC (4 years, 4 months ago) by Isibaar
File length: 44607 byte(s)
Diff to previous 2178 , to selected 136
Fix indentation and default value

Revision 2178 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 6 10:33:01 2019 UTC (4 years, 4 months ago) by Isibaar
File length: 44602 byte(s)
Diff to previous 2177 , to selected 136
- Fix potential division by zero (Credit to OSS-Fuzz)

Revision 2177 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 3 11:50:49 2019 UTC (4 years, 4 months ago) by Isibaar
File length: 44602 byte(s)
Diff to previous 2170 , to selected 136
- Fix of various long-standing bitstream decoder bugs (Credit to OSS-Fuzz).
- Some minor decoder cleanups and improved robustness.

Revision 2170 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 17 14:22:17 2019 UTC (5 years, 2 months ago) by Isibaar
File length: 44611 byte(s)
Diff to previous 2169 , to selected 136
bitstream: uninitialized var error (Patch by Peter Ross)

Revision 2169 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 17 14:19:40 2019 UTC (5 years, 2 months ago) by Isibaar
File length: 44581 byte(s)
Diff to previous 2168 , to selected 136
bitstream: fix incorrect if statement usage (Patch by Peter Ross)

Revision 2168 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 17 14:18:09 2019 UTC (5 years, 2 months ago) by Isibaar
File length: 44574 byte(s)
Diff to previous 2167 , to selected 136
Keep debug output

Revision 2167 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 17 14:14:02 2019 UTC (5 years, 2 months ago) by Isibaar
File length: 44524 byte(s)
Diff to previous 1988 , to selected 136
Sanity check

Revision 1988 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 18 09:10:05 2011 UTC (12 years, 10 months ago) by Isibaar
File length: 44550 byte(s)
Diff to previous 1928 , to selected 136
enabled auto-props property

Revision 1928 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 28 19:19:57 2010 UTC (13 years, 3 months ago) by Isibaar
File length: 44603 byte(s)
Diff to previous 1913 , to selected 136
get rid off compiler warnings

Revision 1913 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 18 16:02:08 2010 UTC (13 years, 3 months ago) by Isibaar
File length: 44574 byte(s)
Diff to previous 1891 , to selected 136
refactorized encoder multi-threading
introduced slice-based encoding

Revision 1891 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 10 15:00:34 2010 UTC (13 years, 7 months ago) by Isibaar
File length: 44454 byte(s)
Diff to previous 1785 , to selected 136
decoder: better distinguish between xvid and non-xvid streams

Revision 1785 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 24 09:43:10 2007 UTC (16 years, 8 months ago) by Isibaar
File length: 44308 byte(s)
Diff to previous 1772 , to selected 136
- improve b-frame decoding robustness (with broken stream or missing
  ref frame)

Revision 1772 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 16 19:01:28 2007 UTC (16 years, 11 months ago) by Skal
File length: 44228 byte(s)
Diff to previous 1696 , to selected 136
        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 (18 years ago) by Skal
File length: 44226 byte(s)
Diff to previous 1653 , to selected 136
        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 1653 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 22 10:23:01 2005 UTC (18 years, 4 months ago) by suxen_drol
File length: 44250 byte(s)
Diff to previous 1644 , to selected 136
cleanings in code spotted by sparse (ed dot gomez at free dot fr>

Revision 1644 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 6 10:46:42 2005 UTC (18 years, 5 months ago) by Isibaar
File length: 44240 byte(s)
Diff to previous 1627 , to selected 136
- Wiped the remainders of RRV encoding support
- Marked the RRV flags as obsolete in xvid.h API

Revision 1627 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 1 10:53:46 2005 UTC (18 years, 8 months ago) by Isibaar
File length: 44540 byte(s)
Diff to previous 1617 , to selected 136
 * Writing pointed data is always better than memory
   addresses (Patch by GomGom)
 * Trivial style thingies (Patch by GomGom)
 * No width and height declared in write_tga bug
   (Patch by GomGom, spotted by Paul Kurucz
    ptk9417 at ritvax.isc.rit.edu)

Revision 1617 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 23 09:29:43 2005 UTC (18 years, 10 months ago) by Skal
File length: 44531 byte(s)
Diff to previous 1616 , to selected 136
	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, 10 months ago) by Skal
File length: 44470 byte(s)
Diff to previous 1610 , to selected 136
	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 1610 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 10 00:27:25 2005 UTC (18 years, 11 months ago) by suxen_drol
File length: 42524 byte(s)
Diff to previous 1607 , to selected 136
improved profile/level id auto-detection

Revision 1607 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 27 03:59:42 2005 UTC (19 years ago) by suxen_drol
File length: 42478 byte(s)
Diff to previous 1566 , to selected 136
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 1566 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 5 13:56:13 2004 UTC (19 years, 3 months ago) by syskin
File length: 42411 byte(s)
Diff to previous 1553 , to selected 136
RRV removed from everything else

Revision 1553 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 3 16:20:51 2004 UTC (19 years, 5 months ago) by syskin
File length: 42567 byte(s)
Diff to previous 1547 , to selected 136
don't touch a frame that doesn't have at least 4 bytes. safety, and removes one visible error in a rare case

Revision 1547 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 4 14:16:24 2004 UTC (19 years, 6 months ago) by edgomez
File length: 42568 byte(s)
Diff to previous 1480 , to selected 136
Fixes and enhancements

Revision 1480 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 14:54:28 2004 UTC (19 years, 8 months ago) by syskin
File length: 42543 byte(s)
Diff to previous 1466 , to selected 136
bs_get_matrix() buglet

Revision 1466 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 31 21:36:23 2004 UTC (19 years, 10 months ago) by edgomez
File length: 42567 byte(s)
Diff to previous 1451 , to selected 136
Merging release-1_0 fixes

Revision 1451 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 21 14:40:15 2004 UTC (19 years, 10 months ago) by edgomez
File length: 42746 byte(s)
Diff to previous 1382 , to selected 136
patch-26 (stable merge), patch-27 no 64bit, patch-28 (setedges only once per frame)

Revision 1382 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 22 22:36:25 2004 UTC (20 years ago) by edgomez
File length: 42746 byte(s)
Diff to previous 1098 , to selected 136
xvidcore 1.0.0 rc3 merge back to HEAD

Revision 1098 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 28 12:39:32 2003 UTC (20 years, 8 months ago) by edgomez
File length: 44817 byte(s)
Diff to previous 1055 , to selected 136
Bitstream fixes (mainly a VOL syntax error and a missing/wrong paddings)

Revision 1055 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 17:08:36 2003 UTC (20 years, 9 months ago) by Isibaar
File length: 44322 byte(s)
Diff to previous 876 , to selected 136
don't use Walken idct anymore, simple idct is now used by default instead

Revision 876 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 19 21:59:30 2003 UTC (21 years, 1 month ago) by edgomez
File length: 44118 byte(s)
Diff to previous 851 , to selected 136
Small fixes patch

Revision 851 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 15 15:22:19 2003 UTC (21 years, 1 month ago) by edgomez
File length: 44114 byte(s)
Diff to previous 723 , to selected 136
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too

Revision 723 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 15 01:21:12 2002 UTC (21 years, 3 months ago) by edgomez
File length: 23681 byte(s)
Diff to previous 677 , to selected 136
Another series of warnings for aggressive compilers

Revision 677 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 26 23:44:11 2002 UTC (21 years, 4 months ago) by edgomez
File length: 23664 byte(s)
Diff to previous 655 , to selected 136
ANSI C compliancy - thx Rick Foos

Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 17 00:57:58 2002 UTC (21 years, 4 months ago) by edgomez
File length: 23223 byte(s)
Diff to previous 529 , to selected 136
License changed

Revision 529 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 23 10:59:10 2002 UTC (21 years, 6 months ago) by suxen_drol
File length: 22200 byte(s)
Diff to previous 514 , to selected 136
mingw/msvc compat. patch

Revision 514 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 22 17:01:36 2002 UTC (21 years, 6 months ago) by edgomez
File length: 22188 byte(s)
Diff to previous 499 , to selected 136
Removed DEBUGXXXs calls

Revision 499 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 21 03:11:36 2002 UTC (21 years, 6 months ago) by suxen_drol
File length: 22174 byte(s)
Diff to previous 487 , to selected 136
pross email address updates

Revision 487 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 19 19:25:06 2002 UTC (21 years, 6 months ago) by edgomez
File length: 22177 byte(s)
Diff to previous 478 , to selected 136
- Removed last bits of BFRAMES #ifdefs

Revision 478 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 12 19:06:37 2002 UTC (21 years, 6 months ago) by edgomez
File length: 22924 byte(s)
Diff to previous 469 , to selected 136
Fixed an uninitialized variable (gcc 3.1)

Revision 469 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 10 22:52:13 2002 UTC (21 years, 6 months ago) by edgomez
File length: 22920 byte(s)
Diff to previous 387 , to selected 136
Added headers, removed unused code

Revision 387 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 3 17:25:45 2002 UTC (21 years, 6 months ago) by chl
File length: 26302 byte(s)
Diff to previous 386 , to selected 136
Support for timestamps even without #define BFRAMES

Revision 386 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 2 21:15:37 2002 UTC (21 years, 6 months ago) by chl
File length: 26232 byte(s)
Diff to previous 333 , to selected 136
Added low_delay=1 for non-Bframes mode.

Revision 333 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 00:50:10 2002 UTC (21 years, 8 months ago) by Isibaar
File length: 26124 byte(s)
Diff to previous 316 , to selected 136
qpel decoding support

Revision 316 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 19 13:34:32 2002 UTC (21 years, 8 months ago) by chl
File length: 26183 byte(s)
Diff to previous 313 , to selected 136
Minor fix for time-hack

Revision 313 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 18 23:52:40 2002 UTC (21 years, 8 months ago) by chl
File length: 26138 byte(s)
Diff to previous 294 , to selected 136
Fixed for Bframes encoding and maybe decoding, too.

Revision 294 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 12 00:49:59 2002 UTC (21 years, 8 months ago) by chenm001
File length: 26013 byte(s)
Diff to previous 252 , to selected 136
support the decode examples in ex1

Revision 252 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 30 10:46:29 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 25579 byte(s)
Diff to previous 248 , to selected 136
resync patch

Revision 248 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 28 15:14:40 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 24009 byte(s)
Diff to previous 241 , to selected 136
resync support, check_cpu_features() fixed

Revision 241 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 26 09:41:52 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 23203 byte(s)
Diff to previous 240 , to selected 136
fixed_vop_rate

Revision 240 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 25 09:41:54 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 23136 byte(s)
Diff to previous 233 , to selected 136
minor dx50bvop fix

Revision 233 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 22 07:23:10 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 23167 byte(s)
Diff to previous 229 , to selected 136
minor fixes: bframe N_VOP support, custom quant bug, BFRAME inc_frame_num()

Revision 229 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 20 14:05:58 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 22920 byte(s)
Diff to previous 223 , to selected 136
bframe patch

Revision 223 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 19 01:01:02 2002 UTC (21 years, 9 months ago) by chenm001
File length: 22502 byte(s)
Diff to previous 206 , to selected 136
fix a little bug in use custom quant matrix

Revision 206 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 14 12:26:06 2002 UTC (21 years, 9 months ago) by suxen_drol
File length: 22056 byte(s)
Diff to previous 195 , to selected 136
msvc asm{} codingstyle fix

Revision 195 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 12 20:38:41 2002 UTC (21 years, 9 months ago) by edgomez
File length: 22050 byte(s)
Diff to previous 168 , to selected 136
Cosmetic - CodingStyle Applied - Legal Headers will be added later

Revision 168 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 9 00:15:51 2002 UTC (21 years, 10 months ago) by chenm001
File length: 22411 byte(s)
Diff to previous 164 , to selected 136
add low_delay decode support

Revision 164 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 6 10:07:19 2002 UTC (21 years, 10 months ago) by suxen_drol
File length: 22253 byte(s)
Diff to previous 163 , to selected 136
low_delay

Revision 163 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 6 08:18:11 2002 UTC (21 years, 10 months ago) by suxen_drol
File length: 21852 byte(s)
Diff to previous 157 , to selected 136
bitstream finc/fbase bug fix

Revision 157 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 3 08:37:55 2002 UTC (21 years, 11 months ago) by Isibaar
File length: 21651 byte(s)
Diff to previous 156 , to selected 136
quant range checking

Revision 156 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 3 00:45:10 2002 UTC (21 years, 11 months ago) by chenm001
File length: 21625 byte(s)
Diff to previous 152 , to selected 136
add B-frame decode support

Revision 152 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 1 13:00:02 2002 UTC (21 years, 11 months ago) by suxen_drol
File length: 20375 byte(s)
Diff to previous 136
#define BFRAMES

Revision 136 - (view) (download) (annotate) - [selected]
Modified Thu Apr 25 06:55:00 2002 UTC (21 years, 11 months ago) by suxen_drol
File length: 19852 byte(s)
Diff to previous 124
FRAMEINFO

Revision 124 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 16 00:17:35 2002 UTC (21 years, 11 months ago) by chenm001
File length: 19802 byte(s)
Diff to previous 74 , to selected 136
rewrite log2bin() use asm386(only in VC)

Revision 74 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 28 12:26:44 2002 UTC (22 years ago) by canard
File length: 19668 byte(s)
Diff to previous 69 , to selected 136
fixed some warnings

Revision 69 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 26 11:16:08 2002 UTC (22 years ago) by h
File length: 19662 byte(s)
Diff to previous 20 , to selected 136
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)

Revision 20 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 9 21:44:47 2002 UTC (22 years ago) by Isibaar
File length: 19408 byte(s)
Diff to previous 4 , to selected 136
qmatrix bugfix

Revision 4 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 8 19:17:46 2002 UTC (22 years ago) by Isibaar
File length: 19278 byte(s)
Diff to previous 3 , to selected 136
custom qmatrix support

Revision 3 - (view) (download) (annotate) - [select for diffs]
Added Fri Mar 8 02:46:11 2002 UTC (22 years ago) by Isibaar
File length: 18982 byte(s)
Diff to selected 136
moved sources

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4