projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edl plugin names eng, fix segv for opengl brender, renderfarm rework strategy, perf...
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
yuv411
/
yuv411.C
diff --git
a/cinelerra-5.1/plugins/yuv411/yuv411.C
b/cinelerra-5.1/plugins/yuv411/yuv411.C
index 161ae3318384d9085ea4cd7f7fd8fea1af125e48..79ca1859529a5f47b80814d94afba66ad5d44837 100644
(file)
--- a/
cinelerra-5.1/plugins/yuv411/yuv411.C
+++ b/
cinelerra-5.1/plugins/yuv411/yuv411.C
@@
-42,10
+42,10
@@
int yuv411Config::equivalent(yuv411Config &that)
bias == that.bias;
}
bias == that.bias;
}
-void yuv411Config::interpolate(yuv411Config &prev,
- yuv411Config &next,
- long prev_frame,
- long next_frame,
+void yuv411Config::interpolate(yuv411Config &prev,
+ yuv411Config &next,
+ long prev_frame,
+ long next_frame,
long current_frame)
{
this->int_horizontal = prev.int_horizontal;
long current_frame)
{
this->int_horizontal = prev.int_horizontal;
@@
-70,9
+70,9
@@
yuv411Main::~yuv411Main()
delete temp_frame;
}
delete temp_frame;
}
-const char *yuv411Main::plugin_title() { return _("YUV411"); }
+const char *yuv411Main::plugin_title() { return
N
_("YUV411"); }
int yuv411Main::is_realtime() { return 1; }
int yuv411Main::is_realtime() { return 1; }
-
+
#define YUV411_MACRO(type, components) \
{ \
type **input_rows = ((type**)input_ptr->get_rows()), **in_rows = input_rows; \
#define YUV411_MACRO(type, components) \
{ \
type **input_rows = ((type**)input_ptr->get_rows()), **in_rows = input_rows; \
@@
-166,7
+166,7
@@
int yuv411Main::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
temp_frame = 0;
}
if( !temp_frame )
temp_frame = 0;
}
if( !temp_frame )
- temp_frame = new VFrame(w, h, colormodel);
+ temp_frame = new VFrame(w, h, colormodel
, 0
);
if( input_ptr == output_ptr ) {
temp_frame->copy_from(input_ptr);
input_ptr = temp_frame;
if( input_ptr == output_ptr ) {
temp_frame->copy_from(input_ptr);
input_ptr = temp_frame;
@@
-218,7
+218,7
@@
void yuv411Main::render_gui(void *data)
if(thread) {
thread->window->lock_window();
yuv411Window *window = (yuv411Window *)thread->window;
if(thread) {
thread->window->lock_window();
yuv411Window *window = (yuv411Window *)thread->window;
- yuv411Main *client = (yuv411Main *)data;
+ yuv411Main *client = (yuv411Main *)data;
switch( client->colormodel ) {
case BC_YUV888:
case BC_YUVA8888:
switch( client->colormodel ) {
case BC_YUV888:
case BC_YUVA8888:
@@
-247,15
+247,23
@@
void yuv411Main::save_data(KeyFrame *keyframe)
if(config.avg_vertical) {
output.tag.set_title("VERTICAL");
output.append_tag();
if(config.avg_vertical) {
output.tag.set_title("VERTICAL");
output.append_tag();
+ output.tag.set_title("/VERTICAL");
+ output.append_tag();
}
}
- if(config.int_horizontal) {
+ if(config.int_horizontal) {
output.tag.set_title("HORIZONTAL");
output.append_tag();
output.tag.set_title("HORIZONTAL");
output.append_tag();
+ output.tag.set_title("/HORIZONTAL");
+ output.append_tag();
}
}
- if(config.inpainting ) {
+ if(config.inpainting ) {
output.tag.set_title("INPAINTING");
output.append_tag();
output.tag.set_title("INPAINTING");
output.append_tag();
+ output.tag.set_title("/INPAINTING");
+ output.append_tag();
}
}
+ output.tag.set_title("/YUV411");
+ output.append_tag();
output.terminate_string();
}
output.terminate_string();
}