Mercurial > libavcodec.hg
comparison avcodec.h @ 1548:dd544554ed42 libavcodec
AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?
author | michael |
---|---|
date | Mon, 20 Oct 2003 20:23:46 +0000 |
parents | 0183874861fd |
children | 5d53c03186a1 |
comparison
equal
deleted
inserted
replaced
1547:0183874861fd | 1548:dd544554ed42 |
---|---|
10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
11 extern "C" { | 11 extern "C" { |
12 #endif | 12 #endif |
13 | 13 |
14 #include "common.h" | 14 #include "common.h" |
15 #include "rational.h" | |
15 | 16 |
16 #define FFMPEG_VERSION_INT 0x000408 | 17 #define FFMPEG_VERSION_INT 0x000408 |
17 #define FFMPEG_VERSION "0.4.8" | 18 #define FFMPEG_VERSION "0.4.8" |
18 #define LIBAVCODEC_BUILD 4686 | 19 #define LIBAVCODEC_BUILD 4687 |
19 | 20 |
20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT | 21 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
21 #define LIBAVCODEC_VERSION FFMPEG_VERSION | 22 #define LIBAVCODEC_VERSION FFMPEG_VERSION |
22 | 23 |
23 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 24 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
1032 #define FF_PRED_LEFT 0 | 1033 #define FF_PRED_LEFT 0 |
1033 #define FF_PRED_PLANE 1 | 1034 #define FF_PRED_PLANE 1 |
1034 #define FF_PRED_MEDIAN 2 | 1035 #define FF_PRED_MEDIAN 2 |
1035 | 1036 |
1036 /** | 1037 /** |
1037 * aspect ratio (0 if unknown). | 1038 * sample aspect ratio (0 if unknown). |
1038 * - encoding: set by user. | 1039 * - encoding: set by user. |
1039 * - decoding: set by lavc. | 1040 * - decoding: set by lavc. |
1040 */ | 1041 */ |
1041 float aspect_ratio; | 1042 AVRational sample_aspect_ratio; |
1042 | 1043 |
1043 /** | 1044 /** |
1044 * the picture in the bitstream. | 1045 * the picture in the bitstream. |
1045 * - encoding: set by lavc | 1046 * - encoding: set by lavc |
1046 * - decoding: set by lavc | 1047 * - decoding: set by lavc |