Mark the vo_functions_t definitions as const where possible.

This is not possible for xover and anything supporting vidix
due to horrible hacks.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25248 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar committed 2007-12-02 14:39:15 +00:00
1 parent 844c8ffc48
commit 2bf8c692f1
38 files changed
+38 -38

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(3dfx)
const LIBVO_EXTERN(3dfx)
static uint32_t is_fullscreen = 1;
+1 -1
View File
@@ -51,7 +51,7 @@
""
};
LIBVO_EXTERN(aa)
const LIBVO_EXTERN(aa)
/* aa's main context we use */
aa_context *c;
+1 -1
View File
@@ -55,7 +55,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN (bl)
const LIBVO_EXTERN (bl)
/* General variables */
+1 -1
View File
@@ -45,7 +45,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN (caca)
const LIBVO_EXTERN (caca)
/* caca stuff */
static struct caca_bitmap *cbitmap = NULL;
+1 -1
View File
@@ -48,7 +48,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(dfbmga)
const LIBVO_EXTERN(dfbmga)
/******************************
* directfb *
+1 -1
View File
@@ -45,7 +45,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(dga)
const LIBVO_EXTERN(dga)
//------------------------------------------------------------------
//#define BITSPP (vo_dga_modes[vo_dga_active_mode].vdm_bitspp)
//#define BYTESPP (vo_dga_modes[vo_dga_active_mode].vdm_bytespp)
+1 -1
View File
@@ -65,7 +65,7 @@ static const vo_info_t info = {
"v 2.0 (for DirectFB version >=0.9.13)"
};
LIBVO_EXTERN(directfb)
const LIBVO_EXTERN(directfb)
/******************************
* vo_directfb globals *
+1 -1
View File
@@ -143,7 +143,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(directx)
const LIBVO_EXTERN(directx)
static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src,
unsigned char *srca, int stride)
+1 -1
View File
@@ -139,7 +139,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN (dxr2)
const LIBVO_EXTERN (dxr2)
static char *ucodesearchpath[] = {
"/usr/local/lib/dxr2/dvd12.ux",
+1 -1
View File
@@ -159,7 +159,7 @@ static const vo_info_t info =
"David Holm <[email protected]>",
""
};
LIBVO_EXTERN (dxr3)
const LIBVO_EXTERN (dxr3)
/* Resolutions and positions */
static int v_width, v_height;
+1 -1
View File
@@ -29,7 +29,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(fbdev2)
const LIBVO_EXTERN(fbdev2)
static void set_bpp(struct fb_var_screeninfo *p, int bpp)
{
+1 -1
View File
@@ -44,7 +44,7 @@ static const vo_info_t info =
"major"
};
LIBVO_EXTERN(ggi)
const LIBVO_EXTERN(ggi)
static struct ggi_conf_s {
+1 -1
View File
@@ -68,7 +68,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(gif89a)
const LIBVO_EXTERN(gif89a)
// how many frames per second we are aiming for during output.
+1 -1
View File
@@ -27,7 +27,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(gl)
const LIBVO_EXTERN(gl)
#ifdef GL_WIN32
static int gl_vinfo = 0;
+1 -1
View File
@@ -41,7 +41,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(gl2)
const LIBVO_EXTERN(gl2)
/* local data */
static unsigned char *ImageData=NULL;
+1 -1
View File
@@ -69,7 +69,7 @@ static const vo_info_t info =
"Benjamin Zores",
""
};
LIBVO_EXTERN (ivtv)
const LIBVO_EXTERN (ivtv)
/* ivtv internals */
+1 -1
View File
@@ -67,7 +67,7 @@ static const vo_info_t info=
""
};
LIBVO_EXTERN (jpeg)
const LIBVO_EXTERN (jpeg)
/* ------------------------------------------------------------------------- */
+1 -1
View File
@@ -66,7 +66,7 @@ static const vo_info_t info=
""
};
LIBVO_EXTERN (md5sum)
const LIBVO_EXTERN (md5sum)
/* ------------------------------------------------------------------------- */
+1 -1
View File
@@ -30,7 +30,7 @@ static const vo_info_t info =
"Based on some code by Aaron Holtzman <[email protected]>"
};
LIBVO_EXTERN(mga)
const LIBVO_EXTERN(mga)
#include "mga_common.c"
+1 -1
View File
@@ -76,7 +76,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN (mpegpes)
const LIBVO_EXTERN (mpegpes)
static int
config(uint32_t s_width, uint32_t s_height, uint32_t width, uint32_t height, uint32_t flags, char *title, uint32_t format)
+1 -1
View File
@@ -38,7 +38,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(null)
const LIBVO_EXTERN(null)
static uint32_t image_width, image_height;
+1 -1
View File
@@ -30,7 +30,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN (png)
const LIBVO_EXTERN (png)
static int z_compression = Z_NO_COMPRESSION;
static int framenum = 0;
+1 -1
View File
@@ -73,7 +73,7 @@ static const vo_info_t info=
""
};
LIBVO_EXTERN (pnm)
const LIBVO_EXTERN (pnm)
/* ------------------------------------------------------------------------- */
+1 -1
View File
@@ -46,7 +46,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(quartz)
const LIBVO_EXTERN(quartz)
static uint32_t image_depth;
static uint32_t image_format;
+1 -1
View File
@@ -37,7 +37,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(s3fb)
const LIBVO_EXTERN(s3fb)
typedef struct vga_type {
int cr38, cr39, cr53;
+1 -1
View File
@@ -134,7 +134,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(sdl)
const LIBVO_EXTERN(sdl)
#include <SDL.h>
//#include <SDL/SDL_syswm.h>
+1 -1
View File
@@ -51,7 +51,7 @@ static const vo_info_t info =
//#define VERBOSE
LIBVO_EXTERN(tdfx_vid)
const LIBVO_EXTERN(tdfx_vid)
static tdfx_vid_config_t tdfx_cfg;
+1 -1
View File
@@ -55,7 +55,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN(tdfxfb)
const LIBVO_EXTERN(tdfxfb)
/* Some registers on the card */
#define S2S_STRECH_BLT 2 // BLT + Strech
+1 -1
View File
@@ -46,7 +46,7 @@ static const vo_info_t info =
};
LIBVO_EXTERN (tga)
const LIBVO_EXTERN (tga)
/* locals vars */
static int frame_num = 0;
+1 -1
View File
@@ -63,7 +63,7 @@ static const vo_info_t info =
"Benjamin Zores",
""
};
LIBVO_EXTERN (v4l2)
const LIBVO_EXTERN (v4l2)
int
v4l2_write (unsigned char *data, int len)
+1 -1
View File
@@ -57,7 +57,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(x11)
const LIBVO_EXTERN(x11)
/* private prototypes */
static void Display_Image(XImage * myximage, unsigned char *ImageData);
static void (*draw_alpha_fnc) (int x0, int y0, int w, int h,
+1 -1
View File
@@ -54,7 +54,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(xmga)
const LIBVO_EXTERN(xmga)
static XGCValues wGCV;
static uint32_t mDepth;
+1 -1
View File
@@ -54,7 +54,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(xv)
const LIBVO_EXTERN(xv)
#ifdef HAVE_SHM
#include <sys/ipc.h>
#include <sys/shm.h>
+1 -1
View File
@@ -126,7 +126,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(xvmc);
const LIBVO_EXTERN(xvmc);
//shm stuff from vo_xv
#ifdef HAVE_SHM
+1 -1
View File
@@ -59,7 +59,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(xvr100)
const LIBVO_EXTERN(xvr100)
#define PFB_VRAM_MMAPBASE 0x08000000
#define PFB_VRAM_MMAPLEN 0x04000000 /* depends on memory size */
+1 -1
View File
@@ -53,7 +53,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN (yuv4mpeg)
const LIBVO_EXTERN (yuv4mpeg)
static int image_width = 0;
static int image_height = 0;
+1 -1
View File
@@ -38,7 +38,7 @@ static const vo_info_t info =
""
};
LIBVO_EXTERN (zr)
const LIBVO_EXTERN (zr)
#define ZR_MAX_DEVICES 4
/* General variables */
+1 -1
View File
@@ -36,7 +36,7 @@ static const vo_info_t info = {
""
};
LIBVO_EXTERN(zr2)
const LIBVO_EXTERN(zr2)
typedef struct {
/* options */