|
@@ -77,6 +77,10 @@ void cbSaveToLocal(uvc_frame_t *frame, void *ptr)
|
|
|
|
|
|
MppDecoder::getInstance().decodeJpegToRgb((const char *)frame->data, frame->data_bytes, &rgb_ptr, &frame_width, &frame_height);
|
|
|
|
|
|
+ RgaColorTransfer::getInstance()->setSrc(rgb_ptr, frame_width, frame_height, IM_YUV_TO_RGB_BT709_LIMIT);
|
|
|
+ RgaColorTransfer::getInstance()->setDst(resize_ptr, resize_width, resize_height, IM_RGB_TO_RGB_BT709_LIMIT);
|
|
|
+
|
|
|
+
|
|
|
end_time = std::chrono::high_resolution_clock::now();
|
|
|
|
|
|
std::cout
|