Changeset 74989 in vbox
- Timestamp:
- Oct 23, 2018 9:03:27 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126013
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/VideoRec.cpp
r74987 r74989 389 389 mBuf = aBuf; 390 390 } 391 391 392 /** 392 393 * Convert the next pixel to RGB. 394 * 393 395 * @returns true on success, false if we have reached the end of the buffer 394 * @param aRed where to store the red value395 * @param aGreen where to store the green value396 * @param aBlue where to store the blue value396 * @param aRed where to store the red value. 397 * @param aGreen where to store the green value. 398 * @param aBlue where to store the blue value. 397 399 */ 398 400 bool getRGB(unsigned *aRed, unsigned *aGreen, unsigned *aBlue) … … 411 413 412 414 /** 413 * Skip forward by a certain number of pixels 414 * @param aPixels how many pixels to skip 415 * Skip forward by a certain number of pixels. 416 * 417 * @param aPixels How many pixels to skip. 415 418 */ 416 419 void skip(unsigned aPixels) … … 419 422 } 420 423 private: 421 /** Size of the picture buffer */424 /** Size of the picture buffer. */ 422 425 unsigned mSize; 423 /** Current position in the picture buffer */426 /** Current position in the picture buffer. */ 424 427 unsigned mPos; 425 /** Address of the picture buffer */428 /** Address of the picture buffer. */ 426 429 uint8_t *mBuf; 427 430 }; … … 442 445 mBuf = aBuf; 443 446 } 447 444 448 /** 445 449 * Convert the next pixel to RGB. 446 * @returns true on success, false if we have reached the end of the buffer 447 * @param aRed where to store the red value 448 * @param aGreen where to store the green value 449 * @param aBlue where to store the blue value 450 * 451 * @returns true on success, false if we have reached the end of the buffer. 452 * @param aRed where to store the red value. 453 * @param aGreen where to store the green value. 454 * @param aBlue where to store the blue value. 450 455 */ 451 456 bool getRGB(unsigned *aRed, unsigned *aGreen, unsigned *aBlue) … … 464 469 465 470 /** 466 * Skip forward by a certain number of pixels 467 * @param aPixels how many pixels to skip 471 * Skip forward by a certain number of pixels. 472 * 473 * @param aPixels How many pixels to skip. 468 474 */ 469 475 void skip(unsigned aPixels) … … 472 478 } 473 479 private: 474 /** Size of the picture buffer */480 /** Size of the picture buffer. */ 475 481 unsigned mSize; 476 /** Current position in the picture buffer */482 /** Current position in the picture buffer. */ 477 483 unsigned mPos; 478 /** Address of the picture buffer */484 /** Address of the picture buffer. */ 479 485 uint8_t *mBuf; 480 486 }; … … 495 501 mBuf = aBuf; 496 502 } 503 497 504 /** 498 505 * Convert the next pixel to RGB. 499 * @returns true on success, false if we have reached the end of the buffer 500 * @param aRed where to store the red value 501 * @param aGreen where to store the green value 502 * @param aBlue where to store the blue value 506 * 507 * @returns true on success, false if we have reached the end of the buffer. 508 * @param aRed Where to store the red value. 509 * @param aGreen where to store the green value. 510 * @param aBlue where to store the blue value. 503 511 */ 504 512 bool getRGB(unsigned *aRed, unsigned *aGreen, unsigned *aBlue) … … 519 527 520 528 /** 521 * Skip forward by a certain number of pixels 522 * @param aPixels how many pixels to skip 529 * Skip forward by a certain number of pixels. 530 * 531 * @param aPixels How many pixels to skip. 523 532 */ 524 533 void skip(unsigned aPixels) … … 527 536 } 528 537 private: 529 /** Size of the picture buffer */538 /** Size of the picture buffer. */ 530 539 unsigned mSize; 531 /** Current position in the picture buffer */540 /** Current position in the picture buffer. */ 532 541 unsigned mPos; 533 /** Address of the picture buffer */542 /** Address of the picture buffer. */ 534 543 uint8_t *mBuf; 535 544 }; … … 1745 1754 * 1746 1755 * @returns IPRT status code. 1747 * TODO 1756 * @param uPixelFormat Pixel format to use for conversion. 1757 * @param paDst Pointer to destination buffer. 1758 * @param uDstWidth Width (X, in pixels) of destination buffer. 1759 * @param uDstHeight Height (Y, in pixels) of destination buffer. 1760 * @param paSrc Pointer to source buffer. 1761 * @param uSrcWidth Width (X, in pixels) of source buffer. 1762 * @param uSrcHeight Height (Y, in pixels) of source buffer. 1748 1763 */ 1749 1764 static int videoRecRGBToYUV(uint32_t uPixelFormat,
Note:
See TracChangeset
for help on using the changeset viewer.