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
Este commit está contenido en:
Lakshmi Kumar authored and GitHub committed 2024-07-26 17:09:58 -04:00
1 padre d0924490a8
commit e3b3fe9e8e
13 files changed
+173 -17

No files matched your search

@@ -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));
}