| synopsis || arguments || prev || next |

kdu_compressed_video_source::set_field_mode

Java: Kdu_compressed_video_source::Set_field_mode

virtual void set_field_mode( int which)

Java: void Set_field_mode( int which)

[Declared in "../apps/compressed_io/kdu_video_io.h"]

Go to class description.


Synopsis

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.


Arguments

which [int]

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.


| top || synopsis || arguments || prev || next |