[cvs] / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Log of /xvidcore/examples/xvid_encraw.c

Parent Directory Parent Directory


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

Revision 1.11.2.41 - (view) (download) (annotate) - [select for diffs]
Tue Mar 23 09:27:20 2004 UTC (20 years ago) by chl
Branch: dev-api-4
Changes since 1.11.2.40: +2 -2 lines
Diff to previous 1.11.2.40 , to branch point 1.11 , to next main 1.49
PGM header checked for too small bounds.

Revision 1.11.2.40 - (view) (download) (annotate) - [select for diffs]
Wed Dec 17 08:38:06 2003 UTC (20 years, 3 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.39: +4 -3 lines
Diff to previous 1.11.2.39 , to branch point 1.11
XVID_ME_GME_REFINE is of course a MOTION flag, not VOP or VOL.
This time, I got it right, thanks GomGom!

Revision 1.11.2.39 - (view) (download) (annotate) - [select for diffs]
Tue Dec 16 09:24:48 2003 UTC (20 years, 3 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.38: +3 -3 lines
Diff to previous 1.11.2.38 , to branch point 1.11
changed GME_REFINE to VOL-flag, not VOP-flag.

Revision 1.11.2.38 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 22:58:32 2003 UTC (20 years, 3 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.37: +21 -18 lines
Diff to previous 1.11.2.37 , to branch point 1.11
Update to the cmd line options:
 * nframes -> frames
 * -save, now controls ES stream per frame saving
 * -o is now independent from -save

Revision 1.11.2.37 - (view) (download) (annotate) - [select for diffs]
Sun Nov 30 17:11:01 2003 UTC (20 years, 4 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.36: +2 -1 lines
Diff to previous 1.11.2.36 , to branch point 1.11
Added profile (XVID_PROFILE_AS_L4), so VOSH header is written

Revision 1.11.2.36 - (view) (download) (annotate) - [select for diffs]
Mon Oct 27 00:48:29 2003 UTC (20 years, 5 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.35: +10 -3 lines
Diff to previous 1.11.2.35 , to branch point 1.11
Added closed gop option

Revision 1.11.2.35 - (view) (download) (annotate) - [select for diffs]
Sun Aug 10 13:10:09 2003 UTC (20 years, 7 months ago) by Isibaar
Branch: dev-api-4
Changes since 1.11.2.34: +6 -5 lines
Diff to previous 1.11.2.34 , to branch point 1.11
restored and merged my overwritten changes

Revision 1.11.2.34 - (view) (download) (annotate) - [select for diffs]
Sat Aug 9 17:19:20 2003 UTC (20 years, 7 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.33: +22 -14 lines
Diff to previous 1.11.2.33 , to branch point 1.11
Fixes for buffer handling in decraw and more options to encraw

Revision 1.11.2.33 - (view) (download) (annotate) - [select for diffs]
Sat Aug 9 16:46:46 2003 UTC (20 years, 7 months ago) by Isibaar
Branch: dev-api-4
Changes since 1.11.2.32: +11 -1 lines
Diff to previous 1.11.2.32 , to branch point 1.11
quarterpel option

Revision 1.11.2.32 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 17:23:37 2003 UTC (20 years, 7 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.31: +8 -8 lines
Diff to previous 1.11.2.31 , to branch point 1.11
updated flags again...

Revision 1.11.2.31 - (view) (download) (annotate) - [select for diffs]
Mon Aug 4 17:22:36 2003 UTC (20 years, 7 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.30: +9 -9 lines
Diff to previous 1.11.2.30 , to branch point 1.11
updated flags

Revision 1.11.2.30 - (view) (download) (annotate) - [select for diffs]
Sat Aug 2 15:07:59 2003 UTC (20 years, 8 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.29: +6 -5 lines
Diff to previous 1.11.2.29 , to branch point 1.11
API changes

Revision 1.11.2.29 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 17:39:40 2003 UTC (20 years, 8 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.28: +2 -2 lines
Diff to previous 1.11.2.28 , to branch point 1.11
IA64 updates

Revision 1.11.2.28 - (view) (download) (annotate) - [select for diffs]
Wed Jun 25 23:23:21 2003 UTC (20 years, 9 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.27: +71 -3 lines
Diff to previous 1.11.2.27 , to branch point 1.11
Added PNM reading functions (Valuable for testing RGB functions)

Revision 1.11.2.27 - (view) (download) (annotate) - [select for diffs]
Mon Jun 9 13:49:25 2003 UTC (20 years, 9 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.26: +6 -2 lines
Diff to previous 1.11.2.26 , to branch point 1.11
Added legal header

Revision 1.11.2.26 - (view) (download) (annotate) - [select for diffs]
Sun May 18 12:24:55 2003 UTC (20 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.25: +8 -8 lines
Diff to previous 1.11.2.25 , to branch point 1.11
Some cosmethic and added help message for vop_debug

Revision 1.11.2.25 - (view) (download) (annotate) - [select for diffs]
Sat May 17 13:21:26 2003 UTC (20 years, 10 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.24: +29 -9 lines
Diff to previous 1.11.2.24 , to branch point 1.11
* 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.11.2.24 - (view) (download) (annotate) - [select for diffs]
Thu May 15 17:53:11 2003 UTC (20 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.23: +8 -11 lines
Diff to previous 1.11.2.23 , to branch point 1.11
Removed deprecated XVID_VOP_DYNAMIC_BFRAMES flag

Revision 1.11.2.23 - (view) (download) (annotate) - [select for diffs]
Thu May 15 17:21:08 2003 UTC (20 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.22: +7 -4 lines
Diff to previous 1.11.2.22 , to branch point 1.11
Changed default quality, advertised the fact that we can provide various zones on the command line

Revision 1.11.2.22 - (view) (download) (annotate) - [select for diffs]
Wed May 14 11:53:16 2003 UTC (20 years, 10 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.21: +44 -35 lines
Diff to previous 1.11.2.21 , to branch point 1.11
added plugin_single support
added -zq and -zq options for specifiy zones on the command line.

Revision 1.11.2.21 - (view) (download) (annotate) - [select for diffs]
Mon May 12 00:06:49 2003 UTC (20 years, 10 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.20: +68 -33 lines
Diff to previous 1.11.2.20 , to branch point 1.11
Better quality presets

Revision 1.11.2.20 - (view) (download) (annotate) - [select for diffs]
Sun Apr 27 20:36:13 2003 UTC (20 years, 11 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.19: +3 -3 lines
Diff to previous 1.11.2.19 , to branch point 1.11
Small typo error when -stats is not used

Revision 1.11.2.19 - (view) (download) (annotate) - [select for diffs]
Sun Apr 27 19:53:09 2003 UTC (20 years, 11 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.18: +24 -21 lines
Diff to previous 1.11.2.18 , to branch point 1.11
Trellis based R-D optimal quantization (H263, INTER)
----------------------------------------------------------------------

Revision 1.11.2.18 - (view) (download) (annotate) - [select for diffs]
Sat Apr 19 11:26:47 2003 UTC (20 years, 11 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.17: +15 -2 lines
Diff to previous 1.11.2.17 , to branch point 1.11
Calculate average PSNR in -stats mode

Revision 1.11.2.17 - (view) (download) (annotate) - [select for diffs]
Fri Apr 18 20:06:58 2003 UTC (20 years, 11 months ago) by chl
Branch: dev-api-4
Changes since 1.11.2.16: +3 -3 lines
Diff to previous 1.11.2.16 , to branch point 1.11
forced spaces before numbers (easier split into columns)

Revision 1.11.2.16 - (view) (download) (annotate) - [select for diffs]
Mon Apr 14 20:19:00 2003 UTC (20 years, 11 months ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.15: +5 -4 lines
Diff to previous 1.11.2.15 , to branch point 1.11
patch-18 -- Fixes plugin initialization in xvid_encraw.

Revision 1.11.2.15 - (view) (download) (annotate) - [select for diffs]
Tue Apr 8 14:01:35 2003 UTC (20 years, 11 months ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.14: +12 -9 lines
Diff to previous 1.11.2.14 , to branch point 1.11
2pass2 (basic) internal scaler

Revision 1.11.2.14 - (view) (download) (annotate) - [select for diffs]
Wed Mar 26 14:56:09 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.13: +21 -21 lines
Diff to previous 1.11.2.13 , to branch point 1.11
Changed flags naming conventions

Revision 1.11.2.13 - (view) (download) (annotate) - [select for diffs]
Tue Mar 25 22:53:57 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.12: +71 -55 lines
Diff to previous 1.11.2.12 , to branch point 1.11
Plugged the "fixed" quant RC plugin to the -quant option

Revision 1.11.2.12 - (view) (download) (annotate) - [select for diffs]
Tue Mar 25 11:01:48 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.11: +23 -5 lines
Diff to previous 1.11.2.11 , to branch point 1.11
2pass2

Revision 1.11.2.11 - (view) (download) (annotate) - [select for diffs]
Sun Mar 23 04:01:32 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.10: +32 -11 lines
Diff to previous 1.11.2.10 , to branch point 1.11
initial rate control

Revision 1.11.2.10 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 17:59:07 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.9: +2 -2 lines
Diff to previous 1.11.2.9 , to branch point 1.11
Little fix

Revision 1.11.2.9 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 14:14:52 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.8: +381 -370 lines
Diff to previous 1.11.2.8 , to branch point 1.11
A bit of indent with all option detailed in CodingStyle and options reveamping, most of them are in long format now

Revision 1.11.2.8 - (view) (download) (annotate) - [select for diffs]
Sun Mar 16 12:04:13 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.7: +41 -10 lines
Diff to previous 1.11.2.7 , to branch point 1.11
dquant cleanup
xvid_pluing_lumimasking added
xvid_encraw -lumimasking option added

Revision 1.11.2.7 - (view) (download) (annotate) - [select for diffs]
Sat Mar 15 16:41:32 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.6: +13 -8 lines
Diff to previous 1.11.2.6 , to branch point 1.11
plugin/stats returns sse (integer)

Revision 1.11.2.6 - (view) (download) (annotate) - [select for diffs]
Sat Mar 15 14:32:56 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.5: +79 -55 lines
Diff to previous 1.11.2.5 , to branch point 1.11
enc_encode CLOSE_GOP fixed, further cleanup
XVID_REQORIGINAL plugin support
plugin examples: xvid_plugin_psnr, xvid_plugin_dump

Revision 1.11.2.5 - (view) (download) (annotate) - [select for diffs]
Thu Mar 13 11:07:20 2003 UTC (21 years ago) by suxen_drol
Branch: dev-api-4
Changes since 1.11.2.4: +108 -53 lines
Diff to previous 1.11.2.4 , to branch point 1.11
plugin system
xvid_rawenc output cleanup
xvid_rawenc -p option

Revision 1.11.2.4 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 23:39:47 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.3: +4 -4 lines
Diff to previous 1.11.2.3 , to branch point 1.11
2003-03-11 23:37:06 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-9

    Summary:
      Changed xvid_decraw option handling for -d/-m.
    Revision:
      xvidcore--devapi4--1.0--patch-9

    -d and -m options were boolean so option values were not needed.

    modified files:
     examples/xvid_decraw.c


2003-03-11 23:30:16 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-8

    Summary:
      Fixed frame counting in xvid_encraw.
    Revision:
      xvidcore--devapi4--1.0--patch-8

    We were branching before incrementing  the frame counter when core was
    buffering frames.  This was resulting  in wrong frame  counting during
    the buffering phase.

    modified files:
     examples/xvid_encraw.c


2003-03-11 23:07:01 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-7

    Summary:
      Ported xvid_decraw to new API.
    Revision:
      xvidcore--devapi4--1.0--patch-7

    xvid_decraw  has been  ported to  new  API. It  basically works  fine,
    however i'm not completly staisfied. If I do a step by step run then i
    can see  that second frame  is reported as  a VOL decoding  though the
    first IFrame has been consumed. This makes xvid_decraw does not report
    correctly frames' length.

    Except  that, xvid_decraw  works well  enough  to activate  it in  the
    makefile.

    modified files:
     examples/Makefile examples/xvid_decraw.c

Revision 1.11.2.3 - (view) (download) (annotate) - [select for diffs]
Tue Mar 11 01:08:10 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.2: +21 -12 lines
Diff to previous 1.11.2.2 , to branch point 1.11
2003-03-11 00:36:34 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-5

    Summary:
      PSNR is now an option. More consistent -m/-s option handling.
    Revision:
      xvidcore--devapi4--1.0--patch-5

    I turned PSNR stats into an option (-s). I fixed the handling of the
    -m option that required only a bool.

    I could say in french "ma stupidité dans toute sa grandeur".

    -m presence is enough to significate "save _m_peg stream", we don't
    need the boolean value.

    modified files:
     examples/xvid_encraw.c

Revision 1.11.2.2 - (view) (download) (annotate) - [select for diffs]
Sun Mar 9 16:45:24 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11.2.1: +61 -37 lines
Diff to previous 1.11.2.1 , to branch point 1.11
2003-03-09 16:42:27 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-3

    Summary:
      Adds extended stats support.
    Revision:
      xvidcore--devapi4--1.0--patch-3

    This patch enables core extended stats support. It seems that xvidcore
    does not compute sse for BFrames, I have tried to adds this by an ugly
    hack  but  it did  not  work  as expected,  i  suppose  core does  not
    decompress bframes as they are  not used as reference frames (unlike P
    and I frames).

    If we  succeed in enabling sse  calculation in core  for bframes, then
    xvid_stat will  not be needed anymore.  This will save  lot of trouble
    with frame matching in PSNR computation when bframes are enabled.

    modified files:
     examples/xvid_encraw.c

Revision 1.11.2.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 9 00:28:09 2003 UTC (21 years ago) by edgomez
Branch: dev-api-4
Changes since 1.11: +161 -195 lines
Diff to previous 1.11
2003-03-09 00:23:52 GMT	Edouard Gomez <ed.gomez@free.fr>	patch-2

    Summary:
      Updated xvid_encraw for new API.
    Revision:
      xvidcore--devapi4--1.0--patch-2

    This patch updates the xvid_encraw example to support the
    new API. As it's the first patch for API 4 support, I
    disabled all other examples.

    BUG: first frame type is Unknown, I suppose I'm missing
         a subtility of the new API.

    modified files:
     examples/Makefile examples/xvid_encraw.c src/encoder.c

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Feb 16 05:11:39 2003 UTC (21 years, 1 month ago) by suxen_drol
Branch: MAIN
Branch point for: dev-api-4
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
futher portab.h, ARCH_IS_xxx fixes

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Feb 15 15:22:17 2003 UTC (21 years, 1 month ago) by edgomez
Branch: MAIN
CVS Tags: merged-dev-api-3
Changes since 1.9: +53 -54 lines
Diff to previous 1.9
Moved dev-api-3 to HEAD -- Nasty but efficient -- Merging work has been done too

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Feb 11 21:56:31 2003 UTC (21 years, 1 month 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.8: +2 -2 lines
Diff to previous 1.8
patch-13
    More "unknown compiler" friendly portab.h file.
patch-14
    The PPC port is now disabled because it is outdated.
patch-15
    Added the configure bootstrap script.
patch-16
    Changed linking option on PPC platforms (-flat_namespace)
patch-17
    Added IA64 DCT source choice according to the compiler basename.
patch-18
    Fixed xvid_encraw help message.
patch-19
    Fixed libxvidcore.def, revamped Makefile output, fixed ia64 build, added ranlib detection.
patch-20
    Removed BFrame outdated bframe/qpel decoding.

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Feb 9 19:32:52 2003 UTC (21 years, 1 month ago) by edgomez
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7
I made all these changes on my own working copy until i had
something really usable wihtout regressions for most users.

I think its place is now in CVS. Here is a ChangeLog summary
generated from my local patches.

base-0
    Imported xvidcore 0.9.0 into arch repository
patch-1
    Updated to current stable CVS_HEAD
patch-2
    Changed build system for Unix OSes
patch-3
    Fixes for the new build system in sources.
patch-4
    Fixed options and added the --disable-assembly option
patch-5
    Fixed a BSD checking in nasm output format.
patch-6
    Fixed the "ar" "s" option for some platforms.
patch-7
    Changed the way I add strings into variables.
patch-8
    Fixed portab.h for _DEBUG target and GCC/ICC compilers.
patch-9
    Added Altivec detection (Guillaume Morin)
patch-10
    Fixed MacOSX build.
patch-11
    Fixed WIN32/_MSC_VER confusion and updated MSVC libxvidcore.dsp project file.
patch-12
    DivX4 compatibility layer has been turned into an option (default:disable).

ToDo:
    - Fix IA64 assembly file selection.
    - Do I disable PPC assembly code ? (according to Guillaume, it needs to be updated)

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Dec 26 14:36:06 2002 UTC (21 years, 3 months ago) by edgomez
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
Program's name fix in a printf

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Dec 18 20:48:25 2002 UTC (21 years, 3 months ago) by edgomez
Branch: MAIN
Changes since 1.5: +102 -8 lines
Diff to previous 1.5
Added Hinted ME code to show how to use it

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Nov 27 21:09:10 2002 UTC (21 years, 4 months ago) by edgomez
Branch: MAIN
Changes since 1.4: +21 -21 lines
Diff to previous 1.4
Ansi C + Win32 update for xvid_bench

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Sep 28 16:01:15 2002 UTC (21 years, 6 months ago) by edgomez
Branch: MAIN
CVS Tags: release-0_9_0
Changes since 1.3: +2 -1 lines
Diff to previous 1.3
- Added string.h so gcc does not complain about an undeclared strcmp function.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Sep 28 14:53:40 2002 UTC (21 years, 6 months ago) by edgomez
Branch: MAIN
Changes since 1.2: +8 -9 lines
Diff to previous 1.2
Last small fixes

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Sep 28 14:26:53 2002 UTC (21 years, 6 months ago) by edgomez
Branch: MAIN
Changes since 1.1: +536 -433 lines
Diff to previous 1.1
Updated - MSVC compatibility - MP4U support - Single m4v file support

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sat Aug 17 20:03:36 2002 UTC (21 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: branch-release-1-0, tag-branching-20020904
Branch point for: dev-api-3
initial commit.
raw test application for XviD native API, including support for B-Frames.

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