camera_get_postview_buffers()

Retrieve a postview buffer from the camera service.

Synopsis:

#include <camera/camera_api.h>
 
camera_error_t camera_get_postview_buffers(camera_handle_t handle, camera_eventkey_t key, camera_buffer_t *inbuffer, camera_buffer_t *outbuffer)

Arguments:

handle

The handle returned by a call to the camera_open() function.

key

The key value that was returned by a call to the camera_enable_postview_event() function.

inbuffer

A pointer to the input camera_buffer_t structure returned by the camera service.

outbuffer

A pointer to the output camera_buffer_t structure returned by the camera service.

Library:

libcamapi

Description:

Use this function to retrieve a buffer with postview data. Only call this function after you receive a video event.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.

Last modified: 2013-12-21

comments powered by Disqus