Revision 8c3eba7c libavcodec/avcodec.h

View differences:

libavcodec/avcodec.h
17 17

  
18 18
#define FFMPEG_VERSION_INT     0x000409
19 19
#define FFMPEG_VERSION         "CVS"
20
#define LIBAVCODEC_BUILD       4757
20
#define LIBAVCODEC_BUILD       4758
21

  
21 22

  
22 23
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
23 24
#define LIBAVCODEC_VERSION     FFMPEG_VERSION
......
284 285
    AV_ROUND_NEAR_INF = 5, ///< round to nearest and halfway cases away from zero
285 286
};
286 287

  
288
enum AVDiscard{
289
//we leave some space between them for extensions (drop some keyframes for intra only or drop just some bidir frames)
290
    AVDISCARD_NONE   =-16, ///< discard nothing
291
    AVDISCARD_DEFAULT=  0, ///< discard useless packets like 0 size packets in avi
292
    AVDISCARD_NONREF =  8, ///< discard all non reference
293
    AVDISCARD_BIDIR  = 16, ///< discard all bidirectional frames
294
    AVDISCARD_NONKEY = 32, ///< discard all frames except keyframes
295
    AVDISCARD_ALL    = 48, ///< discard all
296
};
297

  
287 298
typedef struct RcOverride{
288 299
    int start_frame;
289 300
    int end_frame;
......
858 869

  
859 870
    /**
860 871
     * hurry up amount.
872
     * deprecated in favor of skip_idct and skip_frame
861 873
     * - encoding: unused
862 874
     * - decoding: set by user. 1-> skip b frames, 2-> skip idct/dequant too, 5-> skip everything except header
863 875
     */
......
1807 1819
     * - decoding: unused
1808 1820
     */
1809 1821
    int me_penalty_compensation;
1822

  
1823
    /**
1824
     * 
1825
     * - encoding: unused
1826
     * - decoding: set by user.
1827
     */
1828
    enum AVDiscard skip_loop_filter;
1829

  
1830
    /**
1831
     * 
1832
     * - encoding: unused
1833
     * - decoding: set by user.
1834
     */
1835
    enum AVDiscard skip_idct;
1836

  
1837
    /**
1838
     * 
1839
     * - encoding: unused
1840
     * - decoding: set by user.
1841
     */
1842
    enum AVDiscard skip_frame;
1810 1843
} AVCodecContext;
1811 1844

  
1812 1845

  

Also available in: Unified diff