Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Aryan Salmanpour 06a08d3cb8 Update Copyright year (#222) 2026-01-26 11:05:59 -08:00
Aryan Salmanpour 692d4bb72c Add support for multiple regions of interest (ROI) for batch JPEG decoding (#126) 2025-03-05 17:06:04 -05:00
Aryan Salmanpour de14139d09 Update copyright year to 2025 (#103) 2025-01-02 17:25:30 -05:00
Aryan Salmanpour a4f3daef1e Update samples (#82)
* Update samples

* Simplify the arguments of the DecodeImages function by grouping some of them into a struct.

* Modify the logic for selecting the valid images per batch

* Modify the logic for selecting the valid images per batch for jpegDecodeBatched sample too
2024-11-25 20:40:50 -05:00
Aryan Salmanpour c9d773d89a Update Samples (#52) 2024-08-20 08:26:38 -04:00
Pavel Tcherniaev b68b9ba8ea Roi decode feature (#48)
* implemented ROI for NATIVE, YUV_PLANAR, Y, RGB and RGB_PLANAR

* added the changes requested by Aryan in the PR

* prelim check in of ROI

* finished RGB and RGB_PLANAR ROI implementation and testing in rocjpeg_decoder.cpp, updated the versions to 0.6.0, updated jpegdecode.cpp and jpegdecodedbatched.cpp. Still need to modify jpegmultithreads.cpp. Need to run tests on JPEG 444 and 440. And need to add test to ctests and make test. Will update this PR when I've added everything mentioned here.

* changed new_offset and new_uv_offset to roi_offset and roi_uv_offset in rocjpeg_decoder.cpp. Added ROI handling in jpegdecodemultithreads sample. Still need to run tests on jpegdecodemultithreads and jpegdecodebatched.

* addressed all changes Aryan mentioned for PR 48 on August 12

* added tests to ctests and make tests and fixed conflict in jpegdecodemultithreads.cpp

* addressed latest change requests

* removed spaces after case VA_FOURCC_444P

* updated ctests and make tests

* fixed copy/paste error for ctests

* fixed typo with extra $

* added print statement for cropped image dimensions

* addressed latest change requests from Aryan. Ran make tests and ctests, all passed

* added workaround for YUV440 to RGB conversion
2024-08-13 21:30:26 -04:00
Aryan Salmanpour 45b7944064 Samples - updates & fixes (#47)
* Samples - updates & fixes

* use std::cerr
2024-07-25 14:04:20 -04:00
Pavel Tcherniaev 6ce373b2a1 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
2024-07-12 15:22:49 -04:00
Aryan Salmanpour 44f74c4958 Use the standard .yuv and .rgb file extensions when saving the decoded jpeg outputs (#34)
* Use the standard .yuv and .rgb file extensions when saving the decoded jpeg outputs

* modify the file description for saving
2024-06-26 09:00:45 -04:00
Aryan Salmanpour c660aeab43 Add support for rocJpegDecodeBatched API - part 1 of 2 (#31)
* Add initial support for batch decoding

* Add support for reading and parsing the images in batches and allocating the output buffers

* Add initial support for the rocJpegDecodeBatched API

* use recursive_mutex to allow DecodeBatched and Decode functions called concurrently

* code cleanup

* Add a CTEST for jpegdecodebatched

* modify the help message

* code clean up
2024-06-13 14:04:53 -04:00