@supraio/client-daemon-js 0.0.0-jvmaster.348 → 0.0.0-jvmaster.349

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -188918,12 +188918,11 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/webcodecs"] = (function(
188918
188918
  _r = $clone($clone(js.Global(), js.Value).Get("Object"), js.Value).New(sliceType.nil); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
188919
188919
  init = $clone(_r, js.Value);
188920
188920
  outputCallback[0] = $clone(js.FuncOf((function(d, errorCallback, jsVideoDecoder, outputCallback) { return function $b(this$1, args) {
188921
- var {args, this$1, x, $s, $r, $c} = $restore(this, {this$1, args});
188921
+ var {args, this$1, $s, $r, $c} = $restore(this, {this$1, args});
188922
188922
  /* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
188923
- $r = log.Printf("ASDF[GO] WebCodecsDecoder.configure sending to WebCodecsDecoder.outputChan args[0]=%#v", new sliceType([(x = (0 >= args.$length ? ($throwRuntimeError("index out of range"), undefined) : args.$array[args.$offset + 0]), new x.constructor.elem(x))])); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
188924
- $r = $send(d[0].outputChan, $clone($clone((0 >= args.$length ? ($throwRuntimeError("index out of range"), undefined) : args.$array[args.$offset + 0]), js.Value), js.Value)); /* */ $s = 2; case 2: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
188923
+ $r = $send(d[0].outputChan, $clone($clone((0 >= args.$length ? ($throwRuntimeError("index out of range"), undefined) : args.$array[args.$offset + 0]), js.Value), js.Value)); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
188925
188924
  $s = -1; return $ifaceNil;
188926
- /* */ } return; } var $f = {$blk: $b, $c: true, $r, args, this$1, x, $s};return $f;
188925
+ /* */ } return; } var $f = {$blk: $b, $c: true, $r, args, this$1, $s};return $f;
188927
188926
  }; })(d, errorCallback, jsVideoDecoder, outputCallback)), js.Func);
188928
188927
  errorCallback[0] = $clone(js.FuncOf((function(d, errorCallback, jsVideoDecoder, outputCallback) { return function $b(this$1, args) {
188929
188928
  var {_arg, _r$1, _r$2, args, this$1, $s, $r, $c} = $restore(this, {this$1, args});
@@ -189016,7 +189015,7 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/webcodecs"] = (function(
189016
189015
  };
189017
189016
  WebCodecsDecoder.prototype.Write = function(nal) { return this.$val.Write(nal); };
189018
189017
  WebCodecsDecoder.ptr.prototype.NextOutput = function(outputBuffer) {
189019
- var {_r, _r$1, _selection, d, err, frame, frameDisplayHeight, frameDisplayWidth, output, outputBuffer, ycbcrImg, ycbcrJSImg, $s, $r, $c} = $restore(this, {outputBuffer});
189018
+ var {_r, _r$1, _selection, d, err, frame, frameDisplayHeight, frameDisplayWidth, output, outputBuffer, x, x$1, x$2, ycbcrImg, ycbcrJSImg, $s, $r, $c} = $restore(this, {outputBuffer});
189020
189019
  /* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
189021
189020
  output = [output];
189022
189021
  d = this;
@@ -189037,9 +189036,10 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/webcodecs"] = (function(
189037
189036
  _r$1 = outputBuffer.YCbCr(); /* */ $s = 2; case 2: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
189038
189037
  ycbcrImg = _r$1;
189039
189038
  image.Rectangle.copy(ycbcrImg.Rect, image.Rect(0, 0, frameDisplayWidth, frameDisplayHeight));
189039
+ $r = log.Println(new sliceType([new $String("ASDF[GO] WebCodecsDecoder.NextOutput frame: displayWidth="), new $Int(frameDisplayWidth), new $String(", displayHeight="), new $Int(frameDisplayHeight), new $String("codedRect="), (x = $clone(frame, js.Value).Get("codedRect"), new x.constructor.elem(x)), new $String("codedWidth="), (x$1 = $clone(frame, js.Value).Get("codedWidth"), new x$1.constructor.elem(x$1)), new $String("visibleWidth"), (x$2 = $clone(frame, js.Value).Get("visibleWidth"), new x$2.constructor.elem(x$2))])); /* */ $s = 3; case 3: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
189040
189040
  ycbcrImg.SubsampleRatio = 2;
189041
189041
  $s = -1; return $ifaceNil;
189042
- /* */ } return; } var $f = {$blk: WebCodecsDecoder.ptr.prototype.NextOutput, $c: true, $r, _r, _r$1, _selection, d, err, frame, frameDisplayHeight, frameDisplayWidth, output, outputBuffer, ycbcrImg, ycbcrJSImg, $s};return $f;
189042
+ /* */ } return; } var $f = {$blk: WebCodecsDecoder.ptr.prototype.NextOutput, $c: true, $r, _r, _r$1, _selection, d, err, frame, frameDisplayHeight, frameDisplayWidth, output, outputBuffer, x, x$1, x$2, ycbcrImg, ycbcrJSImg, $s};return $f;
189043
189043
  };
189044
189044
  WebCodecsDecoder.prototype.NextOutput = function(outputBuffer) { return this.$val.NextOutput(outputBuffer); };
189045
189045
  WebCodecsDecoder.ptr.prototype.Release = function(outputBuffer) {
@@ -189887,7 +189887,6 @@ $packages["github.com/supraio/client-daemon/pkg/netclient"] = (function() {
189887
189887
  $r = $send((_entry$2 = $mapIndex(s.requests,$String.keyFor(requestID)), _entry$2 !== undefined ? _entry$2.v : $chanNil), $clone($clone(new response.ptr(resp, sliceType.nil), response), response)); /* */ $s = 11; case 11: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
189888
189888
  /* } */ case 10:
189889
189889
  $mapDelete(s.requests, $String.keyFor(requestID));
189890
- $r = log.Println(new sliceType$3([new $String("ASDF[GO] MetadataResponsiveSender.handleServerData s.requests.length="), new $Int((s.requests ? s.requests.size : 0)), new $String("deleted"), new $String(requestID)])); /* */ $s = 12; case 12: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
189891
189890
  /* } */ case 5:
189892
189891
  /* } */ case 2:
189893
189892
  $s = -1; return;