diff options
Diffstat (limited to 'other/apidsl/toxav.in.h')
-rw-r--r-- | other/apidsl/toxav.in.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/other/apidsl/toxav.in.h b/other/apidsl/toxav.in.h index bcf554ac..0631c827 100644 --- a/other/apidsl/toxav.in.h +++ b/other/apidsl/toxav.in.h | |||
@@ -562,10 +562,9 @@ namespace video { | |||
562 | * @param y Y (Luminance) plane data. | 562 | * @param y Y (Luminance) plane data. |
563 | * @param u U (Chroma) plane data. | 563 | * @param u U (Chroma) plane data. |
564 | * @param v V (Chroma) plane data. | 564 | * @param v V (Chroma) plane data. |
565 | * @param a A (Alpha) plane data. | ||
566 | */ | 565 | */ |
567 | bool send_frame(uint32_t friend_number, uint16_t width, uint16_t height, | 566 | bool send_frame(uint32_t friend_number, uint16_t width, uint16_t height, |
568 | const uint8_t *y, const uint8_t *u, const uint8_t *v, const uint8_t *a) with error for send_frame; | 567 | const uint8_t *y, const uint8_t *u, const uint8_t *v) with error for send_frame; |
569 | } | 568 | } |
570 | /******************************************************************************* | 569 | /******************************************************************************* |
571 | * | 570 | * |
@@ -603,19 +602,17 @@ namespace video { | |||
603 | * Y = MAX(width, abs(ystride)) * height, | 602 | * Y = MAX(width, abs(ystride)) * height, |
604 | * U = MAX(width/2, abs(ustride)) * (height/2) and | 603 | * U = MAX(width/2, abs(ustride)) * (height/2) and |
605 | * V = MAX(width/2, abs(vstride)) * (height/2). | 604 | * V = MAX(width/2, abs(vstride)) * (height/2). |
606 | * A = MAX(width, abs(astride)) * height. | ||
607 | * @param ystride | 605 | * @param ystride |
608 | * @param ustride | 606 | * @param ustride |
609 | * @param vstride | 607 | * @param vstride Strides data. Strides represent padding for each plane |
610 | * @param astride Strides data. Strides represent padding for each plane | ||
611 | * that may or may not be present. You must handle strides in | 608 | * that may or may not be present. You must handle strides in |
612 | * your image processing code. Strides are negative if the | 609 | * your image processing code. Strides are negative if the |
613 | * image is bottom-up hence why you MUST abs() it when | 610 | * image is bottom-up hence why you MUST abs() it when |
614 | * calculating plane buffer size. | 611 | * calculating plane buffer size. |
615 | */ | 612 | */ |
616 | typedef void(uint32_t friend_number, uint16_t width, uint16_t height, | 613 | typedef void(uint32_t friend_number, uint16_t width, uint16_t height, |
617 | const uint8_t *y, const uint8_t *u, const uint8_t *v, const uint8_t *a, | 614 | const uint8_t *y, const uint8_t *u, const uint8_t *v, |
618 | int32_t ystride, int32_t ustride, int32_t vstride, int32_t astride); | 615 | int32_t ystride, int32_t ustride, int32_t vstride); |
619 | } | 616 | } |
620 | } | 617 | } |
621 | 618 | ||