forked from videolan/vlc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The motion compensation routines are now modules as well ; choose your
implementation with `--motion motion', `--motion motionmmx' or `--motion motionmmxext'. Of course, the best implementation is chosen if you don't ask for any. There doesn't seem to be any performance hit due to the move to shared libs, which is a good thing. Please test actively if you have time, though. Updated --help result, manpage, INSTALL document, and a few files. I moved vdec_motion.h and vpar_blocks.h back to /include because they will be needed to build motion compensation modules, but perhaps we don't need to export everything which is in these files. /src/video_decoder/ now has only one .c file, perhaps it could now be merged with video_parser ?
- Loading branch information
Sam Hocevar
committed
Jan 18, 2001
1 parent
cf0b7cf
commit 647cca0
Showing
33 changed files
with
700 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Collection of useful common types and macros definitions | ||
***************************************************************************** | ||
* Copyright (C) 1998, 1999, 2000 VideoLAN | ||
* $Id: common.h,v 1.24 2001/01/13 12:57:19 sam Exp $ | ||
* $Id: common.h,v 1.25 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Samuel Hocevar <[email protected]> | ||
* Vincent Seguin <[email protected]> | ||
|
@@ -128,6 +128,9 @@ typedef struct vdec_thread_s * p_vdec_thread_t; | |
typedef struct vpar_thread_s * p_vpar_thread_t; | ||
typedef struct video_parser_s * p_video_parser_t; | ||
|
||
/* Misc */ | ||
struct macroblock_s; | ||
|
||
/***************************************************************************** | ||
* Macros and inline functions | ||
*****************************************************************************/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* vdec_motion.h : types for the motion compensation algorithm | ||
***************************************************************************** | ||
* Copyright (C) 1999, 2000 VideoLAN | ||
* $Id: vdec_motion.h,v 1.1 2000/12/21 17:19:52 massiot Exp $ | ||
* $Id: vdec_motion.h,v 1.14 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Christophe Massiot <[email protected]> | ||
* Jean-Marc Dressler <[email protected]> | ||
|
@@ -40,24 +40,3 @@ struct motion_arg_s; | |
|
||
typedef void (*f_motion_t)( struct macroblock_s* ); | ||
|
||
/***************************************************************************** | ||
* Prototypes | ||
*****************************************************************************/ | ||
void vdec_MotionFieldField420( struct macroblock_s * p_mb ); | ||
void vdec_MotionField16x8420( struct macroblock_s * p_mb ); | ||
void vdec_MotionFieldDMV420( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameFrame420( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameField420( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameDMV420( struct macroblock_s * p_mb ); | ||
void vdec_MotionFieldField422( struct macroblock_s * p_mb ); | ||
void vdec_MotionField16x8422( struct macroblock_s * p_mb ); | ||
void vdec_MotionFieldDMV422( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameFrame422( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameField422( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameDMV422( struct macroblock_s * p_mb ); | ||
void vdec_MotionFieldField444( struct macroblock_s * p_mb ); | ||
void vdec_MotionField16x8444( struct macroblock_s * p_mb ); | ||
void vdec_MotionFieldDMV444( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameFrame444( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameField444( struct macroblock_s * p_mb ); | ||
void vdec_MotionFrameDMV444( struct macroblock_s * p_mb ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* vpar_blocks.h : video parser blocks management | ||
***************************************************************************** | ||
* Copyright (C) 1999, 2000 VideoLAN | ||
* $Id: vpar_blocks.h,v 1.2 2001/01/17 18:17:30 massiot Exp $ | ||
* $Id: vpar_blocks.h,v 1.32 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Christophe Massiot <[email protected]> | ||
* Jean-Marc Dressler <[email protected]> | ||
|
@@ -52,7 +52,8 @@ typedef struct macroblock_s | |
|
||
/* IDCT information */ | ||
dctelem_t ppi_blocks[12][64]; /* blocks */ | ||
f_idct_t pf_idct[12]; /* sparse IDCT or not ? */ | ||
void ( * pf_idct[12] ) ( struct vdec_thread_s *, | ||
dctelem_t*, int ); /* sparse IDCT or not ? */ | ||
int pi_sparse_pos[12]; /* position of the | ||
* non-NULL coeff */ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* idct.c : IDCT module | ||
***************************************************************************** | ||
* Copyright (C) 1999, 2000 VideoLAN | ||
* $Id: idct.c,v 1.5 2001/01/17 18:17:30 massiot Exp $ | ||
* $Id: idct.c,v 1.6 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Gaël Hendryckx <[email protected]> | ||
* | ||
|
@@ -73,7 +73,7 @@ MODULE_CONFIG_END | |
int InitModule( module_t * p_module ) | ||
{ | ||
p_module->psz_name = MODULE_STRING; | ||
p_module->psz_longname = "C IDCT module"; | ||
p_module->psz_longname = "IDCT module"; | ||
p_module->psz_version = VERSION; | ||
|
||
p_module->i_capabilities = MODULE_CAPABILITY_NULL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* idctclassic.c : Classic IDCT module | ||
***************************************************************************** | ||
* Copyright (C) 1999, 2000 VideoLAN | ||
* $Id: idctclassic.c,v 1.5 2001/01/17 18:17:30 massiot Exp $ | ||
* $Id: idctclassic.c,v 1.6 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Gaël Hendryckx <[email protected]> | ||
* | ||
|
@@ -73,7 +73,7 @@ MODULE_CONFIG_END | |
int InitModule( module_t * p_module ) | ||
{ | ||
p_module->psz_name = MODULE_STRING; | ||
p_module->psz_longname = "classic C IDCT module"; | ||
p_module->psz_longname = "classic IDCT module"; | ||
p_module->psz_version = VERSION; | ||
|
||
p_module->i_capabilities = MODULE_CAPABILITY_NULL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* idctmmx.c : MMX IDCT module | ||
***************************************************************************** | ||
* Copyright (C) 1999, 2000 VideoLAN | ||
* $Id: idctmmx.c,v 1.6 2001/01/17 18:17:30 massiot Exp $ | ||
* $Id: idctmmx.c,v 1.7 2001/01/18 05:13:22 sam Exp $ | ||
* | ||
* Authors: Aaron Holtzman <[email protected]> | ||
* Michel Lespinasse <[email protected]> | ||
|
@@ -153,7 +153,7 @@ static int idct_Probe( probedata_t *p_data ) | |
} | ||
else | ||
{ | ||
return( 100 ); | ||
return( 150 ); | ||
} | ||
} | ||
else | ||
|
Oops, something went wrong.