refactor perspective tool, add as built-in FX, remove obsolete code

This commit is contained in:
niels
2015-10-24 18:05:44 +02:00
parent a392ed3a5f
commit 2a3bb54f04
22 changed files with 217 additions and 594 deletions

View File

@@ -113,7 +113,6 @@ typedef struct
int planes[4];
int out_planes[4];
int rw;
int composite;
int is_jpeg;
int sizeimage;
VJFrame *frames[N_FRAMES];
@@ -1380,17 +1379,6 @@ void v4l2_set_input_channel( void *d, int num )
ioctl( v->fd, VIDIOC_S_INPUT, &num );
}
void v4l2_set_composite_status( void *d, int status)
{
v4l2info *v = (v4l2info*) d;
v->composite = status;
}
int v4l2_get_composite_status( void *d )
{
v4l2info *v = (v4l2info*) d;
return v->composite;
}
// brightness
void v4l2_set_brightness( void *d, int32_t value ) {
v4l2_set_control( d, V4L2_CID_BRIGHTNESS, value );