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

kdu_simple_video_source::open

Java: Kdu_simple_video_source::Open

void open( const char * fname, kdu_uint32 & flags)

Java: void Open( String fname, long[] flags)

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

Go to class description.


Synopsis

Closes any currently open file and attempts to open a new one, generating an appropriate error (through kdu_error) if the indicated file cannot be opened. Sets flags to the value of the flags word recovered from the file. Currently, only two flags are defined, KDU_SIMPLE_VIDEO_YCC and KDU_SIMPLE_VIDEO_RGB. If neither is present, the first image component is interpreted as a monochrome image for each video frame.


Arguments

fname [const char *]

Relative path name of file to be opened.

flags [kdu_uint32 &]


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