从单帧回调中提取的原始帧数据。
| 35 | |
| 36 | /// 从单帧回调中提取的原始帧数据。 |
| 37 | pub struct AvfFrameData { |
| 38 | /// 像素数据(深拷贝自 CVPixelBuffer) |
| 39 | pub data: Vec<u8>, |
| 40 | /// 图像宽度(像素) |
| 41 | pub width: usize, |
| 42 | /// 图像高度(像素) |
| 43 | pub height: usize, |
| 44 | /// 每行字节数(步长 / stride / bytes_per_row) |
| 45 | pub bytes_per_row: usize, |
| 46 | /// 硬件时间戳(CMTime 转换为纳秒,单调递增) |
| 47 | pub timestamp_ns: u64, |
| 48 | } |
| 49 | |
| 50 | // --------------------------------------------------------------------------- |
| 51 | // Ivar 包装类型 |
nothing calls this directly
no outgoing calls
no test coverage detected