VirtualBox

Changeset 96479 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Aug 25, 2022 6:57:49 AM (2 years ago)
Author:
vboxsync
Message:

Recording/Main: Use RECORDINGPIXELFMT for RecordingUtilsRGBToYUV(). ​bugref:10275

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/RecordingUtils.cpp

    r96478 r96479  
    155155 *
    156156 * @returns IPRT status code.
    157  * @param   uPixelFormat        Pixel format to use for conversion.
     157 * @param   enmPixelFormat      Pixel format to use for conversion.
    158158 * @param   paDst               Pointer to destination buffer.
    159159 * @param   uDstWidth           Width (X, in pixels) of destination buffer.
     
    163163 * @param   uSrcHeight          Height (Y, in pixels) of source buffer.
    164164 */
    165 int RecordingUtilsRGBToYUV(uint32_t uPixelFormat,
     165int RecordingUtilsRGBToYUV(RECORDINGPIXELFMT enmPixelFormat,
    166166                           uint8_t *paDst, uint32_t uDstWidth, uint32_t uDstHeight,
    167167                           uint8_t *paSrc, uint32_t uSrcWidth, uint32_t uSrcHeight)
    168168{
    169     switch (uPixelFormat)
     169    switch (enmPixelFormat)
    170170    {
    171171        case RECORDINGPIXELFMT_RGB32:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette