pub struct Capture {
pub last_frame: Option<Frame>,
/* private fields */
}Fields§
§last_frame: Option<Frame>Implementations§
Source§impl Capture
impl Capture
pub fn new(vce: &Vce) -> Capture
Sourcepub fn finish_line(&mut self, timing: &VideoTiming, row: &[u16], vce: &mut Vce)
pub fn finish_line(&mut self, timing: &VideoTiming, row: &[u16], vce: &mut Vce)
Called once the row of a line has ended, with the row the pixel path made of the VDCs’.
[emu: Mednafen vce.cpp] A row is the 1365 master clocks from the end of the line’s
horizontal sync to the end of the next line’s: dot 0 is the first dot after the sync, so
a 256-wide picture (HDS 2) starts at dot 32 and fits in the row. This is the same
raster as timing.start_mclk, shifted by HSYNC_CLOCKS.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Capture
impl<'de> Deserialize<'de> for Capture
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Capture
impl StructuralPartialEq for Capture
Auto Trait Implementations§
impl Freeze for Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnwindSafe for Capture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more