<< 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

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:v2:video-packets [2018/10/03 20:59]
jfrench [Video - Packet Reference]
wiki:v2:video-packets [2018/10/10 19:39]
pixycam [getRGB(x,y,r,g,b,saturate)]
Line 6: Line 6:
  
 === Request: === === Request: ===
-^Bit ^Description ^Value ^ +^Bit ^Description ^Value(s) 
-|0 - 1 |Sync  | 174 193 |+|0 - 1 |16-bit sync  | 174193 (0xc1ae) ​|
 |2 |Type of packet |112 | |2 |Type of packet |112 |
 |3 |Length of payload |5 | |3 |Length of payload |5 |
-|4 |center ​to sample from |0 - 315 | +|4 - 5 |16-bit ​value  |0 - 315 | 
-|5 |center ​to sample from    |0 - 207 +|6 - 7 |16-bit ​value    |0 - 207 | 
-|6 |pointer to R value to fill | | +|8 |Saturate flag 0=don'​t saturate, 1=saturate|
-|7 |pointer to R value to fill   ​ | ​+
-|8 |pointer to R value to fill | |+
  
 === Response: === === Response: ===
  
  
-^Byte ^Description ^Value ^ +^Byte ^Description ^Value(s) 
-|0 - 1 |Sync  | 175 193 | +|0 - 1 |16-bit sync  | 175193 (0xc1af) ​
-|2 |Type of packet |113 +|2 |Type of packet |1
-|3 |Length of payload | | +|3 |Length of payload | ​
-|4 - 5 |Checksum | |+|4 - 5 |16-bit checksum sum of payload bytes | 
 +| 6             |blue value | (varies) | 
 +| 7             ​|green value | (varies | 
 +| 8             |red value | (varies) ​|
wiki/v2/video-packets.txt · Last modified: 2018/10/10 19:39 by pixycam