full
tests whether a Queue
object is full,
that is whether the number of frames it contains is equal to its capacity.
empty
tests whether a Queue
object is empty, that is
whether it contains no frames.
Arguments
- x
A
Queue
object.
Author
Simon Garnier, garnier@njit.edu
Examples
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
buf <- queue(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found
full(buf)
#> Error in eval(expr, envir, enclos): object 'buf' not found