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

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

Parent Directory Parent Directory


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

Revision 1777 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 28 14:55:11 2007 UTC (12 years, 8 months ago) by Skal
File length: 57010 byte(s)
Diff to previous 1775 , to selected 514
        Simplify index testing after get_coeff(), esp. after decoding error.

Revision 1775 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 27 14:38:05 2007 UTC (12 years, 8 months ago) by Isibaar
File length: 57032 byte(s)
Diff to previous 1773 , to selected 514
- patch for a potential vulnerability reported by Secunia

Revision 1773 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 28 16:30:26 2007 UTC (12 years, 10 months ago) by syskin
File length: 57372 byte(s)
Diff to previous 1677 , to selected 514
Correction to out-of-bounds memory access in d_mv_bits; an assertion showing that d_mv_bits is still wrong; VC8 project files

Revision 1677 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 19 22:25:23 2006 UTC (14 years, 1 month ago) by Isibaar
File length: 56929 byte(s)
Diff to previous 1632 , to selected 514
- Added MV bits to statistics

Revision 1632 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 13 12:12:15 2005 UTC (14 years, 5 months ago) by suxen_drol
File length: 56775 byte(s)
Diff to previous 1609 , to selected 514
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 1609 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 4 23:49:37 2005 UTC (14 years, 10 months ago) by edgomez
File length: 56393 byte(s)
Diff to previous 1573 , to selected 514
New 1.1.0-beta2 release

Revision 1573 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 10 04:10:12 2004 UTC (15 years, 2 months ago) by syskin
File length: 56392 byte(s)
Diff to previous 1567 , to selected 514
small clenup - move GREYSCALE code to mbcoding

Revision 1567 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 8 12:43:48 2004 UTC (15 years, 2 months ago) by syskin
File length: 56222 byte(s)
Diff to previous 1537 , to selected 514
new fcode code

Revision 1537 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 22 13:16:12 2004 UTC (15 years, 6 months ago) by edgomez
File length: 56358 byte(s)
Diff to previous 1486 , to selected 514
Thread safety for C version

Revision 1486 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 10 17:49:31 2004 UTC (15 years, 7 months ago) by edgomez
File length: 56277 byte(s)
Diff to previous 1382 , to selected 514
Faster getcoeff + on the fly dequant

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

Revision 897 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 24 11:15:33 2003 UTC (17 years ago) by chl
File length: 59541 byte(s)
Diff to previous 883 , to selected 514
Rename cbpy_tab to xvid_cbpy_tab to avoid naming conflicts (with ffmpeg)

Revision 883 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 21 08:32:34 2003 UTC (17 years ago) by suxen_drol
File length: 59516 byte(s)
Diff to previous 861 , to selected 514
msvc warning fixup

Revision 861 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 16 13:04:05 2003 UTC (17 years ago) by edgomez
File length: 59507 byte(s)
Diff to previous 851 , to selected 514
Table duplication fix (Moved tables to a C module - kept declarations in header)

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

Revision 845 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 13 17:31:33 2003 UTC (17 years ago) by edgomez
File length: 23191 byte(s)
Diff to previous 816 , to selected 514
Ready for 0.9.1

Revision 816 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 6 00:48:08 2003 UTC (17 years ago) by edgomez
File length: 23104 byte(s)
Diff to previous 809 , to selected 514
Fixed a bug where run_esc==-1 was indexing an array -> segfault (spoted on a strong arm CPU ;-)

Revision 809 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 26 01:44:44 2003 UTC (17 years, 1 month ago) by suxen_drol
File length: 23367 byte(s)
Diff to previous 766 , to selected 514
ptr_t fix (s_kraste at ira.uka.de)

Revision 766 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 7 21:57:19 2003 UTC (17 years, 1 month ago) by edgomez
File length: 23367 byte(s)
Diff to previous 764 , to selected 514
Fixes from MfA

Revision 764 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 5 16:54:36 2003 UTC (17 years, 1 month ago) by edgomez
File length: 24566 byte(s)
Diff to previous 759 , to selected 514
Much lighter VLC implementation (saves >6MB)

Revision 759 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 04:28:48 2003 UTC (17 years, 1 month ago) by suxen_drol
File length: 18518 byte(s)
Diff to previous 731 , to selected 514
coeff level [-2047,2047]

Revision 731 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 19 22:58:58 2002 UTC (17 years, 2 months ago) by edgomez
File length: 18511 byte(s)
Diff to previous 677 , to selected 514
Fixed a buffer overflow in vlc_init (lacked a few more VLC in intra/inter tables) - should solve the static problem on MSVC targets too

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

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

Revision 514 - (view) (download) (annotate) - [selected]
Modified Sun Sep 22 17:01:36 2002 UTC (17 years, 5 months ago) by edgomez
File length: 17368 byte(s)
Diff to previous 497
Removed DEBUGXXXs calls

Revision 497 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 21 02:26:12 2002 UTC (17 years, 5 months ago) by suxen_drol
File length: 17334 byte(s)
Diff to previous 469 , to selected 514
msvc6 static vlc tables fix

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

Revision 465 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 10 21:29:03 2002 UTC (17 years, 5 months ago) by edgomez
File length: 19928 byte(s)
Diff to previous 454 , to selected 514
- Respect const qualifier changes in vlc_codes.h

