case FileEXR::RLE: return "RLE"; break;
case FileEXR::PXR24: return "PXR24"; break;
}
- return "None";
+ return _("None");
}
int FileEXR::compression_to_exr(int compression)
int dy = dw.min.y;
Imf::FrameBuffer framebuffer;
float **rows = (float**)frame->get_rows();
- int components = cmodel_components(frame->get_color_model());
+ int components = BC_CModels::components(frame->get_color_model());
if(is_yuv)
{
int native_cmodel = asset->exr_use_alpha ? BC_RGBA_FLOAT : BC_RGB_FLOAT;
- int components = cmodel_components(native_cmodel);
+ int components = BC_CModels::components(native_cmodel);
if(frame->get_color_model() != native_cmodel)
{
EXRConfigVideo::EXRConfigVideo(BC_WindowBase *parent_window, Asset *asset)
- : BC_Window(PROGRAM_NAME ": Video Compression",
+ : BC_Window(_(PROGRAM_NAME ": Video Compression"),
parent_window->get_abs_cursor_x(1),
parent_window->get_abs_cursor_y(1),
300,
add_subwindow(new EXRUseAlpha(this, x, y));
y += 30;
EXRCompression *menu;
- add_subwindow(new BC_Title(x, y, "Compression:"));
+ add_subwindow(new BC_Title(x, y, _("Compression:")));
x += 110;
add_subwindow(menu = new EXRCompression(this, x, y, 100));
menu->create_objects();