openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] Re: New framesPerSecond Attribute?


From: Florian Kainz
Subject: Re: [Openexr-devel] Re: New framesPerSecond Attribute?
Date: Mon, 23 Oct 2006 10:58:15 -0700
User-agent: Mozilla Thunderbird 1.0 (X11/20041207)

The following has been implemented:

* ImfStandardAttributes.h defines a new framesPerSecond attribute
  whose value is of type Rational.

* Class Rational, defined in ImfRational.h supports implicit
  conversion to double.  There is no implicit conversion from
  double.  Explicit conversion from double is supported;
  converting NTSC-like frame rates from Rational to double
  and back is lossless.

* ImfFramesPerSecond.h defines the exact values of a few common
  frame rates.  The header also includes a function that tries
  to guess exact frame rates from approximate ones.  For example,
  guessExactFps(29.97) returns Rational(30000,1001).

Florian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]