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

Log of /branches/dev-api-4/xvidcore/src/utils/mbtransquant.c

Parent Directory Parent Directory


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

Revision 1232 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 1 10:46:40 2003 UTC (15 years, 3 months ago) by syskin
File length: 41629 byte(s)
Diff to previous 1230
interlacing fix

Revision 1230 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 30 16:13:16 2003 UTC (15 years, 3 months ago) by edgomez
File length: 41630 byte(s)
Diff to previous 1224
* Thread safe MPEG4 quantization functions.
  Cleaned up version of patch provided by Michael
   - fixed compiling problems on gcc
   - added const qualifiers every where it was possible to help C compiler
     optimization.
   - added the mpeg_quant_matrices param to all ASM function prototype
     in comments (even if it's not used, that shows we do it deliberatly)
   - forces m[intra][0][0] = 8, otherwise XviD could write invalid streams.
* Added real CRC computing in xvid_bench.c

Revision 1224 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 24 22:06:19 2003 UTC (15 years, 4 months ago) by edgomez
File length: 41015 byte(s)
Diff to previous 1223
Trellis was treating big levels exactly the same way as lower ones.
In some cases, trellis was doing wild optimizations favoring a 0
because the distortion introduced by that big coeff change was
acceptable. But visually this could result in some nasty blocks with wrong
chroma information or similar brutal changes in other planes as well.

Skal added big levels handling where trellis just tries to minimize
the cost varying the run value only. No level modification is done
anymore.

Revision 1223 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 23 17:01:08 2003 UTC (15 years, 4 months ago) by edgomez
File length: 40591 byte(s)
Diff to previous 1174
* Added trellis support for MPEg quantization type.
* Changed RD fixed point precision, should help avoiding overflow
  (see the constant TL_SHIFT)

NB: we still have some problems when trellis optimizes DC for big DC
    values.

Revision 1174 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 7 13:02:35 2003 UTC (15 years, 5 months ago) by edgomez
File length: 40211 byte(s)
Diff to previous 1161
Quantization namespace and API changes

Revision 1161 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 1 23:23:01 2003 UTC (15 years, 5 months ago) by edgomez
File length: 40664 byte(s)
Diff to previous 1139
removed trailing spaces

Revision 1139 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 10 00:54:27 2003 UTC (15 years, 6 months ago) by edgomez
File length: 40728 byte(s)
Diff to previous 1095
Cleanups and fix to (trellis+thresholding) logic

Revision 1095 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 24 13:09:27 2003 UTC (15 years, 8 months ago) by Isibaar
File length: 39842 byte(s)
Diff to previous 1054
cartoon mode

Revision 1054 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 13:55:56 2003 UTC (15 years, 9 months ago) by edgomez
File length: 39661 byte(s)
Diff to previous 1053
Added legal header

Revision 1053 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 01:25:19 2003 UTC (15 years, 9 months ago) by edgomez
File length: 39661 byte(s)
Diff to previous 1014
ISO C89 comment style

Revision 1014 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 12 12:33:16 2003 UTC (15 years, 10 months ago) by suxen_drol
File length: 39861 byte(s)
Diff to previous 1012
zones, profiles, vfw changes

Revision 1012 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 11 13:26:14 2003 UTC (15 years, 10 months ago) by chl
File length: 39850 byte(s)
Diff to previous 1011
Trellisquant cleanup

Revision 1011 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 9 22:03:13 2003 UTC (15 years, 10 months ago) by chl
File length: 33658 byte(s)
Diff to previous 995
New Trellis Quant by Skal, moved from mbcoding to mbtransquant

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

Revision 984 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 13 16:18:09 2003 UTC (15 years, 11 months ago) by syskin
File length: 15430 byte(s)
Diff to previous 982
'const' cleanups to remove compiler warnings

Revision 982 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 10 13:05:54 2003 UTC (15 years, 11 months ago) by edgomez
File length: 15289 byte(s)
Diff to previous 965
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 965 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 30 13:16:42 2003 UTC (15 years, 11 months ago) by edgomez
File length: 15269 byte(s)
Diff to previous 949
New code, much more clean/modular

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

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

Revision 920 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 15 14:32:56 2003 UTC (16 years ago) by suxen_drol
File length: 22304 byte(s)
Diff to previous 914
enc_encode CLOSE_GOP fixed, further cleanup
XVID_REQORIGINAL plugin support
plugin examples: xvid_plugin_psnr, xvid_plugin_dump

Revision 914 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 10 00:38:49 2003 UTC (16 years ago) by edgomez
File length: 22297 byte(s)
Diff to previous 890
2003-03-10 00:36:15 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-4

    Summary:
      Adds extended stats support even for bframes in xvidcore.
    Revision:
      xvidcore--devapi4--1.0--patch-4

    This patch enables core extended stats support even for bframes. It
    modifies the way the MBTransQuantBVOP function does its work. It used
    to not dequant, idct the MB because bframes are never used as reference
    frames. However if we want to compute stats, then we must perform these
    inverse transformations.

    modified files:
     src/encoder.c src/utils/mbfunctions.h src/utils/mbtransquant.c

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

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

Revision 851 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 15 15:22:19 2003 UTC (16 years, 1 month ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 21872 byte(s)
Diff to previous 677
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too

Revision 677 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 26 23:44:11 2002 UTC (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 18288 byte(s)
Diff to previous 654
ANSI C compliancy - thx Rick Foos

Revision 654 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 17 00:51:11 2002 UTC (16 years, 4 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 18261 byte(s)
Diff to previous 605
License changed

Revision 605 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 19 12:20:33 2002 UTC (16 years, 5 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17231 byte(s)
Diff to previous 599
Fixed copyrights

Revision 599 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 16 20:58:22 2002 UTC (16 years, 5 months ago) by h
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17094 byte(s)
Diff to previous 587
fixed stupid-programmer interlacing bug
fields could have been incorrectly handled due to missing bias test

Revision 587 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 9 22:51:42 2002 UTC (16 years, 5 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17092 byte(s)
Diff to previous 584
- Removed a stupid ')' squatting the previous gruel's patch :-) (did you ever check the code compiled ?)

Revision 584 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 7 08:11:48 2002 UTC (16 years, 5 months ago) by chl
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17088 byte(s)
Diff to previous 544
Bugfix for parameters of MBQuantIntra()  [unused code]

Revision 544 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 26 04:52:16 2002 UTC (16 years, 6 months ago) by h
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17083 byte(s)
Diff to previous 499
field-dct decision bias (thanks to Michael Niedermayer for the idea!)

Revision 499 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 21 03:11:36 2002 UTC (16 years, 6 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17084 byte(s)
Diff to previous 427
pross email address updates

Revision 427 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 5 21:44:11 2002 UTC (16 years, 6 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 17087 byte(s)
Diff to previous 390
- Changed header
- Removed history from file

Revision 390 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 4 06:24:37 2002 UTC (16 years, 6 months ago) by h
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 19377 byte(s)
Diff to previous 384
interlacing bug fix - to comply with spec, no field blocks at boundary

Revision 384 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 19 19:19:40 2002 UTC (16 years, 7 months ago) by chl
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 19195 byte(s)
Diff to previous 375
x_pos, y_pos are not needed in MBTransQuantInterBVOP()

Revision 375 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 17 16:22:58 2002 UTC (16 years, 7 months ago) by Isibaar
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 19251 byte(s)
Diff to previous 368
updated coeff thresholding to Radek's decision criteria

Revision 368 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 9 19:58:42 2002 UTC (16 years, 7 months ago) by chl
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 19154 byte(s)
Diff to previous 195
Added several MB-functions which do the same as MBTransQuantInter/Intra now,
but split into several routines. MBTransQuantInter2/Intra2 do the same as
-Inter/Intra but using the split up routines, MBTransQuantBVOP skips unneeded
decoding operations for B-VOPs.

Revision 195 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 12 20:38:41 2002 UTC (16 years, 9 months ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 11816 byte(s)
Diff to previous 136
Cosmetic - CodingStyle Applied - Legal Headers will be added later

Revision 136 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 25 06:55:00 2002 UTC (16 years, 11 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 11801 byte(s)
Diff to previous 118
FRAMEINFO

Revision 118 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 13 16:30:02 2002 UTC (16 years, 11 months ago) by suxen_drol
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 11738 byte(s)
Diff to previous 82
bframe "support" code

Revision 82 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 29 00:38:29 2002 UTC (17 years ago) by h
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 11772 byte(s)
Diff to previous 78
interlacing speedup - transfer strides used instead of manual field-to-frame conversion

Revision 78 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 28 20:57:25 2002 UTC (17 years ago) by edgomez
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 13014 byte(s)
Diff to previous 69
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 ago) by h
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 12582 byte(s)
Diff to previous 3
interlacing support - slow (MBDecideFieldDCT()), buggy (p-frames), incomplete (field motion prediction)

Revision 3 - (view) (download) (annotate) - [select for diffs]
Added Fri Mar 8 02:46:11 2002 UTC (17 years ago) by Isibaar
Original Path: trunk/xvidcore/src/utils/mbtransquant.c
File length: 8427 byte(s)
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