*
*/
+#ifdef HAVE_OPENEXR
+
#include "asset.h"
#include "bcsignals.h"
#include "clip.h"
}
void FileEXR::get_parameters(BC_WindowBase *parent_window,
- Asset *asset,
- BC_WindowBase* &format_window,
- int audio_options,
- int video_options)
+ Asset *asset, BC_WindowBase* &format_window,
+ int audio_options, int video_options, EDL *edl)
{
if(video_options)
{
asset->width = dw.max.x - dw.min.x + 1;
asset->height = dw.max.y - dw.min.y + 1;
- asset->interlace_mode = BC_ILACE_MODE_NOTINTERLACED;
+ asset->interlace_mode = ILACE_MODE_NOTINTERLACED;
const Imf::ChannelList &channels = file.header().channels();
if(frame->get_color_model() != native_cmodel)
{
- if(!exr_unit->temp_frame) exr_unit->temp_frame = new VFrame(0,
- -1,
- asset->width,
- asset->height,
- native_cmodel,
- -1);
+ if(!exr_unit->temp_frame) exr_unit->temp_frame =
+ new VFrame(asset->width, asset->height, native_cmodel, 0);
BC_CModels::transfer(exr_unit->temp_frame->get_rows(), /* Leave NULL if non existent */
frame->get_rows(),
exr_unit->temp_frame->get_y(), /* Leave NULL if non existent */
return 0;
}
+#endif