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]
Este cometimento está contido em:
Pavel Tcherniaev criou e GitHub cometeu 2024-07-12 15:22:49 -04:00
1 ascendente 6354880116
cometimento 3e681d3cd3
4 ficheiros modificados
+54 -33

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -100,7 +100,7 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
if (rocjpeg_utils.GetChannelPitchAndSizes(decode_params.output_format, subsampling, widths, heights, num_channels, output_image, channel_sizes)) {
if (rocjpeg_utils.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 EXIT_FAILURE;
}