| 
    Tizen Native API
    10.0
    
   
   | 
  
  
  
 
camera_preview_data_s Struct Reference
  Public Attributes | |
| camera_pixel_format_e | format | 
| int | width | 
| int | height | 
| int | num_of_planes | 
| unsigned int | timestamp | 
| union { | |
| struct { | |
| unsigned char * yuv | |
| unsigned int size | |
| } single_plane | |
| struct { | |
| unsigned char * y | |
| unsigned char * uv | |
| unsigned int y_size | |
| unsigned int uv_size | |
| } double_plane | |
| struct { | |
| unsigned char * y | |
| unsigned char * u | |
| unsigned char * v | |
| unsigned int y_size | |
| unsigned int u_size | |
| unsigned int v_size | |
| } triple_plane | |
| struct { | |
| unsigned char * data | |
| unsigned int size | |
| bool is_delta_frame | |
| } encoded_plane | |
| struct { | |
| unsigned char * data | |
| unsigned int size | |
| } depth_plane | |
| struct { | |
| unsigned char * data | |
| unsigned int size | |
| } rgb_plane | |
| } | data | 
Detailed Description
The structure type to preview stream data.
- Since :
 - 2.3
 
Member Data Documentation
| unsigned char* camera_preview_data_s::data | 
The encoded data pointer
The depth data pointer
The RGB data pointer
| union { ... } camera_preview_data_s::data | 
The frame data
| struct { ... } camera_preview_data_s::depth_plane | 
Depth plane frame data (Since 5.0)
| struct { ... } camera_preview_data_s::double_plane | 
Double plane frame data
| struct { ... } camera_preview_data_s::encoded_plane | 
Encoded plane frame data
The format of the frame pixel
The height of the frame
The flag indicating whether it's delta frame or not (Since 6.0)
The number of planes
| struct { ... } camera_preview_data_s::rgb_plane | 
RGB plane frame data (Since 5.0)
| struct { ... } camera_preview_data_s::single_plane | 
Single plane frame data
| unsigned int camera_preview_data_s::size | 
The size of data
The size of encoded data
The size of depth data
The size of RGB data
| unsigned int camera_preview_data_s::timestamp | 
The timestamp of the frame
| struct { ... } camera_preview_data_s::triple_plane | 
Triple plane frame data
| unsigned char* camera_preview_data_s::u | 
The u data pointer
| unsigned int camera_preview_data_s::u_size | 
The size of u data
| unsigned char* camera_preview_data_s::uv | 
The uv data pointer
| unsigned int camera_preview_data_s::uv_size | 
The size of uv data
| unsigned char* camera_preview_data_s::v | 
The v data pointer
| unsigned int camera_preview_data_s::v_size | 
The size of v data
The width of the frame
| unsigned char* camera_preview_data_s::y | 
The y data pointer
| unsigned int camera_preview_data_s::y_size | 
The size of y data
| unsigned char* camera_preview_data_s::yuv | 
The yuv data pointer