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

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

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Links to dev-api-4: (view) (download) (annotate)
Sticky Tag:

Revision 1.44.2.18 - (view) (download) (annotate) - [select for diffs]
Sun Dec 14 03:32:01 2003 UTC (18 years, 1 month ago) by syskin
Branch: dev-api-4
Changes since 1.44.2.17: +4 -1 lines
Diff to previous 1.44.2.17 , to branch point 1.44 , to next main 1.60
texture bits count for b-vops

Revision 1.44.2.17 - (view) (download) (annotate) - [select for diffs]
Fri Oct 3 16:57:55 2003 UTC (18 years, 3 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.16: +47 -209 lines
Diff to previous 1.44.2.16 , to branch point 1.44
Removed BIGLUT support and fixes to sysKin last commit

Revision 1.44.2.16 - (view) (download) (annotate) - [select for diffs]
Fri Oct 3 14:01:59 2003 UTC (18 years, 3 months ago) by syskin
Branch: dev-api-4
Changes since 1.44.2.15: +5 -5 lines
Diff to previous 1.44.2.15 , to branch point 1.44
gmc+interlacing fixed: no field_me flag in mcsel-ed MBs

Revision 1.44.2.15 - (view) (download) (annotate) - [select for diffs]
Fri Oct 3 13:47:00 2003 UTC (18 years, 3 months ago) by syskin
Branch: dev-api-4
Changes since 1.44.2.14: +28 -14 lines
Diff to previous 1.44.2.14 , to branch point 1.44
interlacing support for bvops

Revision 1.44.2.14 - (view) (download) (annotate) - [select for diffs]
Wed Oct 1 23:23:01 2003 UTC (18 years, 3 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.13: +12 -12 lines
Diff to previous 1.44.2.13 , to branch point 1.44
removed trailing spaces

Revision 1.44.2.13 - (view) (download) (annotate) - [select for diffs]
Wed Aug 6 20:25:04 2003 UTC (18 years, 5 months ago) by chl
Branch: dev-api-4
Changes since 1.44.2.12: +2 -2 lines
Diff to previous 1.44.2.12 , to branch point 1.44
VLC bugfix for GMC sprite_trajectory_len==9

Revision 1.44.2.12 - (view) (download) (annotate) - [select for diffs]
Mon Jun 9 13:52:12 2003 UTC (18 years, 7 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.11: +24 -50 lines
Diff to previous 1.44.2.11 , to branch point 1.44
Added legal header

Revision 1.44.2.11 - (view) (download) (annotate) - [select for diffs]
Mon Jun 9 01:17:20 2003 UTC (18 years, 7 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.10: +44 -37 lines
Diff to previous 1.44.2.10 , to branch point 1.44
ISO C89 comment style

Revision 1.44.2.10 - (view) (download) (annotate) - [select for diffs]
Thu May 22 16:35:38 2003 UTC (18 years, 8 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.9: +9 -9 lines
Diff to previous 1.44.2.9 , to branch point 1.44
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 1.44.2.9 - (view) (download) (annotate) - [select for diffs]
Sat May 17 13:33:01 2003 UTC (18 years, 8 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.44.2.8: +11 -11 lines
Diff to previous 1.44.2.8 , to branch point 1.44
* 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 1.44.2.8 - (view) (download) (annotate) - [select for diffs]
Fri May 9 22:02:23 2003 UTC (18 years, 8 months ago) by chl
Branch: dev-api-4
Changes since 1.44.2.7: +0 -281 lines
Diff to previous 1.44.2.7 , to branch point 1.44
New Trellis Quant by Skal, moved from mbcoding to mbtransquant

Revision 1.44.2.7 - (view) (download) (annotate) - [select for diffs]
Sat May 3 19:11:58 2003 UTC (18 years, 8 months ago) by chl
Branch: dev-api-4
Changes since 1.44.2.6: +0 -17 lines
Diff to previous 1.44.2.6 , to branch point 1.44
Trellis: Removed double calculation of "last" => +0.02dB

Revision 1.44.2.6 - (view) (download) (annotate) - [select for diffs]
Sun Apr 27 19:45:52 2003 UTC (18 years, 9 months ago) by chl
Branch: dev-api-4
Changes since 1.44.2.5: +301 -0 lines
Diff to previous 1.44.2.5 , to branch point 1.44
Trellis based R-D optimal quantization (H263, INTER)

Revision 1.44.2.5 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 13:05:54 2003 UTC (18 years, 9 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.4: +5 -5 lines
Diff to previous 1.44.2.4 , to branch point 1.44
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 1.44.2.4 - (view) (download) (annotate) - [select for diffs]
Sat Mar 29 01:29:53 2003 UTC (18 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.3: +3 -3 lines
Diff to previous 1.44.2.3 , to branch point 1.44
Fixed a namespace conflict with libavcodec which caused dev-api-4 mencoder module to fail

Revision 1.44.2.3 - (view) (download) (annotate) - [select for diffs]
Wed Mar 26 14:56:49 2003 UTC (18 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.44.2.2: +4 -4 lines
Diff to previous 1.44.2.2 , to branch point 1.44
Changed flags naming conventions

Revision 1.44.2.2 - (view) (download) (annotate) - [select for diffs]
Sun Mar 16 12:04:14 2003 UTC (18 years, 10 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.44.2.1: +9 -2 lines
Diff to previous 1.44.2.1 , to branch point 1.44
dquant cleanup
xvid_pluing_lumimasking added
xvid_encraw -lumimasking option added

Revision 1.44.2.1 - (view) (download) (annotate) - [select for diffs]
Sat Feb 22 08:49:45 2003 UTC (18 years, 11 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.44: +4 -4 lines
Diff to previous 1.44
++api v1.-127.0

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri Feb 21 08:32:34 2003 UTC (18 years, 11 months ago) by suxen_drol
Branch: MAIN
Branch point for: dev-api-4
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
msvc warning fixup

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sun Feb 16 13:04:05 2003 UTC (18 years, 11 months ago) by edgomez
Branch: MAIN
Changes since 1.42: +791 -0 lines
Diff to previous 1.42
Table duplication fix (Moved tables to a C module - kept declarations in header)

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Feb 15 15:22:18 2003 UTC (18 years, 11 months ago) by edgomez
Branch: MAIN
CVS Tags: merged-dev-api-3
Changes since 1.41: +447 -150 lines
Diff to previous 1.41
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Feb 13 17:31:33 2003 UTC (18 years, 11 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.40: +6 -2 lines
Diff to previous 1.40
Ready for 0.9.1

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Feb 6 00:48:08 2003 UTC (18 years, 11 months ago) by edgomez
Branch: MAIN
Changes since 1.39: +6 -10 lines
Diff to previous 1.39
Fixed a bug where run_esc==-1 was indexing an array -> segfault (spoted on a strong arm CPU ;-)

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Jan 26 01:44:07 2003 UTC (19 years ago) by suxen_drol
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
ptr_t fix (s_kraste at ira.uka.de)

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Tue Jan 7 21:57:19 2003 UTC (19 years ago) by edgomez
Branch: MAIN
Changes since 1.37: +65 -72 lines
Diff to previous 1.37
Fixes from MfA

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Jan 5 16:54:36 2003 UTC (19 years ago) by edgomez
Branch: MAIN
Changes since 1.36: +314 -153 lines
Diff to previous 1.36
Much lighter VLC implementation (saves >6MB)

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sat Jan 4 04:28:48 2003 UTC (19 years ago) by suxen_drol
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35
coeff level [-2047,2047]

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Thu Dec 19 22:58:58 2002 UTC (19 years, 1 month ago) by edgomez
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34
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 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Nov 26 23:44:10 2002 UTC (19 years, 2 months ago) by edgomez
Branch: MAIN
Changes since 1.33: +35 -35 lines
Diff to previous 1.33
ANSI C compliancy - thx Rick Foos

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sun Nov 17 00:57:57 2002 UTC (19 years, 2 months ago) by edgomez
Branch: MAIN
CVS Tags: release-0_9_0
Changes since 1.32: +33 -12 lines
Diff to previous 1.32
License changed

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Sep 22 17:01:36 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.31: +8 -9 lines
Diff to previous 1.31
Removed DEBUGXXXs calls

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Sep 21 02:26:12 2002 UTC (19 years, 4 months ago) by suxen_drol
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30
msvc6 static vlc tables fix

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Sep 10 22:52:12 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.29: +1 -139 lines
Diff to previous 1.29
Added headers, removed unused code

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Sep 10 21:29:03 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
- Respect const qualifier changes in vlc_codes.h

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 15:40:02 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27
- Little mistake in previous commit fixed, all bframe functions have been disabled

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 15:39:01 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.26: +123 -14 lines
Diff to previous 1.26
- 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 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 14:43:04 2002 UTC (19 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.25: +52 -57 lines
Diff to previous 1.25
- Changed header
- Added static qualifier to local arrays
- Cosmetic

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Sep 4 03:23:28 2002 UTC (19 years, 4 months ago) by h
Branch: MAIN
CVS Tags: tag-branching-20020904
Branch point for: dev-api-3
Changes since 1.24: +4 -2 lines
Diff to previous 1.24
interlacing bugfix (inter cbp behaviour)

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Jul 28 13:06:46 2002 UTC (19 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.23: +9 -12 lines
Diff to previous 1.23
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 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Jul 24 23:07:45 2002 UTC (19 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22
New fields deltamv, directmv[4] in Macroblock for more logical B-frame ME

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Jul 24 19:34:14 2002 UTC (19 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.21: +8 -3 lines
Diff to previous 1.21
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 1.21 - (view) (download) (annotate) - [select for diffs]
Thu Jul 18 23:52:40 2002 UTC (19 years, 6 months ago) by chl
Branch: MAIN
Changes since 1.20: +5 -4 lines
Diff to previous 1.20
Fixed for Bframes encoding and maybe decoding, too.

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Jun 30 10:46:29 2002 UTC (19 years, 7 months ago) by suxen_drol
Branch: MAIN
Changes since 1.19: +8 -9 lines
Diff to previous 1.19
resync patch

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Jun 28 15:14:40 2002 UTC (19 years, 7 months ago) by suxen_drol
Branch: MAIN
Changes since 1.18: +38 -6 lines
Diff to previous 1.18
resync support, check_cpu_features() fixed

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Jun 14 13:24:58 2002 UTC (19 years, 7 months ago) by Isibaar
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
ia64 changes

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jun 12 20:38:40 2002 UTC (19 years, 7 months ago) by edgomez
Branch: MAIN
Changes since 1.16: +268 -261 lines
Diff to previous 1.16
Cosmetic - CodingStyle Applied - Legal Headers will be added later

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon May 6 03:51:43 2002 UTC (19 years, 8 months ago) by chenm001
Branch: MAIN
Changes since 1.15: +1 -0 lines
Diff to previous 1.15
fix some my B-frame decode error

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu May 2 00:36:50 2002 UTC (19 years, 9 months ago) by Isibaar
Branch: MAIN
Changes since 1.14: +13 -22 lines
Diff to previous 1.14
removed coeff clamping

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed May 1 13:00:02 2002 UTC (19 years, 9 months ago) by suxen_drol
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13
#define BFRAMES

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Thu Apr 25 06:55:00 2002 UTC (19 years, 9 months ago) by suxen_drol
Branch: MAIN
Changes since 1.12: +14 -14 lines
Diff to previous 1.12
FRAMEINFO

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Tue Apr 23 00:05:31 2002 UTC (19 years, 9 months ago) by chenm001
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11
add some B-frame support

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Apr 13 16:30:01 2002 UTC (19 years, 9 months ago) by suxen_drol
Branch: MAIN
Changes since 1.10: +188 -0 lines
Diff to previous 1.10
bframe "support" code

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Apr 11 10:48:03 2002 UTC (19 years, 9 months ago) by Isibaar
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9
AC vlc coding bugfix, thanks to Vivien Chappelier

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Apr 10 07:43:25 2002 UTC (19 years, 9 months ago) by Isibaar
Branch: MAIN
Changes since 1.8: +4 -100 lines
Diff to previous 1.8
decoder speedup

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Apr 4 13:58:18 2002 UTC (19 years, 9 months ago) by Isibaar
Branch: MAIN
CVS Tags: xvidcore
Changes since 1.7: +62 -104 lines
Diff to previous 1.7
reworked vlc tables

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Mar 28 20:57:24 2002 UTC (19 years, 10 months ago) by edgomez
Branch: MAIN
Changes since 1.6: +95 -38 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.6 - (view) (download) (annotate) - [select for diffs]
Tue Mar 26 11:16:08 2002 UTC (19 years, 10 months ago) by h
Branch: MAIN
Changes since 1.5: +27 -0 lines
Diff to previous 1.5
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Mar 16 15:52:34 2002 UTC (19 years, 10 months ago) by Isibaar
Branch: MAIN
Changes since 1.4: +3 -5 lines
Diff to previous 1.4
removed debug output

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri Mar 15 09:20:03 2002 UTC (19 years, 10 months ago) by Isibaar
Branch: MAIN
Changes since 1.3: +15 -12 lines
Diff to previous 1.3
INTRA_Q/INTER_Q mcbpc bugfix

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Mar 9 15:57:02 2002 UTC (19 years, 10 months ago) by edgomez
Branch: MAIN
Changes since 1.2: +2 -0 lines
Diff to previous 1.2
Fixed implicit declaration of malloc - #include <stdlib.h>

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Mar 9 15:29:26 2002 UTC (19 years, 10 months ago) by edgomez
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Fixed  gcc warning about '/*' into comments

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Mar 8 02:44:35 2002 UTC (19 years, 10 months ago) by Isibaar
Branch: MAIN
Branch point for: core
Initial revision

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.

  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