* overlay data module to its control module */
int (*initialize)(struct overlay_data_device_t *dev,
overlay_handle_t handle);
-
+
+ /* can be called to change the width and height of the overlay. */
+ int (*resizeInput)(struct overlay_data_device_t *dev,
+ uint32_t w, uint32_t h);
+
int (*setCrop)(struct overlay_data_device_t *dev,
uint32_t x, uint32_t y, uint32_t w, uint32_t h) ;
int (*getCrop)(struct overlay_data_device_t *dev,
uint32_t* x, uint32_t* y, uint32_t* w, uint32_t* h) ;
+ int (*setParameter)(struct overlay_data_device_t *dev,
+ int param, int value);
+
/* blocks until an overlay buffer is available and return that buffer. */
int (*dequeueBuffer)(struct overlay_data_device_t *dev,
overlay_buffer_t *buf);