summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vf_vo.c')
-rw-r--r--libmpcodecs/vf_vo.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c
index 6c4e899d8e..1022e45e0f 100644
--- a/libmpcodecs/vf_vo.c
+++ b/libmpcodecs/vf_vo.c
@@ -48,10 +48,10 @@ struct vf_priv_s {
};
#define video_out (vf->priv->vo)
-static int query_format(struct vf_instance_s* vf, unsigned int fmt); /* forward declaration */
-static void draw_slice(struct vf_instance_s* vf, unsigned char** src, int* stride, int w,int h, int x, int y);
+static int query_format(struct vf_instance *vf, unsigned int fmt); /* forward declaration */
+static void draw_slice(struct vf_instance *vf, unsigned char** src, int* stride, int w,int h, int x, int y);
-static int config(struct vf_instance_s* vf,
+static int config(struct vf_instance *vf,
int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt){
@@ -93,7 +93,7 @@ static int config(struct vf_instance_s* vf,
return 1;
}
-static int control(struct vf_instance_s* vf, int request, void* data)
+static int control(struct vf_instance *vf, int request, void* data)
{
switch(request){
case VFCTRL_GET_DEINTERLACE:
@@ -178,7 +178,7 @@ static int control(struct vf_instance_s* vf, int request, void* data)
return CONTROL_UNKNOWN;
}
-static int query_format(struct vf_instance_s* vf, unsigned int fmt){
+static int query_format(struct vf_instance *vf, unsigned int fmt){
int flags=video_out->control(VOCTRL_QUERY_FORMAT,&fmt);
// draw_slice() accepts stride, draw_frame() doesn't:
if(flags)
@@ -187,7 +187,7 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){
return flags;
}
-static void get_image(struct vf_instance_s* vf,
+static void get_image(struct vf_instance *vf,
mp_image_t *mpi){
if(!vo_config_count) return;
// GET_IMAGE is required for hardware-accelerated formats
@@ -196,7 +196,7 @@ static void get_image(struct vf_instance_s* vf,
video_out->control(VOCTRL_GET_IMAGE,mpi);
}
-static int put_image(struct vf_instance_s* vf,
+static int put_image(struct vf_instance *vf,
mp_image_t *mpi, double pts){
if(!vo_config_count) return 0; // vo not configured?
// record pts (potentially modified by filters) for main loop
@@ -215,19 +215,19 @@ static int put_image(struct vf_instance_s* vf,
return 1;
}
-static void start_slice(struct vf_instance_s* vf,
+static void start_slice(struct vf_instance *vf,
mp_image_t *mpi) {
if(!vo_config_count) return; // vo not configured?
video_out->control(VOCTRL_START_SLICE,mpi);
}
-static void draw_slice(struct vf_instance_s* vf,
+static void draw_slice(struct vf_instance *vf,
unsigned char** src, int* stride, int w,int h, int x, int y){
if(!vo_config_count) return; // vo not configured?
video_out->draw_slice(src,stride,w,h,x,y);
}
-static void uninit(struct vf_instance_s* vf)
+static void uninit(struct vf_instance *vf)
{
if (vf->priv) {
#ifdef CONFIG_ASS