[Issue type] update
RGB colorspace is used in mediavision testsuite. It has to be
changed to RGBA to use visualizer utility. With this commit,
RGB can be used without changing color space.
Change-Id: I3e15bf0457414f4a2bf27990f954dea73c9e2abc
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
cv::Mat _frame, frame;
- _frame = cv::Mat(cv::Size(width, height), CV_8UC4, buffer);
- cv::cvtColor(_frame, frame, cv::COLOR_RGBA2BGR);
+ _frame = cv::Mat(cv::Size(width, height), CV_8UC3, buffer);
+ cv::cvtColor(_frame, frame, cv::COLOR_RGB2BGR);
std::vector<int> qualityType;
std::vector<uchar> buff;