Mercurial > libavcodec.hg
comparison avcodec.h @ 9892:b5ca6219e173 libavcodec
Move av_log_missing_feature() from the internal.h to the public avcodec.h
header file.
| author | rbultje |
|---|---|
| date | Mon, 29 Jun 2009 19:11:53 +0000 |
| parents | 7b58b1410f48 |
| children | 1d10ec092b64 |
comparison
equal
deleted
inserted
replaced
| 9891:7ad7d4094d1f | 9892:b5ca6219e173 |
|---|---|
| 3715 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ | 3715 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ |
| 3716 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ | 3716 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ |
| 3717 #define AVERROR_PATCHWELCOME -MKTAG('P','A','W','E') /**< Not yet implemented in FFmpeg. Patches welcome. */ | 3717 #define AVERROR_PATCHWELCOME -MKTAG('P','A','W','E') /**< Not yet implemented in FFmpeg. Patches welcome. */ |
| 3718 | 3718 |
| 3719 /** | 3719 /** |
| 3720 * Logs a generic warning message about a missing feature. | |
| 3721 * @param[in] avc a pointer to an arbitrary struct of which the first field is | |
| 3722 * a pointer to an AVClass struct | |
| 3723 * @param[in] feature string containing the name of the missing feature | |
| 3724 * @param[in] want_sample indicates if samples are wanted which exhibit this feature. | |
| 3725 * If want_sample is non-zero, additional verbage will be added to the log | |
| 3726 * message which tells the user how to report samples to the development | |
| 3727 * mailing list. | |
| 3728 */ | |
| 3729 void av_log_missing_feature(void *avc, const char *feature, int want_sample); | |
| 3730 | |
| 3731 /** | |
| 3732 * Logs a generic warning message asking for a sample. | |
| 3733 * @param[in] avc a pointer to an arbitrary struct of which the first field is | |
| 3734 * a pointer to an AVClass struct | |
| 3735 * @param[in] msg string containing an optional message, or NULL if no message | |
| 3736 */ | |
| 3737 void av_log_ask_for_sample(void *avc, const char *msg); | |
| 3738 | |
| 3739 /** | |
| 3720 * Registers the hardware accelerator hwaccel. | 3740 * Registers the hardware accelerator hwaccel. |
| 3721 */ | 3741 */ |
| 3722 void av_register_hwaccel(AVHWAccel *hwaccel); | 3742 void av_register_hwaccel(AVHWAccel *hwaccel); |
| 3723 | 3743 |
| 3724 /** | 3744 /** |
