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

[ROCm/rocdecode commit: e3b3fe9e8e]
이 커밋은 다음에 포함됨:
Lakshmi Kumar 작성하고 GitHub가 2024-07-26 17:09:58 -04:00를 커밋함
1 부모 93c3e5e9ec
커밋 b9c293a754
13 파일이 변경됨
+173 -17

검색과 일치하는 파일 없음

+4
파일 보기
@@ -255,6 +255,10 @@ int main(int argc, char **argv) {
VideoDemuxer demuxer(input_file_path.c_str());
rocDecVideoCodec rocdec_codec_id = AVCodec2RocDecVideoCodec(demuxer.GetCodecID());
RocVideoDecoder viddec(device_id, mem_type, rocdec_codec_id, false, p_crop_rect);
if(!viddec.CodecSupported(device_id, rocdec_codec_id, demuxer.GetBitDepth())) {
std::cerr << "GPU doesn't support codec!" << std::endl;
return 0;
}
VideoPostProcess post_process;
std::string device_name, gcn_arch_name;