Test Upgrades (#395)

* adds av1 to ctest

* add av1 support for batch sample

* add test to make test also

* path update for make test

* add function for codec support check

* add changes to batch sample

* addressign review comment

* modify all apps to check codec support
이 커밋은 다음에 포함됨:
Lakshmi Kumar 작성하고 GitHub가 2024-07-26 17:09:58 -04:00를 커밋함
1 부모 d0924490a8
커밋 e3b3fe9e8e
13 파일이 변경됨
+173 -17

검색과 일치하는 파일 없음

+4
파일 보기
@@ -178,6 +178,10 @@ int main(int argc, char **argv) {
v_device_id[i] = i % hip_vis_dev_count;
}
std::unique_ptr<RocVideoDecoder> dec(new RocVideoDecoder(v_device_id[i], mem_type, rocdec_codec_id, b_force_zero_latency, p_crop_rect));
if (!dec->CodecSupported(v_device_id[i], rocdec_codec_id, demuxer->GetBitDepth())) {
std::cerr << "Codec not supported on GPU, skipping this file!" << std::endl;
continue;
}
v_demuxer.push_back(std::move(demuxer));
v_viddec.push_back(std::move(dec));
}