Przeglądaj źródła

Renamed YCrCbToRGBA to YCbCrToRGBA

Dominic Szablewski 12 lat temu
rodzic
commit
f76aea03a1
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      jsmpg.js

+ 3 - 3
jsmpg.js Wyświetl plik

@@ -339,7 +339,7 @@ jsmpeg.prototype.decodePicture = function() {
339 339
 	this.buffer.rewind(32);
340 340
 	
341 341
 	
342
-	this.YCrCbToRGBA();
342
+	this.YCbCrToRGBA();
343 343
 	this.canvasContext.putImageData(this.currentRGBA, 0, 0);
344 344
 	
345 345
 	// If this is a reference picutre then rotate the prediction pointers
@@ -353,10 +353,10 @@ jsmpeg.prototype.decodePicture = function() {
353 353
 	}
354 354
 };
355 355
 
356
-jsmpeg.prototype.YCrCbToRGBA = function() {	
356
+jsmpeg.prototype.YCbCrToRGBA = function() {	
357 357
 	var pY = this.currentY;
358
-	var pCr = this.currentCr;
359 358
 	var pCb = this.currentCb;
359
+	var pCr = this.currentCr;
360 360
 	var pRGBA = this.currentRGBA.data;
361 361
 
362 362