/*!\brief Decorator indicating a function is potentially unused */ #ifndef VPX_UNUSED #ifdefined(__GNUC__) || defined(__clang__) #define VPX_UNUSED __attribute__((unused)) #else #define VPX_UNUSED #endif #endif/* VPX_UNUSED */
/*!\brief Current ABI version number * *\internal *IfthisfileisalteredinanywaythatchangestheABI,thisvalue *mustbebumped.Examplesinclude,butarenotlimitedto,changing *types,removingorreassigningenums,adding/removing/rearranging *fieldstostructures
*/ #define VPX_CODEC_ABI_VERSION (4 + VPX_IMAGE_ABI_VERSION) /**<\hideinitializer*/
/*!\brief ABI version mismatch */
VPX_CODEC_ABI_MISMATCH,
/*!\brief Algorithm does not have required capability */
VPX_CODEC_INCAPABLE,
/*!\brief The given bitstream is not supported. * *Thebitstreamwasunabletobeparsedatthehighestlevel.Thedecoder *isunabletoproceed.Thiserror\refSHOULDbetreatedasfataltothe
* stream. */
VPX_CODEC_UNSUP_BITSTREAM,
/*!\brief The coded data for this stream is corrupt or incomplete * *Therewasaproblemdecodingthecurrentframe.Thisreturncode *shouldonlybeusedforfailuresthatpreventfuturepicturesfrom *beingproperlydecoded.Thiserror\refMAYbetreatedasfataltothe *streamor\refMAYbetreatedasfataltothecurrentGOP.Ifdecoding *iscontinuedforthecurrentGOP,artifactsmaybepresent.
*/
VPX_CODEC_CORRUPT_FRAME,
/*!\brief An application-supplied parameter is not valid. *
*/
VPX_CODEC_INVALID_PARAM,
/*!\brief An iterator reached the end of list. *
*/
VPX_CODEC_LIST_END
} vpx_codec_err_t;
/*! \brief Codec capabilities bitfield * *Eachcodecadvertisesthecapabilitiesitsupportsaspartofits *::vpx_codec_iface_tinterfacestructure.Capabilitiesareextrainterfaces *orfunctionality,andarenotrequiredtobesupported. * *TheavailableflagsarespecifiedbyVPX_CODEC_CAP_*defines.
*/ typedeflong vpx_codec_caps_t; #define VPX_CODEC_CAP_DECODER 0x1 /**< Is a decoder */ #define VPX_CODEC_CAP_ENCODER 0x2 /**< Is an encoder */
/*! Can support images at greater than 8 bitdepth.
*/ #define VPX_CODEC_CAP_HIGHBITDEPTH 0x4
/*!\brief Return the version information (as an integer) * *Returnsapackedencodingofthelibraryversionnumber.Thiswillonly *include *themajor.minor.patchcomponentoftheversionnumber.Notethatthisencoded *valueshouldbeaccessedthroughthemacrosprovided,astheencodingmay *change *inthefuture. *
*/ int vpx_codec_version(void); #define VPX_VERSION_MAJOR(v) \
(((v) >> 16) & 0xff) /**< extract major from packed version */ #define VPX_VERSION_MINOR(v) \
(((v) >> 8) & 0xff) /**< extract minor from packed version */ #define VPX_VERSION_PATCH(v) \
(((v) >> 0) & 0xff) /**< extract patch from packed version */
/*!\brief Return the version major number */ #define vpx_codec_version_major() ((vpx_codec_version() >> 16) & 0xff)
/*!\brief Return the version minor number */ #define vpx_codec_version_minor() ((vpx_codec_version() >> 8) & 0xff)
/*!\brief Return the version patch number */ #define vpx_codec_version_patch() ((vpx_codec_version() >> 0) & 0xff)
/*!\brief Return the version information (as a string) * *Returnsaprintablestringcontainingthefulllibraryversionnumber.This *may *containadditionaltextfollowingthethreedigitversionnumber,asto *indicate *releasecandidates,prereleaseversions,etc. *
*/ constchar *vpx_codec_version_str(void);
/*!\brief Return the version information (as a string) * *Returnsaprintable"extrastring".Thisisthecomponentofthestring *returned *byvpx_codec_version_str()followingthethreedigitversionnumber. *
*/ constchar *vpx_codec_version_extra_str(void);
/*!\brief Return the name for a given interface * *Returnsahumanreadablestringfornameofthegivencodecinterface. * *\param[in]ifaceInterfacepointer *
*/ constchar *vpx_codec_iface_name(vpx_codec_iface_t *iface);
/*!\brief Convert error number to printable string * *Returnsahumanreadablestringforthelasterrorreturnedbythe *algorithm.Thereturnederrorwillbeonelineandwillnotcontain *anynewlinecharacters. * * *\param[in]errErrornumber. *
*/ constchar *vpx_codec_err_to_string(vpx_codec_err_t err);
/*!\brief Get the capabilities of an algorithm. * *Retrievesthecapabilitiesbitfieldfromthealgorithm'sinterface. * *\param[in]ifacePointertothealgorithminterface *
*/
vpx_codec_caps_t vpx_codec_get_caps(vpx_codec_iface_t *iface);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.