<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:video-packets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
wiki:v2:video-packets [2018/09/28 22:51]
jfrench created
wiki:v2:video-packets [2018/10/03 20:59]
jfrench [Video - Packet Reference]
Line 1: Line 1:
 ===== Video - Packet Reference ===== ===== Video - Packet Reference =====
  
 +Check out the [[wiki:​v2:​video_api|Video API]] for more details.
  
 ==== getRGB(x,​y,​r,​g,​b,​saturate) ==== ==== getRGB(x,​y,​r,​g,​b,​saturate) ====
  
-^Bit ^Description ^Value ^ +=== Request: === 
-|h0 |Length of packet |+^Bit ^Description ^Value ^ 
-|h1 |Type of packet |0x70 +|0 - 1 |Sync 174 193 
-|1 |?? |x | +|2 |Type of packet |112 
-|2 |??      ||+|3 |Length of payload |5 | 
 +|4 |center ​to sample from |0 - 315 
 +|5 |center y to sample from    |0 - 207 | 
 +|6 |pointer to R value to fill | | 
 +|7 |pointer to R value to fill    | | 
 +|8 |pointer to R value to fill | |
  
 === Response: === === Response: ===
  
  
-^Bit ^Description ^Value ^ +^Byte ^Description ^Value ^ 
-| | | | +|0 - 1 |Sync 175 193 
-| | | |+|2 |Type of packet |113 | 
 +|3 |Length of payload | | 
 +|4 - 5 |Checksum | |
wiki/v2/video-packets.txt · Last modified: 2018/10/10 19:39 by pixycam