gxci 0.3.9

A safe raw-and-HAL camera interface based on Daheng-Image's GxIAPI(Galaxy Camera SDK)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Placeholder

use crate::error::Result;
use crate::hal::config::*;
use crate::raw::gx_enum::GX_FEATURE_ID;

#[cfg(feature = "solo")]
pub fn gxi_get_payload_size() -> Result<u32> {
    let payload_size: u32 = gxi_get_feature_value(GX_FEATURE_ID::GX_INT_PAYLOAD_SIZE)?;
    println!("Now, payload size is {}", payload_size);
    Ok(payload_size)
}