|
@@ -3391,12 +3391,16 @@ int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width,
|
|
|
int avpicture_get_size(enum PixelFormat pix_fmt, int width, int height);
|
|
|
void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift);
|
|
|
|
|
|
+#if FF_API_GET_PIX_FMT_NAME
|
|
|
/**
|
|
|
* Return the short name for a pixel format.
|
|
|
*
|
|
|
* \see av_get_pix_fmt(), av_get_pix_fmt_string().
|
|
|
+ * @deprecated Deprecated in favor of av_get_pix_fmt_name().
|
|
|
*/
|
|
|
+attribute_deprecated
|
|
|
const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt);
|
|
|
+#endif
|
|
|
|
|
|
void avcodec_set_dimensions(AVCodecContext *s, int width, int height);
|
|
|
|