Graf Tiomantas

74 Tiomáintí

Údar SHA1 Teachtaireacht Dáta
Aryan Salmanpour 9394c3cea9 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

[ROCm/rocjpeg commit: a4f3daef1e]
2024-11-25 20:40:50 -05:00
Kiriti Gowda 26edb2e2fe Docs - Updates for 6.3 (#81)
[ROCm/rocjpeg commit: 241f9d731c]
2024-11-22 13:52:10 -05:00
spolifroni-amd a4726c3ce7 reverted README.md (#78)
* reverted README.md

* Update README.md

* Update README.md

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>

[ROCm/rocjpeg commit: fd32c06049]
2024-11-20 14:11:58 -05:00
Kiriti Gowda 540fe35baf Updates - Compiler & GFX ID (#77)
* Compiler updates

* GFX - ID updates

* CMakeLists - Updates

[ROCm/rocjpeg commit: 4e78bca06a]
2024-11-19 14:47:05 -05:00
dependabot[bot] 1c0ca8398e Bump rocm-docs-core[api_reference] from 1.8.4 to 1.8.5 in /docs/sphinx (#76)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.8.4 to 1.8.5.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/v1.8.5/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.8.4...v1.8.5)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[ROCm/rocjpeg commit: a861dc889f]
2024-11-19 08:22:51 -05:00
dependabot[bot] 6f113dc279 Bump rocm-docs-core[api_reference] from 1.8.3 to 1.8.4 in /docs/sphinx (#75)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: rocm-docs-core[api_reference]
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[ROCm/rocjpeg commit: a3f35079cb]
2024-11-18 08:19:10 -05:00
spolifroni-amd f65675d9bc Edited the readme and reorganized the toc (#69)
* Edited the readme so that it doesn't duplicate information in the official online docs

* rearranged the toc to match the new structure

* moved Docker section

[ROCm/rocjpeg commit: b2973fe98b]
2024-11-08 08:43:46 -05:00
Kiriti Gowda 178508dcd1 GPU Arch - Updates & Fixes (#72)
[ROCm/rocjpeg commit: b414b5ed6c]
2024-11-07 15:13:48 -08:00
Peter Park 14160190e5 bump rocm-docs-core to 1.8.3 (#71)
* bump rocm-docs-core to 1.8.3

* update Read the Docs Python version to 3.10

[ROCm/rocjpeg commit: 7195e4c433]
2024-11-07 17:25:21 -05:00
Aryan Salmanpour 89d0137d38 increase the mem_alignment size used for output image rgb memory allocation (#70)
[ROCm/rocjpeg commit: c92ba3d1c4]
2024-11-01 16:38:38 -04:00
Aryan Salmanpour 75cdddf403 use a single context for decoding (#68)
[ROCm/rocjpeg commit: 6d31992746]
2024-10-30 11:48:47 -04:00
Aryan Salmanpour 989e65a6fc Fix a typo in README/Docs (#66)
[ROCm/rocjpeg commit: 4762ac6b84]
2024-10-24 10:44:36 -04:00
Aryan Salmanpour 38a066f648 Find the minimum supported libva version 1.16 when building rocJPEG (#65)
[ROCm/rocjpeg commit: c7bc72c2e3]
2024-10-23 13:53:43 -04:00
spolifroni-amd 07d8e3e69a Prepare documentation (#57)
* Updated the readme file to point to the official documentation

* first commit of new documentation structure

* split up and reconfigured Using rocJpeg

* Updated the readme file to point to the official documentation

* first commit of new documentation structure

* split up and reconfigured Using rocJpeg

* fixed missing space

* All changes asked for in the PR except the Destroy Handles part.

* separated creating and destroying handles; added a destroying handles section; added links to hipmalloc() and hipfree()

* removed the installation and build sections so that it doesn't conflict/go out of sync with the official doc

* putting readme back the way it was, minus documentation section

* changed some wording around hipFree()

[ROCm/rocjpeg commit: 31610c7472]
2024-10-22 17:23:18 -04:00
Aryan Salmanpour 73b2aab52e Update the libva requirement (#64)
* Update the libva requirement

* clean up READNE file

[ROCm/rocjpeg commit: 6b0f8dac8d]
2024-10-22 11:55:31 -04:00
Aryan Salmanpour 2e2c330953 Exclude YUV 4:4:0 for RGB format conversion in VCN on MI300, as it is not supported. Instead, use HIP kernels. (#63)
[ROCm/rocjpeg commit: de144cd941]
2024-10-10 15:42:38 -04:00
Aryan Salmanpour 14e3aa20d8 Add code owners for the rocJPEG (#62)
* Add code owners for the rocJPEG

* code clean up

[ROCm/rocjpeg commit: 45d8f696d4]
2024-10-09 16:47:14 -04:00
Aryan Salmanpour c9bbdb82d3 Fix few typos in the header file - no functional changes (#61)
[ROCm/rocjpeg commit: 253daa501f]
2024-10-09 14:04:26 -04:00
Lakshmi Kumar 2d74210ae7 update clang path per packaging (#59)
[ROCm/rocjpeg commit: f05d8862c8]
2024-10-01 13:20:21 -04:00
Aryan Salmanpour 08a5ccfb0c Optimize the memory pool allocation bso that its size doesn't exceed the max_pool_size_ (#58)
[ROCm/rocjpeg commit: ad90eb4582]
2024-10-01 09:14:15 -04:00
Aryan Salmanpour 094386c727 update docs (#56)
* update docs

* remove extra line

* clean up

[ROCm/rocjpeg commit: c0ce1e45b0]
2024-09-18 12:56:20 -04:00
Aryan Salmanpour dd860bbe26 rename yuv to yuv_planar for the output format (#55)
[ROCm/rocjpeg commit: 7ad5e10137]
2024-09-11 14:43:14 -04:00
Aryan Salmanpour 32cb561609 Increase the output image size for rgb and rgb_planar (#54)
* Increase the output image size for rgb and rgb_planar to avoi

* code clean up

[ROCm/rocjpeg commit: 459f12b6b3]
2024-09-10 16:39:38 -04:00
Aryan Salmanpour e43acce286 Add support for ROI decode on MI300 (#53)
* Add support for ROI decode on MI300

* Add ROI decode support for batched decoding

* clean up

* clean up

* Fix a typo and update sample's readme

[ROCm/rocjpeg commit: 7b321a86ed]
2024-08-22 17:04:03 -04:00
Aryan Salmanpour 2d7c4f0040 Update Samples (#52)
[ROCm/rocjpeg commit: c9d773d89a]
2024-08-20 08:26:38 -04:00
Aryan Salmanpour b52918468c Update jpegDecode sample (#51)
* Update jpegDecode sample

* Address review comments

[ROCm/rocjpeg commit: 0cff7dd26f]
2024-08-15 19:29:29 -04:00
Aryan Salmanpour 88741716d4 Modify the memory pool access for batch decode submission (#50)
[ROCm/rocjpeg commit: 7129a01f88]
2024-08-14 16:45:05 -04:00
Pavel Tcherniaev 7eeba4c27a 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

[ROCm/rocjpeg commit: b68b9ba8ea]
2024-08-13 21:30:26 -04:00
Kiriti Gowda 72c1799115 Setup - Mariner Support (#49)
* Setup - Mariner Support

* Docs - Updates

[ROCm/rocjpeg commit: 750a59c5d9]
2024-08-07 10:21:13 -04:00
Aryan Salmanpour a885d6178e Samples - updates & fixes (#47)
* Samples - updates & fixes

* use std::cerr

[ROCm/rocjpeg commit: 45b7944064]
2024-07-25 14:04:20 -04:00
Aryan Salmanpour 52403fcf28 CMakeLists - updates and clean up (#46)
* CMakeLists - updates and clean up

* Update the vcn joeg spec table

[ROCm/rocjpeg commit: 92d545f42b]
2024-07-24 12:36:54 -04:00
Lakshmi Kumar 06070d2d60 add version file (#45)
[ROCm/rocjpeg commit: 10c5ccf9d4]
2024-07-22 17:31:45 -04:00
Aryan Salmanpour 7bfa4af54e CMakeLists/README/DOC - updates and fixes (#43)
* CMakeLists/README/DOC - updates and fixes

* Fix few typos in the sample code in doc

* Add a sample code snippet for decoding a batch of jpeg images

[ROCm/rocjpeg commit: 7fafba6e70]
2024-07-22 12:12:35 -04:00
Aryan Salmanpour d1610bc687 Update the MemoryPool by defining the max pool size, and use it when adding a new entry to the pool (#44)
* Update the MemoryPool by defining the max pool size, and use it when adding a new entry to the pool

* Fix finding the gfx942_mi300x

[ROCm/rocjpeg commit: 6d7d72c6da]
2024-07-19 19:04:31 -04:00
Sam Wu 4eb157f81b Set libva driver path in env on sles15 (#40)
* Set libva driver path in env on sles15

* Refactor runTestCommand logic

[ROCm/rocjpeg commit: c3d07f42a0]
2024-07-16 11:30:17 -06:00
Aryan Salmanpour edc41923b4 Update the GetFilePaths function to recursively add only JPEG file paths (#42)
[ROCm/rocjpeg commit: a5b31eec78]
2024-07-15 12:46:07 -04:00
Pavel Tcherniaev 3e681d3cd3 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]
2024-07-12 15:22:49 -04:00
Aryan Salmanpour 6354880116 Add support for rocJpegDecodeBatched API - part 2 of 2 (#39)
* Modify the batchDecode submission

* Add support for grouping the jpeg streams based on their chroma_subsampling, width, and height

* Modify the RocJpegVappiMemPoolEntry to use vectors for va_surface_ids and hip_interops

* Add a function to get the current vcn jpeg spec

* Add support to get hip interop mem for the batched submission

* switch to std::mutext

* Updatet the rocJPEG version

* use std::find to find the surface_id

* correct the vcn_jpeg_spec_ table for gfx942-mi300a/mi300x

* Fix typos

* pass the decode_params to the SubmitDecode function

[ROCm/rocjpeg commit: 3f0be8387e]
2024-07-12 15:20:38 -04:00
Aryan Salmanpour eece5aee73 Update documentation for using rocJPEG (#37)
* Update documentation for using rocjpeg

* clean up

* Update the jpeg table

* update the sample code in section 11

* Update Readme

[ROCm/rocjpeg commit: d9df1e04b5]
2024-07-08 13:29:01 -04:00
Aryan Salmanpour 2e0f1135b5 update the vcn_jpeg_spec_ table (#38)
[ROCm/rocjpeg commit: 03f8bd0fa1]
2024-07-08 09:32:01 -04:00
Aryan Salmanpour 236d0cae97 use supported VA_FOURCC_* instead of the VA_RT_FORMAT_* for the internel mem_pool_ key entries (#36)
[ROCm/rocjpeg commit: 6f5b8f35a5]
2024-07-04 15:15:50 -04:00
Aryan Salmanpour 3fb66d90e1 Fix a bug where the dcoded output is not updated (#35)
* Fix a bug where the dcoded output is not updated

* code clean up - remove redundant if check

[ROCm/rocjpeg commit: bd09811662]
2024-07-04 13:13:39 -04:00
Aryan Salmanpour c2411920c0 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

[ROCm/rocjpeg commit: 44f74c4958]
2024-06-26 09:00:45 -04:00
Aryan Salmanpour 08f7236c94 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

[ROCm/rocjpeg commit: c660aeab43]
2024-06-13 14:04:53 -04:00
Kiriti Gowda 514a174c43 Setup - Upgrade (#30)
[ROCm/rocjpeg commit: 3a65ac9aea]
2024-06-11 17:27:16 -04:00
Aryan Salmanpour 46902dc30d Update docs and README (#29)
[ROCm/rocjpeg commit: 417a5f5c92]
2024-05-31 12:36:12 -04:00
Aryan Salmanpour 048d2d8fca Add support for YUV440 (#28)
* Add support for YUV440

* Add YUV440 to RGB kernels

* code clean up

[ROCm/rocjpeg commit: d0b812bc26]
2024-05-30 22:00:07 -04:00
Aryan Salmanpour 4f5187a2ae Add support for handling exceptions while using the std::filesystem::recursive_directory_iterator (#27)
[ROCm/rocjpeg commit: b7edd5de5b]
2024-05-30 09:08:35 -04:00
Aryan Salmanpour e6f95ab429 Update README and setup script (#26)
[ROCm/rocjpeg commit: f0641d4811]
2024-05-16 09:17:50 -04:00
Aryan Salmanpour ab073db426 Add/update comments to the code (#25)
* Add/update comments to the code

* update comments

* Update comments

[ROCm/rocjpeg commit: 73c0b10f6a]
2024-05-15 13:44:51 -04:00