Mercurial > libavcodec.hg
comparison avcodec.h @ 2768:d2b3f948599d libavcodec
tiny docs improvement which i apparebtly forgot to commit
author | michael |
---|---|
date | Sun, 26 Jun 2005 23:04:59 +0000 |
parents | 2b37bcabe608 |
children | 1394b45a7bf4 |
comparison
equal
deleted
inserted
replaced
2767:49da251f2608 | 2768:d2b3f948599d |
---|---|
794 * - decoding: set by lavc. | 794 * - decoding: set by lavc. |
795 */ | 795 */ |
796 enum SampleFormat sample_fmt; ///< sample format, currenly unused | 796 enum SampleFormat sample_fmt; ///< sample format, currenly unused |
797 | 797 |
798 /* the following data should not be initialized */ | 798 /* the following data should not be initialized */ |
799 int frame_size; ///< in samples, initialized when calling 'init' | 799 /** |
800 * samples per packet. initialized when calling 'init' | |
801 */ | |
802 int frame_size; | |
800 int frame_number; ///< audio or video frame number | 803 int frame_number; ///< audio or video frame number |
801 int real_pict_num; ///< returns the real picture number of previous encoded frame | 804 int real_pict_num; ///< returns the real picture number of previous encoded frame |
802 | 805 |
803 /** | 806 /** |
804 * number of frames the decoded output will be delayed relative to | 807 * number of frames the decoded output will be delayed relative to |
1011 * if 1 the stream has a 1 frame delay during decoding. | 1014 * if 1 the stream has a 1 frame delay during decoding. |
1012 * - encoding: set by lavc | 1015 * - encoding: set by lavc |
1013 * - decoding: set by lavc | 1016 * - decoding: set by lavc |
1014 */ | 1017 */ |
1015 int has_b_frames; | 1018 int has_b_frames; |
1016 | 1019 |
1017 int block_align; ///< used by some WAV based audio codecs | 1020 /** |
1021 * number of bytes per packet if constant and known or 0 | |
1022 * used by some WAV based audio codecs | |
1023 */ | |
1024 int block_align; | |
1018 | 1025 |
1019 int parse_only; /* - decoding only: if true, only parsing is done | 1026 int parse_only; /* - decoding only: if true, only parsing is done |
1020 (function avcodec_parse_frame()). The frame | 1027 (function avcodec_parse_frame()). The frame |
1021 data is returned. Only MPEG codecs support this now. */ | 1028 data is returned. Only MPEG codecs support this now. */ |
1022 | 1029 |