Home > chronux > fly_track > videoIO > videoIO_2006a > @videoReader > next.m

next

PURPOSE ^

WORKED=NEXT(VR)

SYNOPSIS ^

function worked = next(vr)

DESCRIPTION ^

WORKED=NEXT(VR)
  Advances to the next frame in the video.  Returns 0 if the next frame is
  not available.  

  After the videoReader constructor is called, NEXT, SEEK, or STEP should
  be called at least once before GETFRAME is called. 

  See videoReader/getinfo for more details on how many frames can be read
  from a video. 
  
SEE ALSO
  videoReader

Copyright (c) 2006 Gerald Dalley
See "MIT.txt" in the installation directory for licensing details (especially
when using this library on GNU/Linux).

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function worked = next(vr)
0002 %WORKED=NEXT(VR)
0003 %  Advances to the next frame in the video.  Returns 0 if the next frame is
0004 %  not available.
0005 %
0006 %  After the videoReader constructor is called, NEXT, SEEK, or STEP should
0007 %  be called at least once before GETFRAME is called.
0008 %
0009 %  See videoReader/getinfo for more details on how many frames can be read
0010 %  from a video.
0011 %
0012 %SEE ALSO
0013 %  videoReader
0014 %
0015 %Copyright (c) 2006 Gerald Dalley
0016 %See "MIT.txt" in the installation directory for licensing details (especially
0017 %when using this library on GNU/Linux).
0018 
0019 worked = feval(vr.plugin, 'next', vr.handle);
0020

Generated on Fri 28-Sep-2012 12:34:30 by m2html © 2005