Added first half of ROI support (#41)

* Finished first half of adding ROI functionality to rocJPEG

* took out unnecessary .h file

* addressed review comments from Aryan

* fixed typo

* fixed documentation in code for decode_params

* fixed the spaces

[ROCm/rocjpeg commit: 6ce373b2a1]
Этот коммит содержится в:
Pavel Tcherniaev
2024-07-12 12:22:49 -07:00
коммит произвёл GitHub
родитель 6354880116
Коммит 3e681d3cd3
4 изменённых файлов: 54 добавлений и 33 удалений
+1 -1
Просмотреть файл
@@ -77,7 +77,7 @@ void ThreadFunction(std::vector<std::string>& jpegFiles, RocJpegHandle rocjpeg_h
return;
}
if (rocjpeg_util.GetChannelPitchAndSizes(decode_params.output_format, subsampling, widths, heights, num_channels, *output_image, channel_sizes)) {
if (rocjpeg_util.GetChannelPitchAndSizes(decode_params, subsampling, widths, heights, num_channels, *output_image, channel_sizes)) {
std::cerr << "ERROR: Failed to get the channel pitch and sizes" << std::endl;
return;
}