MCPcopy Create free account
hub / github.com/Recordscript/recordscript / get_available_config

Function get_available_config

libs/scrap/src/common/vram.rs:371–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369impl VRamDecoderImage<'_> {}
370
371fn get_available_config() -> ResultType<Available> {
372 let available = hbb_common::config::HwCodecConfig::load().vram;
373 match Available::deserialize(&available) {
374 Ok(v) => Ok(v),
375 Err(_) => Err(anyhow!("Failed to deserialize:{}", available)),
376 }
377}
378
379pub(crate) fn check_available_vram() -> String {
380 let d = DynamicContext {

Callers 2

availableMethod · 0.85

Calls 1

loadFunction · 0.85

Tested by

no test coverage detected