@ -41,6 +41,8 @@
# include "version.h"
# endif
typedef struct SwsContext SwsContext ;
/**
* @ defgroup libsws libswscale
* Color conversion and scaling library .
@ -61,6 +63,21 @@ const char *swscale_configuration(void);
*/
const char * swscale_license ( void ) ;
/**
* Get the AVClass for swsContext . It can be used in combination with
* AV_OPT_SEARCH_FAKE_OBJ for examining options .
*
* @ see av_opt_find ( ) .
*/
const AVClass * sws_get_class ( void ) ;
/**
* Allocate an empty SwsContext . This must be filled and passed to
* sws_init_context ( ) . For filling see AVOptions , options . c and
* sws_setColorspaceDetails ( ) .
*/
SwsContext * sws_alloc_context ( void ) ;
/* values for the flags, the stuff on the command line is different */
# define SWS_FAST_BILINEAR 1
# define SWS_BILINEAR 2
@ -150,8 +167,6 @@ typedef struct SwsFilter {
SwsVector * chrV ;
} SwsFilter ;
typedef struct SwsContext SwsContext ;
/**
* Return a positive value if pix_fmt is a supported input format , 0
* otherwise .
@ -171,13 +186,6 @@ int sws_isSupportedOutput(enum AVPixelFormat pix_fmt);
*/
int sws_isSupportedEndiannessConversion ( enum AVPixelFormat pix_fmt ) ;
/**
* Allocate an empty SwsContext . This must be filled and passed to
* sws_init_context ( ) . For filling see AVOptions , options . c and
* sws_setColorspaceDetails ( ) .
*/
SwsContext * sws_alloc_context ( void ) ;
/**
* Initialize the swscaler context sws_context .
*
@ -445,14 +453,6 @@ void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pix
*/
void sws_convertPalette8ToPacked24 ( const uint8_t * src , uint8_t * dst , int num_pixels , const uint8_t * palette ) ;
/**
* Get the AVClass for swsContext . It can be used in combination with
* AV_OPT_SEARCH_FAKE_OBJ for examining options .
*
* @ see av_opt_find ( ) .
*/
const AVClass * sws_get_class ( void ) ;
/**
* @ }
*/