[svn] / branches / dev-api-4 / xvidcore / src / bitstream / mbcoding.c Repository:
ViewVC logotype

Log of /branches/dev-api-4/xvidcore/src/bitstream/mbcoding.c

Parent Directory Parent Directory


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

Revision 1038 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 22 16:36:07 2003 UTC (16 years, 1 month ago) by edgomez
File length: 59762 byte(s)
Diff to previous 1032 , to selected 114
Removed this annoying \n from DPRINTF output. DPRINTF behaves
now like usual printf.

Just for fun, i decided to exercice my regexp skills:

for i in `find . -name "*.c"` ; do
     sed s/'\(DPRINTF(XVID_DEBUG.*\)"\([^"]\+[^\\][^n]\)"\(.*\)$'/'\1"\2\\n"\3'/g $i > $i.tmp;
     mv $i.tmp $i
done

Nice isn't it ? It just adds a \n to every DPRINTF call that
was relying on old behavior (automatic trailing \n).

Revision 1032 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 17 13:37:49 2003 UTC (16 years, 1 month ago) by suxen_drol
File length: 59744 byte(s)
Diff to previous 1011 , to selected 114
* dynamic bvop decision stats bug fixed
* added runtime debug level option. this only only activated when _DEBUG is defined.
  level is specified globaly, via "xvid_glb_init_t.debug" and XVID_DEBUG_xxx defines.
  references to previous DPRINTF_LEVEL_xxx's have been replaced throughout libxvidcore
* futher bitrate zone fixes for plugin_2pass2.c
* removed old ratecontrol.c from msvc project
* xvid_encraw.c specifc:
  * added "-max_key_interval integer" option
  * renamed -debug to -vop_debug
  * added "-debug integer" option, which sets xvid_gbl_init_t.debug field
  * s/length/len/ status line
* vfw specific:
  * zone/bitrate typos fixed ("you eediot")
  * renamed "debug" regkey to "vop_debug"
  * added "debug" regeky and textbox which sets xvid_gbl_init_t.debug field

Revision 1011 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 9 22:03:13 2003 UTC (16 years, 1 month ago) by chl
File length: 59711 byte(s)
Diff to previous 1003 , to selected 114
New Trellis Quant by Skal, moved from mbcoding to mbtransquant

Revision 1003 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 3 19:11:58 2003 UTC (16 years, 1 month ago) by chl
File length: 66409 byte(s)
Diff to previous 995 , to selected 114
Trellis: Removed double calculation of "last" => +0.02dB

Revision 995 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 27 19:47:48 2003 UTC (16 years, 2 months ago) by chl
File length: 66769 byte(s)
Diff to previous 982 , to selected 114
Trellis based R-D optimal quantization (H263, INTER)

Revision 982 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 10 13:05:54 2003 UTC (16 years, 2 months ago) by edgomez
File length: 59689 byte(s)
Diff to previous 958 , to selected 114
2003-04-10 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-14

    Summary:
      Removed all ABS() macros.
    Revision:
      xvidcore--devapi4--1.0--patch-14

    All  ABS   macros  have   been  replace  with   their  stdlib.h/math.h
    equivalent. This gives a 33%  overall speedup for the plain C encoder,
    while the  ia32 one seems to  suffer a small speed  loss. However this
    speed loss is  very small and it  seems it depends on the  CPU type as
    the abs/fabs usage  is impacting badly on sad  functions but impacting
    well on interpolate functions ... weird inst'it ?

    modified files:
     src/bitstream/mbcoding.c src/global.h src/image/image.c
     src/motion/motion_comp.c src/motion/motion_est.c
     src/motion/sad.c src/prediction/mbprediction.c
     src/utils/mbtransquant.c src/xvid.c

Revision 958 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 29 01:29:53 2003 UTC (16 years, 3 months ago) by edgomez
File length: 59689 byte(s)
Diff to previous 949 , to selected 114
Fixed a namespace conflict with libavcodec which caused dev-api-4 mencoder module to fail

Revision 949 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 26 14:56:49 2003 UTC (16 years, 3 months ago) by edgomez
File length: 59664 byte(s)
Diff to previous 926 , to selected 114
Changed flags naming conventions

Revision 926 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 16 12:05:09 2003 UTC (16 years, 3 months ago) by suxen_drol
File length: 59648 byte(s)
Diff to previous 890 , to selected 114
dquant cleanup
xvid_pluing_lumimasking added
xvid_encraw -lumimasking option added

Revision 890 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 22 08:49:45 2003 UTC (16 years, 4 months ago) by suxen_drol
File length: 59504 byte(s)
Diff to previous 886 , to selected 114
++api v1.-127.0

Revision 886 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 21 14:49:29 2003 UTC (16 years, 4 months ago) by
File length: 59516 byte(s)
Diff to previous 883 , to selected 114
This commit was manufactured by cvs2svn to create branch 'dev-api-4'.

