Struct rk3399_pac::Vepu
source · pub struct Vepu { /* private fields */ }
Expand description
Video Processor Unit (VPU) Encoder Registers
Implementations§
source§impl Vepu
impl Vepu
sourcepub const PTR: *const RegisterBlock = {0xff650000 as *const vepu::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xff650000 as *const vepu::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn swreg_5(&self) -> &Swreg5
pub fn swreg_5(&self) -> &Swreg5
0x14 - 6st quantization for jpeg lumin table/part 1 for qp round
sourcepub fn swreg_23(&self) -> &Swreg23
pub fn swreg_23(&self) -> &Swreg23
0x5c - 8st quantization for jpeg chroma table/part 3 for qp round
sourcepub fn swreg_65_reuse(&self) -> &Swreg65Reuse
pub fn swreg_65_reuse(&self) -> &Swreg65Reuse
0x104 - checkpoint 1 and 2
sourcepub fn swreg_66_reuse(&self) -> &Swreg66Reuse
pub fn swreg_66_reuse(&self) -> &Swreg66Reuse
0x108 - checkpoint 3 and 4
sourcepub fn swreg_67_reuse(&self) -> &Swreg67Reuse
pub fn swreg_67_reuse(&self) -> &Swreg67Reuse
0x10c - checkpoint 5 and 6
sourcepub fn swreg_68_reuse(&self) -> &Swreg68Reuse
pub fn swreg_68_reuse(&self) -> &Swreg68Reuse
0x110 - checkpoint 7 and 8
sourcepub fn swreg_69_reuse(&self) -> &Swreg69Reuse
pub fn swreg_69_reuse(&self) -> &Swreg69Reuse
0x114 - checkpoint 9 and 10
sourcepub fn swreg_70_reuse(&self) -> &Swreg70Reuse
pub fn swreg_70_reuse(&self) -> &Swreg70Reuse
0x118 - checkpoint word error 1 and 2
sourcepub fn swreg_71_reuse(&self) -> &Swreg71Reuse
pub fn swreg_71_reuse(&self) -> &Swreg71Reuse
0x11c - checkpoint word error 1 and 2
sourcepub fn swreg_72_reuse(&self) -> &Swreg72Reuse
pub fn swreg_72_reuse(&self) -> &Swreg72Reuse
0x120 - checkpoint word error 1 and 2
sourcepub fn swreg_73_reuse(&self) -> &Swreg73Reuse
pub fn swreg_73_reuse(&self) -> &Swreg73Reuse
0x124 - checkpoint delta QP register
sourcepub fn swreg_76_reuse(&self) -> &Swreg76Reuse
pub fn swreg_76_reuse(&self) -> &Swreg76Reuse
0x130 - encoder control regsiter 0
sourcepub fn swreg_100_reuse(&self) -> &Swreg100Reuse
pub fn swreg_100_reuse(&self) -> &Swreg100Reuse
0x190 - QP register
sourcepub fn swreg_101_read(&self) -> &Swreg101Read
pub fn swreg_101_read(&self) -> &Swreg101Read
0x194 - hw config reg
sourcepub fn swreg_106_reuse(&self) -> &Swreg106Reuse
pub fn swreg_106_reuse(&self) -> &Swreg106Reuse
0x1a8 - encoder control register 1
sourcepub fn swreg_107_reuse(&self) -> &Swreg107Reuse
pub fn swreg_107_reuse(&self) -> &Swreg107Reuse
0x1ac - JPEG control regsiter
sourcepub fn swreg_108_reuse(&self) -> &Swreg108Reuse
pub fn swreg_108_reuse(&self) -> &Swreg108Reuse
0x1b0 - intra_slice_bmp2
sourcepub fn swreg_110_read(&self) -> &Swreg110Read
pub fn swreg_110_read(&self) -> &Swreg110Read
0x1b8 - product ID
sourcepub fn swreg_120_183(&self) -> &Swreg120_183
pub fn swreg_120_183(&self) -> &Swreg120_183
0x1e0 - DMV_4p_1p_penalty