[FFmpeg-cvslog] r23258 - trunk/libavcodec/avcodec.h
reimar
subversion
Sun May 23 17:34:40 CEST 2010
Author: reimar
Date: Sun May 23 17:34:39 2010
New Revision: 23258
Log:
Document CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Sun May 23 15:07:33 2010 (r23257)
+++ trunk/libavcodec/avcodec.h Sun May 23 17:34:39 2010 (r23258)
@@ -3316,12 +3316,20 @@ unsigned avcodec_get_edge_width(void);
* Modifies width and height values so that they will result in a memory
* buffer that is acceptable for the codec if you do not use any horizontal
* padding.
+ *
+ * May only be used if a codec with CODEC_CAP_DR1 has been opened.
+ * If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
+ * according to avcodec_get_edge_width() before.
*/
void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height);
/**
* Modifies width and height values so that they will result in a memory
* buffer that is acceptable for the codec if you also ensure that all
* line sizes are a multiple of the respective linesize_align[i].
+ *
+ * May only be used if a codec with CODEC_CAP_DR1 has been opened.
+ * If CODEC_FLAG_EMU_EDGE is not set, the dimensions must have been increased
+ * according to avcodec_get_edge_width() before.
*/
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
int linesize_align[4]);
More information about the ffmpeg-cvslog
mailing list