Revision 883 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 21 08:32:34 2003 UTC (16 years, 4 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 59516 byte(s)
Diff to previous 861 , to selected 114
msvc warning fixup

Revision 861 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 16 13:04:05 2003 UTC (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 59507 byte(s)
Diff to previous 851 , to selected 114
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 (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 29871 byte(s)
Diff to previous 845 , to selected 114
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 (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 23191 byte(s)
Diff to previous 816 , to selected 114
Ready for 0.9.1

Revision 816 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 6 00:48:08 2003 UTC (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 23104 byte(s)
Diff to previous 809 , to selected 114
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 (16 years, 5 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 23367 byte(s)
Diff to previous 766 , to selected 114
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 (16 years, 5 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 23367 byte(s)
Diff to previous 764 , to selected 114
Fixes from MfA

Revision 764 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 5 16:54:36 2003 UTC (16 years, 5 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 24566 byte(s)
Diff to previous 759 , to selected 114
Much lighter VLC implementation (saves >6MB)

Revision 759 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 4 04:28:48 2003 UTC (16 years, 5 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18518 byte(s)
Diff to previous 731 , to selected 114
coeff level [-2047,2047]

Revision 731 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 19 22:58:58 2002 UTC (16 years, 6 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18511 byte(s)
Diff to previous 677 , to selected 114
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 (16 years, 7 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18497 byte(s)
Diff to previous 655 , to selected 114
ANSI C compliancy - thx Rick Foos

Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 17 00:57:58 2002 UTC (16 years, 7 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18395 byte(s)
Diff to previous 514 , to selected 114
License changed

Revision 514 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 22 17:01:36 2002 UTC (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17368 byte(s)
Diff to previous 497 , to selected 114
Removed DEBUGXXXs calls

Revision 497 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 21 02:26:12 2002 UTC (16 years, 9 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17334 byte(s)
Diff to previous 469 , to selected 114
msvc6 static vlc tables fix

Revision 469 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 10 22:52:13 2002 UTC (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17281 byte(s)
Diff to previous 465 , to selected 114
Added headers, removed unused code

Revision 465 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 10 21:29:03 2002 UTC (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 19928 byte(s)
Diff to previous 454 , to selected 114
- 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 (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 19910 byte(s)
Diff to previous 453 , to selected 114
- 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 (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 19911 byte(s)
Diff to previous 451 , to selected 114
- 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 (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 16784 byte(s)
Diff to previous 388 , to selected 114
- 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 (16 years, 9 months ago) by h
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18338 byte(s)
Diff to previous 347 , to selected 114
interlacing bugfix (inter cbp behaviour)

Revision 347 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 28 13:06:46 2002 UTC (16 years, 11 months ago) by chl
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18314 byte(s)
Diff to previous 338 , to selected 114
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 (16 years, 11 months ago) by chl
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18562 byte(s)
Diff to previous 335 , to selected 114
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 (16 years, 11 months ago) by chl
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18560 byte(s)
Diff to previous 313 , to selected 114
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 (16 years, 11 months ago) by chl
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18410 byte(s)
Diff to previous 252 , to selected 114
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 (16 years, 11 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18250 byte(s)
Diff to previous 248 , to selected 114
resync patch

Revision 248 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 28 15:14:40 2002 UTC (17 years ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 18045 byte(s)
Diff to previous 209 , to selected 114
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 ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17418 byte(s)
Diff to previous 195 , to selected 114
ia64 changes

Revision 195 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 12 20:38:41 2002 UTC (17 years ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17421 byte(s)
Diff to previous 161 , to selected 114
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, 1 month ago) by chenm001
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17527 byte(s)
Diff to previous 153 , to selected 114
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, 1 month ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17526 byte(s)
Diff to previous 152 , to selected 114
removed coeff clamping

Revision 152 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 1 13:00:02 2002 UTC (17 years, 1 month ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17645 byte(s)
Diff to previous 136 , to selected 114
#define BFRAMES

Revision 136 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 25 06:55:00 2002 UTC (17 years, 2 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17645 byte(s)
Diff to previous 133 , to selected 114
FRAMEINFO

Revision 133 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 23 00:05:31 2002 UTC (17 years, 2 months ago) by chenm001
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17654 byte(s)
Diff to previous 118 , to selected 114
add some B-frame support

Revision 118 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 13 16:30:02 2002 UTC (17 years, 2 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 17622 byte(s)
Diff to previous 116 , to selected 114
bframe "support" code

Revision 116 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 11 10:48:03 2002 UTC (17 years, 2 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 11606 byte(s)
Diff to previous 114
AC vlc coding bugfix, thanks to Vivien Chappelier

Revision 114 - (view) (download) (annotate) - [selected]
Modified Wed Apr 10 07:43:25 2002 UTC (17 years, 2 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 11608 byte(s)
Diff to previous 100
decoder speedup

Revision 100 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 4 13:58:18 2002 UTC (17 years, 2 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 13756 byte(s)
Diff to previous 78 , to selected 114
reworked vlc tables

Revision 78 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 28 20:57:25 2002 UTC (17 years, 3 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 15138 byte(s)
Diff to previous 69 , to selected 114
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, 3 months ago) by h
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 15005 byte(s)
Diff to previous 35 , to selected 114
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, 3 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 14368 byte(s)
Diff to previous 28 , to selected 114
removed debug output

Revision 28 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 15 09:20:03 2002 UTC (17 years, 3 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 14446 byte(s)
Diff to previous 17 , to selected 114
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, 3 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 14332 byte(s)
Diff to previous 15 , to selected 114
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, 3 months ago) by edgomez
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 14292 byte(s)
Diff to previous 3 , to selected 114
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, 3 months ago) by Isibaar
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c
File length: 14292 byte(s)
Diff to selected 114
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