finished upgrade to ocio v2
This commit is contained in:
@@ -39,6 +39,10 @@ public:
|
||||
VideoParams(const int& width, const int& height, const PixelFormat::Format& format,
|
||||
const rational& pixel_aspect_ratio = 1,
|
||||
const Interlacing& interlacing = kInterlaceNone, const int& divider = 1);
|
||||
VideoParams(const int& width, const int& height, const int& depth,
|
||||
const PixelFormat::Format& format,
|
||||
const rational& pixel_aspect_ratio = 1,
|
||||
const Interlacing& interlacing = kInterlaceNone, const int& divider = 1);
|
||||
VideoParams(const int& width, const int& height, const rational& time_base,
|
||||
const PixelFormat::Format& format, const rational& pixel_aspect_ratio = 1,
|
||||
const Interlacing& interlacing = kInterlaceNone, const int& divider = 1);
|
||||
@@ -65,6 +69,17 @@ public:
|
||||
calculate_effective_size();
|
||||
}
|
||||
|
||||
int depth() const
|
||||
{
|
||||
return depth_;
|
||||
}
|
||||
|
||||
void set_depth(int depth)
|
||||
{
|
||||
depth_ = depth;
|
||||
calculate_effective_size();
|
||||
}
|
||||
|
||||
const rational& time_base() const
|
||||
{
|
||||
return time_base_;
|
||||
@@ -96,6 +111,11 @@ public:
|
||||
return effective_height_;
|
||||
}
|
||||
|
||||
int effective_depth() const
|
||||
{
|
||||
return effective_depth_;
|
||||
}
|
||||
|
||||
PixelFormat::Format format() const
|
||||
{
|
||||
return format_;
|
||||
@@ -162,6 +182,7 @@ private:
|
||||
|
||||
int width_;
|
||||
int height_;
|
||||
int depth_;
|
||||
rational time_base_;
|
||||
|
||||
PixelFormat::Format format_;
|
||||
@@ -173,6 +194,7 @@ private:
|
||||
int divider_;
|
||||
int effective_width_;
|
||||
int effective_height_;
|
||||
int effective_depth_;
|
||||
};
|
||||
|
||||
OLIVE_NAMESPACE_EXIT
|
||||
|
||||
Reference in New Issue
Block a user