Macros | Functions
rs-depth.c File Reference
#include <librealsense2/rs.h>
#include <librealsense2/h/rs_pipeline.h>
#include <librealsense2/h/rs_option.h>
#include <librealsense2/h/rs_frame.h>
#include "example.h"
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
Include dependency graph for rs-depth.c:

Go to the source code of this file.

Macros

#define FORMAT   RS2_FORMAT_Z16
 
#define FPS   30
 
#define HEIGHT   0
 
#define HEIGHT_RATIO   20
 
#define STREAM   RS2_STREAM_DEPTH
 
#define STREAM_INDEX   0
 
#define WIDTH   640
 
#define WIDTH_RATIO   10
 

Functions

float get_depth_unit_value (const rs2_device *const dev)
 
int main ()
 

Macro Definition Documentation

#define FORMAT   RS2_FORMAT_Z16

Definition at line 20 of file rs-depth.c.

#define FPS   30

Definition at line 23 of file rs-depth.c.

#define HEIGHT   0

Definition at line 22 of file rs-depth.c.

#define HEIGHT_RATIO   20

Definition at line 25 of file rs-depth.c.

#define STREAM   RS2_STREAM_DEPTH

Definition at line 19 of file rs-depth.c.

#define STREAM_INDEX   0

Definition at line 24 of file rs-depth.c.

#define WIDTH   640

Definition at line 21 of file rs-depth.c.

#define WIDTH_RATIO   10

Definition at line 26 of file rs-depth.c.

Function Documentation

float get_depth_unit_value ( const rs2_device *const  dev)

Definition at line 30 of file rs-depth.c.

int main ( void  )

Definition at line 72 of file rs-depth.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:28