mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #4896 from CodingFabian/cleanup-jpgjs-buildComponentData
Deleted unused variables in jpgjs buildComponentData.
This commit is contained in:
commit
9308c7c82f
1 changed files with 0 additions and 3 deletions
|
@ -543,13 +543,10 @@ var JpegImage = (function jpegImage() {
|
|||
}
|
||||
|
||||
function buildComponentData(frame, component) {
|
||||
var lines = [];
|
||||
var blocksPerLine = component.blocksPerLine;
|
||||
var blocksPerColumn = component.blocksPerColumn;
|
||||
var samplesPerLine = blocksPerLine << 3;
|
||||
var computationBuffer = new Int32Array(64);
|
||||
|
||||
var i, j, ll = 0;
|
||||
for (var blockRow = 0; blockRow < blocksPerColumn; blockRow++) {
|
||||
for (var blockCol = 0; blockCol < blocksPerLine; blockCol++) {
|
||||
var offset = getBlockBufferOffset(component, blockRow, blockCol);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue