Add support for YUV440 (#28)

* Add support for YUV440

* Add YUV440 to RGB kernels

* code clean up

[ROCm/rocjpeg commit: d0b812bc26]
이 커밋은 다음에 포함됨:
Aryan Salmanpour
2024-05-30 22:00:07 -04:00
커밋한 사람 GitHub
부모 4f5187a2ae
커밋 048d2d8fca
11개의 변경된 파일과 546개의 추가작업 그리고 18개의 파일을 삭제
+1 -1
파일 보기
@@ -91,7 +91,7 @@ int main(int argc, char **argv) {
std::cout << "Input file name: " << base_file_name << std::endl;
std::cout << "Input image resolution: " << widths[0] << "x" << heights[0] << std::endl;
std::cout << "Chroma subsampling: " + chroma_sub_sampling << std::endl;
if (subsampling == ROCJPEG_CSS_440 || subsampling == ROCJPEG_CSS_411) {
if (subsampling == ROCJPEG_CSS_411) {
std::cerr << "The chroma sub-sampling is not supported by VCN Hardware" << std::endl;
if (is_dir) {
std::cout << std::endl;