3dphotoshoot

diff src/camera.h @ 9:d1b456d08713

texture matrix and video size from JNI
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 25 May 2015 05:27:26 +0300
parents 9fc7d52f578d
children 4ca4e3c5a754
line diff
     1.1 --- a/src/camera.h	Mon May 25 04:14:38 2015 +0300
     1.2 +++ b/src/camera.h	Mon May 25 05:27:26 2015 +0300
     1.3 @@ -15,13 +15,15 @@
     1.4  void cam_shutdown(void);
     1.5  
     1.6  unsigned int cam_texture(void);
     1.7 -void cam_texture_size(int *w, int *h);
     1.8 +const float *cam_texture_matrix(void);
     1.9  
    1.10  int cam_start_video(void);
    1.11  int cam_stop_video(void);
    1.12  int cam_update(void);
    1.13  int cam_is_capturing(void);
    1.14  
    1.15 +int cam_video_size(int *xsz, int *ysz);
    1.16 +
    1.17  int cam_take_picture(void);
    1.18  
    1.19  #endif	/* CAMERA_H_ */