Skip to content

Commit

Permalink
Renamed YCrCbToRGBA to YCbCrToRGBA
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Jul 15, 2013
1 parent 1307634 commit f76aea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jsmpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ jsmpeg.prototype.decodePicture = function() {
this.buffer.rewind(32);


this.YCrCbToRGBA();
this.YCbCrToRGBA();
this.canvasContext.putImageData(this.currentRGBA, 0, 0);

// If this is a reference picutre then rotate the prediction pointers
Expand All @@ -353,10 +353,10 @@ jsmpeg.prototype.decodePicture = function() {
}
};

jsmpeg.prototype.YCrCbToRGBA = function() {
jsmpeg.prototype.YCbCrToRGBA = function() {
var pY = this.currentY;
var pCr = this.currentCr;
var pCb = this.currentCb;
var pCr = this.currentCr;
var pRGBA = this.currentRGBA.data;


Expand Down

0 comments on commit f76aea0

Please sign in to comment.