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]
This commit is contained in:
committed by
GitHub
orang tua
6354880116
melakukan
3e681d3cd3
@@ -113,7 +113,7 @@ int main(int argc, char **argv) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (rocjpeg_utils.GetChannelPitchAndSizes(decode_params.output_format, subsamplings[index], widths[index].data(), heights[index].data(), num_channels, output_images[index], channel_sizes)) {
|
||||
if (rocjpeg_utils.GetChannelPitchAndSizes(decode_params, subsamplings[index], widths[index].data(), heights[index].data(), num_channels, output_images[index], channel_sizes)) {
|
||||
std::cerr << "ERROR: Failed to get the channel pitch and sizes" << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user