Changeset 105009 in vbox
- Timestamp:
- Jun 24, 2024 5:57:54 PM (5 months ago)
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r105006 r105009 913 913 RECORDINGVIDEOFRAME Frame = 914 914 { 915 (uint16_t)w, (uint16_t)h,916 (uint8_t )pFBInfo->u16BitsPerPixel, RECORDINGPIXELFMT_BRGA32, pFBInfo->u32LineSize,915 { (uint32_t)w, (uint32_t)h, 916 (uint8_t )pFBInfo->u16BitsPerPixel, RECORDINGPIXELFMT_BRGA32, pFBInfo->u32LineSize }, 917 917 pFBInfo->pu8FramebufferVRAM + (y * pFBInfo->u32LineSize + x * (pFBInfo->u16BitsPerPixel / 8)), 918 918 pFBInfo->w * pFBInfo->u32LineSize, 919 (uint16_t)x, (uint16_t)y919 { (uint32_t)x, (uint32_t)y } 920 920 }; 921 921 i_recordingScreenUpdate(uScreenId, &Frame); … … 958 958 RECORDINGVIDEOFRAME Frame = 959 959 { 960 (uint16_t)ulWidth, (uint16_t)ulHeight,961 (uint8_t )ulBitsPerPixel, RECORDINGPIXELFMT_BRGA32, ulBytesPerLine,960 { (uint32_t)ulWidth, (uint32_t)ulHeight, 961 (uint8_t )ulBitsPerPixel, RECORDINGPIXELFMT_BRGA32, ulBytesPerLine }, 962 962 pAddress, ulHeight * ulBytesPerLine, 963 0, 0963 { 0, 0 } 964 964 }; 965 965 … … 1018 1018 RECORDINGVIDEOFRAME Frame = 1019 1019 { 1020 (uint16_t)w, (uint16_t)h,1021 (uint8_t)ulBitsPerPixel, RECORDINGPIXELFMT_BRGA32, ulBytesPerLine,1020 { (uint32_t)w, (uint32_t)h, 1021 (uint8_t)ulBitsPerPixel, RECORDINGPIXELFMT_BRGA32, ulBytesPerLine }, 1022 1022 pu8Dst, h * ulBytesPerLine, 1023 (uint16_t)x, (uint16_t)y1023 { (uint32_t)x, (uint32_t)y } 1024 1024 }; 1025 1025 … … 2282 2282 RECORDINGVIDEOFRAME Frame = 2283 2283 { 2284 (uint16_t)pFBInfo->w, (uint16_t)pFBInfo->h, 2285 (uint8_t)pFBInfo->u16BitsPerPixel, RECORDINGPIXELFMT_BRGA32, pFBInfo->u32LineSize, //pFBInfo->w * (pFBInfo->u16BitsPerPixel / 8), 2286 pFBInfo->pu8FramebufferVRAM, pFBInfo->h * pFBInfo->u32LineSize, 0, 0 2284 { (uint32_t)pFBInfo->w, (uint32_t)pFBInfo->h, 2285 (uint8_t)pFBInfo->u16BitsPerPixel, RECORDINGPIXELFMT_BRGA32, pFBInfo->u32LineSize }, 2286 pFBInfo->pu8FramebufferVRAM, pFBInfo->h * pFBInfo->u32LineSize, 2287 { 0, 0 } 2287 2288 }; 2288 2289 -
trunk/src/VBox/Main/src-client/RecordingInternals.cpp
r105006 r105009 37 37 # include <iprt/formats/bmp.h> 38 38 #endif 39 40 #include "../src-client/Remotery.h"41 39 42 40 -
trunk/src/VBox/Main/src-client/RecordingUtils.cpp
r105006 r105009 436 436 437 437 /* Bitmaps (DIBs) are stored upside-down (thanks, OS/2), so work from the bottom up. */ 438 uint32_t offSrc = cbRGBBuf - uBytesPerLine;438 size_t offSrc = cbRGBBuf - uBytesPerLine; 439 439 440 440 /* Do the copy. */
Note:
See TracChangeset
for help on using the changeset viewer.