Commit Graph

77 Commits

Author SHA1 Message Date
dependabot[bot] 6c62cafefe Bump rocm-docs-core[api_reference] from 1.9.1 to 1.10.0 in /docs/sphinx (#90)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.9.1 to 1.10.0.
- [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.9.1...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 09:40:18 -05:00
dependabot[bot] 217e4013b1 Bump rocm-docs-core[api_reference] from 1.9.0 to 1.9.1 in /docs/sphinx (#85)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.9.0 to 1.9.1.
- [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.9.0...v1.9.1)

---
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>
2024-11-28 10:20:01 -05:00
dependabot[bot] 57dc244b7e Bump rocm-docs-core[api_reference] from 1.8.5 to 1.9.0 in /docs/sphinx (#84)
Bumps [rocm-docs-core[api_reference]](https://github.com/ROCm/rocm-docs-core) from 1.8.5 to 1.9.0.
- [Release notes](https://github.com/ROCm/rocm-docs-core/releases)
- [Changelog](https://github.com/ROCm/rocm-docs-core/blob/v1.9.0/CHANGELOG.md)
- [Commits](https://github.com/ROCm/rocm-docs-core/compare/v1.8.5...v1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 06:46:24 -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
Kiriti Gowda 241f9d731c Docs - Updates for 6.3 (#81) 2024-11-22 13:52:10 -05:00
spolifroni-amd fd32c06049 reverted README.md (#78)
* reverted README.md

* Update README.md

* Update README.md

---------

Co-authored-by: Aryan Salmanpour <aryan.salmanpour@amd.com>
2024-11-20 14:11:58 -05:00
Kiriti Gowda 4e78bca06a Updates - Compiler & GFX ID (#77)
* Compiler updates

* GFX - ID updates

* CMakeLists - Updates
2024-11-19 14:47:05 -05:00
dependabot[bot] a861dc889f 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>
2024-11-19 08:22:51 -05:00
dependabot[bot] a3f35079cb 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>
2024-11-18 08:19:10 -05:00
spolifroni-amd b2973fe98b 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
2024-11-08 08:43:46 -05:00
Kiriti Gowda b414b5ed6c GPU Arch - Updates & Fixes (#72) 2024-11-07 15:13:48 -08:00
Peter Park 7195e4c433 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
2024-11-07 17:25:21 -05:00
Aryan Salmanpour c92ba3d1c4 increase the mem_alignment size used for output image rgb memory allocation (#70) 2024-11-01 16:38:38 -04:00
Aryan Salmanpour 6d31992746 use a single context for decoding (#68) 2024-10-30 11:48:47 -04:00
Aryan Salmanpour 4762ac6b84 Fix a typo in README/Docs (#66) 2024-10-24 10:44:36 -04:00
Aryan Salmanpour c7bc72c2e3 Find the minimum supported libva version 1.16 when building rocJPEG (#65) 2024-10-23 13:53:43 -04:00
spolifroni-amd 31610c7472 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()
2024-10-22 17:23:18 -04:00
Aryan Salmanpour 6b0f8dac8d Update the libva requirement (#64)
* Update the libva requirement

* clean up READNE file
2024-10-22 11:55:31 -04:00
Aryan Salmanpour de144cd941 Exclude YUV 4:4:0 for RGB format conversion in VCN on MI300, as it is not supported. Instead, use HIP kernels. (#63) 2024-10-10 15:42:38 -04:00
Aryan Salmanpour 45d8f696d4 Add code owners for the rocJPEG (#62)
* Add code owners for the rocJPEG

* code clean up
2024-10-09 16:47:14 -04:00
Aryan Salmanpour 253daa501f Fix few typos in the header file - no functional changes (#61) 2024-10-09 14:04:26 -04:00
Lakshmi Kumar f05d8862c8 update clang path per packaging (#59) 2024-10-01 13:20:21 -04:00
Aryan Salmanpour ad90eb4582 Optimize the memory pool allocation bso that its size doesn't exceed the max_pool_size_ (#58) 2024-10-01 09:14:15 -04:00
Aryan Salmanpour c0ce1e45b0 update docs (#56)
* update docs

* remove extra line

* clean up
2024-09-18 12:56:20 -04:00
Aryan Salmanpour 7ad5e10137 rename yuv to yuv_planar for the output format (#55) 2024-09-11 14:43:14 -04:00
Aryan Salmanpour 459f12b6b3 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
2024-09-10 16:39:38 -04:00
Aryan Salmanpour 7b321a86ed 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
2024-08-22 17:04:03 -04:00
Aryan Salmanpour c9d773d89a Update Samples (#52) 2024-08-20 08:26:38 -04:00
Aryan Salmanpour 0cff7dd26f Update jpegDecode sample (#51)
* Update jpegDecode sample

* Address review comments
2024-08-15 19:29:29 -04:00
Aryan Salmanpour 7129a01f88 Modify the memory pool access for batch decode submission (#50) 2024-08-14 16:45:05 -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
Kiriti Gowda 750a59c5d9 Setup - Mariner Support (#49)
* Setup - Mariner Support

* Docs - Updates
2024-08-07 10:21:13 -04:00
Aryan Salmanpour 45b7944064 Samples - updates & fixes (#47)
* Samples - updates & fixes

* use std::cerr
2024-07-25 14:04:20 -04:00
Aryan Salmanpour 92d545f42b CMakeLists - updates and clean up (#46)
* CMakeLists - updates and clean up

* Update the vcn joeg spec table
2024-07-24 12:36:54 -04:00
Lakshmi Kumar 10c5ccf9d4 add version file (#45) 2024-07-22 17:31:45 -04:00
Aryan Salmanpour 7fafba6e70 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
2024-07-22 12:12:35 -04:00
Aryan Salmanpour 6d7d72c6da 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
2024-07-19 19:04:31 -04:00
Sam Wu c3d07f42a0 Set libva driver path in env on sles15 (#40)
* Set libva driver path in env on sles15

* Refactor runTestCommand logic
2024-07-16 11:30:17 -06:00
Aryan Salmanpour a5b31eec78 Update the GetFilePaths function to recursively add only JPEG file paths (#42) 2024-07-15 12:46:07 -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 3f0be8387e 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
2024-07-12 15:20:38 -04:00
Aryan Salmanpour d9df1e04b5 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
2024-07-08 13:29:01 -04:00
Aryan Salmanpour 03f8bd0fa1 update the vcn_jpeg_spec_ table (#38) 2024-07-08 09:32:01 -04:00
Aryan Salmanpour 6f5b8f35a5 use supported VA_FOURCC_* instead of the VA_RT_FORMAT_* for the internel mem_pool_ key entries (#36) 2024-07-04 15:15:50 -04:00
Aryan Salmanpour bd09811662 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
2024-07-04 13:13:39 -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
Kiriti Gowda 3a65ac9aea Setup - Upgrade (#30) 2024-06-11 17:27:16 -04:00
Aryan Salmanpour 417a5f5c92 Update docs and README (#29) 2024-05-31 12:36:12 -04:00
Aryan Salmanpour d0b812bc26 Add support for YUV440 (#28)
* Add support for YUV440

* Add YUV440 to RGB kernels

* code clean up
2024-05-30 22:00:07 -04:00