Commit 4d6a2363 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+a few changes for jp4 previewing in camvc

parent c7d2aca7
...@@ -141,6 +141,36 @@ ...@@ -141,6 +141,36 @@
} }
this.refresh = function(){
send_request();
}
this.resize = function(w){
settings.width = w;
send_request();
}
this.setAddr = function(url,port){
settings.port = port;
settings.url = ip;
return 0;
}
this.getFormat = function(){
return this.format;
}
this.getAddr = function(){
return Array(settings.ip,settings.port);
}
function process_image(imagedata){ function process_image(imagedata){
var canvas = cnv_working; var canvas = cnv_working;
...@@ -387,6 +417,8 @@ ...@@ -387,6 +417,8 @@
//default: //default:
} }
obj.format = IMAGE_FORMAT;
//var gains = Array(); //var gains = Array();
//var blacks = Array(); //var blacks = Array();
var gammas = Array(); var gammas = Array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment