| synopsis || arguments || prev || next |
virtual void set_field_mode( int which)
Java: void Set_field_mode( int which)
[Declared in "../apps/compressed_io/kdu_video_io.h"]
This function may be called at any time, to specify which fields will be accessed by subsequent calls to open_image. If the video is progressive (see get_field_order), this function has no effect. Note that some video sources might not support anything other than progressive video, in which case the function will also do nothing.
Must be one of 0, 1 or 2. If 0, calls to open_image open the first field of the next frame in sequence. If 1, calls to open_image open the second field of the next frame in sequence. If 2, open_image opens each field of the frame in sequence.