Revision 454 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 8 15:40:02 2002 UTC (17 years, 5 months ago) by edgomez
File length: 19910 byte(s)
Diff to previous 453 , to selected 514
- Little mistake in previous commit fixed, all bframe functions have been disabled

Revision 453 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 8 15:39:01 2002 UTC (17 years, 5 months ago) by edgomez
File length: 19911 byte(s)
Diff to previous 451 , to selected 514
- Moved get_coeff from vlc_codes.h
- Disabled MBCodingBVOP with #ifdef 0 #endif (Will be removed completly when i'm sure it doesn't hurt)

Revision 451 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 8 14:43:04 2002 UTC (17 years, 5 months ago) by edgomez
File length: 16784 byte(s)
Diff to previous 388 , to selected 514
- Changed header
- Added static qualifier to local arrays
- Cosmetic

Revision 388 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 4 03:23:28 2002 UTC (17 years, 5 months ago) by h
File length: 18338 byte(s)
Diff to previous 347 , to selected 514
interlacing bugfix (inter cbp behaviour)

Revision 347 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 28 13:06:46 2002 UTC (17 years, 7 months ago) by chl
File length: 18314 byte(s)
Diff to previous 338 , to selected 514
Modified SKIP mb behaviour for Pframes when Bframes are active: Check if
intermediate B-block can be skipped, too. Check for SKIP is now done
in encode_pframe(), not in MBCoding().

Revision 338 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 23:07:45 2002 UTC (17 years, 7 months ago) by chl
File length: 18562 byte(s)
Diff to previous 335 , to selected 514
New fields deltamv, directmv[4] in Macroblock for more logical B-frame ME

Revision 335 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 24 19:34:14 2002 UTC (17 years, 7 months ago) by chl
File length: 18560 byte(s)
Diff to previous 313 , to selected 514
Added #ifdef _DISABLE_SKIP in MBCoding(). If this is defined, there
will be __no skipped macroblocks__ in P-frames!
This is of course bad (bigger files), but it's needed for clean B-frame
encoding until we have a workaround for the SKIP-flaw in the standard. :-(

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

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

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

Revision 209 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 14 13:29:07 2002 UTC (17 years, 8 months ago) by Isibaar
File length: 17418 byte(s)
Diff to previous 195 , to selected 514
ia64 changes

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

Revision 161 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 6 03:51:43 2002 UTC (17 years, 9 months ago) by chenm001
File length: 17527 byte(s)
Diff to previous 153 , to selected 514
fix some my B-frame decode error

Revision 153 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 2 00:36:50 2002 UTC (17 years, 10 months ago) by Isibaar
File length: 17526 byte(s)
Diff to previous 152 , to selected 514
removed coeff clamping

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

Revision 136 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 25 06:55:00 2002 UTC (17 years, 10 months ago) by suxen_drol
File length: 17645 byte(s)
Diff to previous 133 , to selected 514
FRAMEINFO

Revision 133 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 23 00:05:31 2002 UTC (17 years, 10 months ago) by chenm001
File length: 17654 byte(s)
Diff to previous 118 , to selected 514
add some B-frame support

Revision 118 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 13 16:30:02 2002 UTC (17 years, 10 months ago) by suxen_drol
File length: 17622 byte(s)
Diff to previous 116 , to selected 514
bframe "support" code

Revision 116 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 11 10:48:03 2002 UTC (17 years, 10 months ago) by Isibaar
File length: 11606 byte(s)
Diff to previous 114 , to selected 514
AC vlc coding bugfix, thanks to Vivien Chappelier

Revision 114 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 10 07:43:25 2002 UTC (17 years, 10 months ago) by Isibaar
File length: 11608 byte(s)
Diff to previous 100 , to selected 514
decoder speedup

Revision 100 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 4 13:58:18 2002 UTC (17 years, 10 months ago) by Isibaar
File length: 13756 byte(s)
Diff to previous 78 , to selected 514
reworked vlc tables

Revision 78 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 28 20:57:25 2002 UTC (17 years, 11 months ago) by edgomez
File length: 15138 byte(s)
Diff to previous 69 , to selected 514
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 (17 years, 11 months ago) by h
File length: 15005 byte(s)
Diff to previous 35 , to selected 514
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)

Revision 35 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 16 15:52:34 2002 UTC (17 years, 11 months ago) by Isibaar
File length: 14368 byte(s)
Diff to previous 28 , to selected 514
removed debug output

Revision 28 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 15 09:20:03 2002 UTC (17 years, 11 months ago) by Isibaar
File length: 14446 byte(s)
Diff to previous 17 , to selected 514
INTRA_Q/INTER_Q mcbpc bugfix

Revision 17 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 9 15:57:02 2002 UTC (17 years, 11 months ago) by edgomez
File length: 14332 byte(s)
Diff to previous 15 , to selected 514
Fixed implicit declaration of malloc - #include <stdlib.h>

Revision 15 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 9 15:29:26 2002 UTC (17 years, 11 months ago) by edgomez
File length: 14292 byte(s)
Diff to previous 3 , to selected 514
Fixed  gcc warning about '/*' into comments

Revision 3 - (view) (download) (annotate) - [select for diffs]
Added Fri Mar 8 02:46:11 2002 UTC (17 years, 11 months ago) by Isibaar
File length: 14292 byte(s)
Diff to selected 514
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