DiscussionsIssue archiveOCCT:Visualization

Archived issue #0032092

Visualization, TKService - Image_VideoRecorder writes garbage from Grayscale image

Open CASCADEOCCT:Visualizationclosed4 public notes

Search issues

Description

Image_VideoRecorder writes something wrong when data comes in different pixel format (Image_Format_Gray).

It is supposed to provide support for such formats or to issue an error.

Public activity

4 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Commenter 1.

[revision removed]


Detailed log of new commits:

Author: Commenter 1
Date: Thu Sep 9 22:34:48 2021 +0300

    0032092: Visualization, TKService - Image_VideoRecorder writes garbage from Grayscale image
    
    Image_VideoRecorder::writeVideoFrame(), added protection from API misuse.
02Commenter 1
Please raise the patch
- OCCT: branch CR32092.
03Commenter 3
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17358.54000000042 / 17496.500000000422 [-0.79%]
Products
Total CPU difference: 11397.800000000112 / 11567.680000000111 [-1.47%]
Windows-64-VC14:
OCCT
Total CPU difference: 19328.109375 / 19307.609375 [+0.11%]
Products
Total CPU difference: 12733.328125 / 12920.953125 [-1.45%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
04Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records