diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/libvp6/include/vp50/comp_interface.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/libvp6/include/vp50/comp_interface.h')
-rw-r--r-- | Src/libvp6/include/vp50/comp_interface.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/Src/libvp6/include/vp50/comp_interface.h b/Src/libvp6/include/vp50/comp_interface.h new file mode 100644 index 00000000..c38c3943 --- /dev/null +++ b/Src/libvp6/include/vp50/comp_interface.h @@ -0,0 +1,54 @@ +#if !defined(COMP_INTERFACE_H) +#define COMP_INTERFACE_H +/**************************************************************************** +* +* Module Title : COMP_INTERFACE.H +* +* Description : Interface to video codec demo compressor DLL +* +* AUTHOR : Paul Wilkins +* +***************************************************************************** +* Revision History +* +* 1.04 JBB 26 AUG 00 JBB Added fixed q setting +* 1.03 PGW 07/12/99 Retro fit JBB changes +* 1.02 PGW 16/09/99 Interface changes to simplify things for command line +* compressor. +* 1.01 PGW 07/07/99 Added COMP_CONFIG. +* 1.00 PGW 28/06/99 New configuration baseline +* +***************************************************************************** +*/ + +// C4514 Unreferenced inline function has been removed +#pragma warning(disable: 4514) + +#include "codec_common_interface.h" +#include "type_aliases.h" +#include "vp50_comp_interface.h" + +#ifdef __cplusplus +extern "C" +{ +#endif +typedef struct CP_INSTANCE * xCP_INST; +extern BOOL CCONV StartEncoder( xCP_INST *cpi, COMP_CONFIG_VP5 * CompConfig ); +extern void CCONV ChangeCompressorSetting ( xCP_INST cpi, C_SETTING Setting, int Value ); +extern void CCONV ChangeEncoderConfig ( xCP_INST cpi, COMP_CONFIG_VP5 * CompConfig ); +extern UINT32 CCONV EncodeFrame( xCP_INST cpi, unsigned char * InBmpIPtr, unsigned char * InBmpPtr, unsigned char * OutPutPtr, unsigned int * is_key ); +extern UINT32 CCONV EncodeFrameYuv( xCP_INST cpi, YUV_INPUT_BUFFER_CONFIG * YuvInputData, unsigned char * OutPutPtr, unsigned int * is_key ); +extern BOOL CCONV StopEncoder( xCP_INST *cpi); +extern void VPEInitLibrary(void); +extern void VPEDeInitLibrary(void); +extern const char * CCONV VP50E_GetVersionNumber(void); +extern UINT32 CCONV VPGetState(xCP_INST cpi, void * ret); +extern void CCONV VPSetState(xCP_INST cpi, void * ret); +extern int CCONV VPGetPB(xCP_INST cpi); +#ifdef __cplusplus + +} +#endif + + +#endif
\ No newline at end of file |