Revision a20df858 libavcodec/libxvidff.c

View differences:

libavcodec/libxvidff.c
52 52
 * This stores all the private context for the codec.
53 53
 */
54 54
struct xvid_context {
55
    void *encoder_handle;          /** Handle for Xvid encoder */
56
    int xsize, ysize;              /** Frame size */
57
    int vop_flags;                 /** VOP flags for Xvid encoder */
58
    int vol_flags;                 /** VOL flags for Xvid encoder */
59
    int me_flags;                  /** Motion Estimation flags */
60
    int qscale;                    /** Do we use constant scale? */
61
    int quicktime_format;          /** Are we in a QT-based format? */
62
    AVFrame encoded_picture;       /** Encoded frame information */
63
    char *twopassbuffer;           /** Character buffer for two-pass */
64
    char *old_twopassbuffer;       /** Old character buffer (two-pass) */
65
    char *twopassfile;             /** second pass temp file name */
66
    unsigned char *intra_matrix;   /** P-Frame Quant Matrix */
67
    unsigned char *inter_matrix;   /** I-Frame Quant Matrix */
55
    void *encoder_handle;          /**< Handle for Xvid encoder */
56
    int xsize;                     /**< Frame x size */
57
    int ysize;                     /**< Frame y size */
58
    int vop_flags;                 /**< VOP flags for Xvid encoder */
59
    int vol_flags;                 /**< VOL flags for Xvid encoder */
60
    int me_flags;                  /**< Motion Estimation flags */
61
    int qscale;                    /**< Do we use constant scale? */
62
    int quicktime_format;          /**< Are we in a QT-based format? */
63
    AVFrame encoded_picture;       /**< Encoded frame information */
64
    char *twopassbuffer;           /**< Character buffer for two-pass */
65
    char *old_twopassbuffer;       /**< Old character buffer (two-pass) */
66
    char *twopassfile;             /**< second pass temp file name */
67
    unsigned char *intra_matrix;   /**< P-Frame Quant Matrix */
68
    unsigned char *inter_matrix;   /**< I-Frame Quant Matrix */
68 69
};
69 70

  
70 71
/**
71 72
 * Structure for the private first-pass plugin.
72 73
 */
73 74
struct xvid_ff_pass1 {
74
    int     version;                /** Xvid version */
75
    struct xvid_context *context;        /** Pointer to private context */
75
    int     version;                /**< Xvid version */
76
    struct xvid_context *context;   /**< Pointer to private context */
76 77
};
77 78

  
78 79
/* Prototypes - See function implementation for details */

Also available in: Unified diff