diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-04-18 19:15:46 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-04-18 19:15:46 +0200 |
commit | 3a12a3b3291b34ef18edcd0ca66449944bc8c933 (patch) | |
tree | e34ae8090b779201c11d6b111c987a2707e0c6d6 /toxav | |
parent | eb9f4ad592e1f1988c90ac9af9799e2f1def4002 (diff) |
Update comment
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/toxav.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h index 0edd9024..f2501d7a 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -485,18 +485,17 @@ bool toxav_send_audio_frame(ToxAV *av, uint32_t friend_number, | |||
485 | /** | 485 | /** |
486 | * The function type for the `receive_video_frame` callback. | 486 | * The function type for the `receive_video_frame` callback. |
487 | * | 487 | * |
488 | * Each plane contains (width * height) pixels. The Alpha plane can be NULL, in | ||
489 | * which case every pixel should be assumed fully opaque. | ||
490 | * | ||
491 | * @param friend_number The friend number of the friend who sent a video frame. | 488 | * @param friend_number The friend number of the friend who sent a video frame. |
492 | * @param width Width of the frame in pixels. | 489 | * @param width Width of the frame in pixels. |
493 | * @param height Height of the frame in pixels. | 490 | * @param height Height of the frame in pixels. |
494 | * @param planes Plane data. To access Y (Luminance) plane use index 0, | 491 | * @param y |
495 | * To access U (Chroma) plane use index 1, | 492 | * @param u |
496 | * To access V (Chroma) plane use index 2. | 493 | * @param v Plane data. |
497 | * The size of plane data is derived from width and height where | 494 | * The size of plane data is derived from width and height where |
498 | * Y = width * height, U = (width/2) * (height/2) and V = (width/2) * (height/2). | 495 | * Y = width * height, U = (width/2) * (height/2) and V = (width/2) * (height/2). |
499 | * @param stride Strides data. Indexing is the same as in 'planes' param. | 496 | * @param ystride |
497 | * @param ustride | ||
498 | * @param vstride Strides data. Indexing is the same as in 'planes' param. | ||
500 | */ | 499 | */ |
501 | typedef void toxav_receive_video_frame_cb(ToxAV *av, uint32_t friend_number, | 500 | typedef void toxav_receive_video_frame_cb(ToxAV *av, uint32_t friend_number, |
502 | uint16_t width, uint16_t height, | 501 | uint16_t width, uint16_t height, |