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

kdu_simple_video_target::open

Java: Kdu_simple_video_target::Open

void open( const char * fname, kdu_uint32 timescale, kdu_uint32 frame_period, kdu_uint32 flags)

Java: void Open( String fname, long timescale, long frame_period, long flags)

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

Go to class description.


Synopsis

Opens the indicated file for writing, generating an error message through kdu_error, it this is not possible. Writes a 16-byte header consisting of 4 integers, in big-endian byte order. The first holds the magic string, "MJC2"; the second holds the time scale (clock ticks per second); the third holds a frame period (number of clock ticks between frame); and the fourth holds a flags word. Currently, only two flags are defined, KDU_SIMPLE_VIDEO_YCC and KDU_SIMPLE_VIDEO_RGB. If neither flag is set, the first component of each video image will be taken to represent a monochrome image (and that is all that can be assumed).


Arguments

fname [const char *]

timescale [kdu_uint32]

frame_period [kdu_uint32]

flags [kdu_uint32]


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