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

mj2_video_target::set_timescale

Java: Mj2_video_target::Set_timescale

void set_timescale( kdu_uint32 ticks_per_second)

Java: void Set_timescale( long ticks_per_second)

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

Go to class description.


Synopsis

Sets the number of ticks per second which defines the time scale used to describe frame periods for the track. As an example, the most natural time scale for NTSC video involves 30000 ticks per second, with a frame-to-frame period of 1001 ticks.

This function must be called prior to the first call to open_image and it may not be called again, thereafter.


Arguments

ticks_per_second [kdu_uint32]


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