Fix doxy that refers to the wrong variable.

Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Michael Niedermayer 15 years ago
parent facdd25df2
commit a20df85886
  1. 35
      libavcodec/ansi.c
  2. 31
      libavcodec/libxvidff.c
  3. 2
      libavcodec/mpeg12.c
  4. 10
      libavcodec/wmaprodec.c
  5. 12
      libavformat/anm.c
  6. 2
      libavformat/tty.c

@ -28,18 +28,18 @@
#include "cga_data.h" #include "cga_data.h"
#include <libavutil/lfg.h> #include <libavutil/lfg.h>
#define ATTR_BOLD 0x01 /** Bold/Bright-foreground (mode 1) */ #define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */
#define ATTR_FAINT 0x02 /** Faint (mode 2) */ #define ATTR_FAINT 0x02 /**< Faint (mode 2) */
#define ATTR_UNDERLINE 0x08 /** Underline (mode 4) */ #define ATTR_UNDERLINE 0x08 /**< Underline (mode 4) */
#define ATTR_BLINK 0x10 /** Blink/Bright-background (mode 5) */ #define ATTR_BLINK 0x10 /**< Blink/Bright-background (mode 5) */
#define ATTR_REVERSE 0x40 /** Reverse (mode 7) */ #define ATTR_REVERSE 0x40 /**< Reverse (mode 7) */
#define ATTR_CONCEALED 0x80 /** Concealed (mode 8) */ #define ATTR_CONCEALED 0x80 /**< Concealed (mode 8) */
#define DEFAULT_FG_COLOR 7 /** CGA color index */ #define DEFAULT_FG_COLOR 7 /**< CGA color index */
#define DEFAULT_BG_COLOR 0 #define DEFAULT_BG_COLOR 0
#define DEFAULT_SCREEN_MODE 3 /** 80x25 */ #define DEFAULT_SCREEN_MODE 3 /**< 80x25 */
#define FONT_WIDTH 8 /** Font width */ #define FONT_WIDTH 8 /**< Font width */
/** map ansi color index to cga palette index */ /** map ansi color index to cga palette index */
static const uint8_t ansi_to_cga[16] = { static const uint8_t ansi_to_cga[16] = {
@ -48,12 +48,15 @@ static const uint8_t ansi_to_cga[16] = {
typedef struct { typedef struct {
AVFrame frame; AVFrame frame;
int x, y; /** cursor position (pixels) */ int x; /**< x cursor position (pixels) */
int sx, sy; /** saved cursor position (pixels) */ int y; /**< y cursor position (pixels) */
const uint8_t* font; /** font */ int sx; /**< saved x cursor position (pixels) */
int font_height; /** font height */ int sy; /**< saved y cursor position (pixels) */
int attributes; /** attribute flags */ const uint8_t* font; /**< font */
int fg, bg; /** foreground and background color */ int font_height; /**< font height */
int attributes; /**< attribute flags */
int fg; /**< foreground color */
int bg; /**< background color */
/* ansi parser state machine */ /* ansi parser state machine */
enum { enum {
@ -64,7 +67,7 @@ typedef struct {
} state; } state;
#define MAX_NB_ARGS 4 #define MAX_NB_ARGS 4
int args[MAX_NB_ARGS]; int args[MAX_NB_ARGS];
int nb_args; /** number of arguments (may exceed MAX_NB_ARGS) */ int nb_args; /**< number of arguments (may exceed MAX_NB_ARGS) */
} AnsiContext; } AnsiContext;
static av_cold int decode_init(AVCodecContext *avctx) static av_cold int decode_init(AVCodecContext *avctx)

@ -52,27 +52,28 @@ int has_altivec(void);
* This stores all the private context for the codec. * This stores all the private context for the codec.
*/ */
struct xvid_context { struct xvid_context {
void *encoder_handle; /** Handle for Xvid encoder */ void *encoder_handle; /**< Handle for Xvid encoder */
int xsize, ysize; /** Frame size */ int xsize; /**< Frame x size */
int vop_flags; /** VOP flags for Xvid encoder */ int ysize; /**< Frame y size */
int vol_flags; /** VOL flags for Xvid encoder */ int vop_flags; /**< VOP flags for Xvid encoder */
int me_flags; /** Motion Estimation flags */ int vol_flags; /**< VOL flags for Xvid encoder */
int qscale; /** Do we use constant scale? */ int me_flags; /**< Motion Estimation flags */
int quicktime_format; /** Are we in a QT-based format? */ int qscale; /**< Do we use constant scale? */
AVFrame encoded_picture; /** Encoded frame information */ int quicktime_format; /**< Are we in a QT-based format? */
char *twopassbuffer; /** Character buffer for two-pass */ AVFrame encoded_picture; /**< Encoded frame information */
char *old_twopassbuffer; /** Old character buffer (two-pass) */ char *twopassbuffer; /**< Character buffer for two-pass */
char *twopassfile; /** second pass temp file name */ char *old_twopassbuffer; /**< Old character buffer (two-pass) */
unsigned char *intra_matrix; /** P-Frame Quant Matrix */ char *twopassfile; /**< second pass temp file name */
unsigned char *inter_matrix; /** I-Frame Quant Matrix */ unsigned char *intra_matrix; /**< P-Frame Quant Matrix */
unsigned char *inter_matrix; /**< I-Frame Quant Matrix */
}; };
/** /**
* Structure for the private first-pass plugin. * Structure for the private first-pass plugin.
*/ */
struct xvid_ff_pass1 { struct xvid_ff_pass1 {
int version; /** Xvid version */ int version; /**< Xvid version */
struct xvid_context *context; /** Pointer to private context */ struct xvid_context *context; /**< Pointer to private context */
}; };
/* Prototypes - See function implementation for details */ /* Prototypes - See function implementation for details */

@ -1168,7 +1168,7 @@ typedef struct Mpeg1Context {
MpegEncContext mpeg_enc_ctx; MpegEncContext mpeg_enc_ctx;
int mpeg_enc_ctx_allocated; /* true if decoding context allocated */ int mpeg_enc_ctx_allocated; /* true if decoding context allocated */
int repeat_field; /* true if we must repeat the field */ int repeat_field; /* true if we must repeat the field */
AVPanScan pan_scan; /** some temporary storage for the panscan */ AVPanScan pan_scan; /**< some temporary storage for the panscan */
int slice_count; int slice_count;
int swap_uv;//indicate VCR2 int swap_uv;//indicate VCR2
int save_aspect_info; int save_aspect_info;

@ -508,11 +508,11 @@ static int decode_subframe_length(WMAProDecodeCtx *s, int offset)
*/ */
static int decode_tilehdr(WMAProDecodeCtx *s) static int decode_tilehdr(WMAProDecodeCtx *s)
{ {
uint16_t num_samples[WMAPRO_MAX_CHANNELS]; /** sum of samples for all currently known subframes of a channel */ uint16_t num_samples[WMAPRO_MAX_CHANNELS]; /**< sum of samples for all currently known subframes of a channel */
uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /** flag indicating if a channel contains the current subframe */ uint8_t contains_subframe[WMAPRO_MAX_CHANNELS]; /**< flag indicating if a channel contains the current subframe */
int channels_for_cur_subframe = s->num_channels; /** number of channels that contain the current subframe */ int channels_for_cur_subframe = s->num_channels; /**< number of channels that contain the current subframe */
int fixed_channel_layout = 0; /** flag indicating that all channels use the same subframe offsets and sizes */ int fixed_channel_layout = 0; /**< flag indicating that all channels use the same subframe offsets and sizes */
int min_channel_len = 0; /** smallest sum of samples (channels with this length will be processed first) */ int min_channel_len = 0; /**< smallest sum of samples (channels with this length will be processed first) */
int c; int c;
/* Should never consume more than 3073 bits (256 iterations for the /* Should never consume more than 3073 bits (256 iterations for the

@ -34,13 +34,13 @@ typedef struct {
} Page; } Page;
typedef struct { typedef struct {
unsigned int nb_pages; /** total pages in file */ unsigned int nb_pages; /**< total pages in file */
unsigned int nb_records; /** total records in file */ unsigned int nb_records; /**< total records in file */
int page_table_offset; int page_table_offset;
#define MAX_PAGES 256 /** Deluxe Paint hardcoded value */ #define MAX_PAGES 256 /**< Deluxe Paint hardcoded value */
Page pt[MAX_PAGES]; /** page table */ Page pt[MAX_PAGES]; /**< page table */
int page; /** current page (or AVERROR_xxx code) */ int page; /**< current page (or AVERROR_xxx code) */
int record; /** current record (with in page) */ int record; /**< current record (with in page) */
} AnmDemuxContext; } AnmDemuxContext;
#define LPF_TAG MKTAG('L','P','F',' ') #define LPF_TAG MKTAG('L','P','F',' ')

@ -34,7 +34,7 @@
typedef struct { typedef struct {
int chars_per_frame; int chars_per_frame;
uint64_t fsize; /** file size less metadata buffer */ uint64_t fsize; /**< file size less metadata buffer */
} TtyDemuxContext; } TtyDemuxContext;
/** /**

Loading…
Cancel
Save