Lines Matching refs:width

19530   function decodeBitmapTemplate0(width, height, decodingContext) {
19544 row = bitmap[i] = new Uint8Array(width);
19549 for (j = 0; j < width; j++) {
19551 …el = (contextLabel & OLD_PIXEL_MASK) << 1 | (j + 3 < width ? row2[j + 3] << 11 : 0) | (j + 4 < wid…
19558 function decodeBitmap(mmr, width, height, templateIndex, prediction, skip, at, decodingContext) {
19561 return decodeMMRBitmap(input, width, height, false);
19565 return decodeBitmapTemplate0(width, height, decodingContext);
19611 var sbb_right = width - maxX;
19613 var row = new Uint8Array(width);
19639 for (j = 0; j < width; j++) {
19665 if (j0 >= 0 && j0 < width) {
19687 …function decodeRefinement(width, height, templateIndex, referenceBitmap, offsetX, offsetY, predict…
19737 var row = new Uint8Array(width);
19740 for (var j = 0; j < width; j++) {
19748 if (i0 < 0 || j0 < 0 || j0 >= width) {
19906 …function decodeTextRegion(huffman, refinement, width, height, defaultPixelValue, numberOfSymbolIns…
19915 row = new Uint8Array(width);
19918 for (var j = 0; j < width; j++) {
19976 var maxWidth = Math.min(width - offsetT, symbolWidth);
20359 width: (0, _util.readUint32)(data, start),
20546 width: (0, _util.readUint32)(data, position),
20634 width = _visitor$currentPageI.width,
20637 var imgData = new Uint8ClampedArray(width * height);
20645 for (var j = 0; j < width; j++) {
20658 width: width,
20668 var rowSize = info.width + 7 >> 3;
20681 var width = regionInfo.width,
20683 var rowSize = pageInfo.width + 7 >> 3;
20696 for (j = 0; j < width; j++) {
20719 for (j = 0; j < width; j++) {
20744 …var bitmap = decodeBitmap(region.mmr, regionInfo.width, regionInfo.height, region.template, region…
20799 …var bitmap = decodeTextRegion(region.huffman, region.refinement, regionInfo.width, regionInfo.heig…
20819 …var bitmap = decodeHalftoneRegion(region.mmr, patterns, region.template, regionInfo.width, regionI…
21336 function readUncompressedBitmap(reader, width, height) {
21343 row = new Uint8Array(width);
21346 for (x = 0; x < width; x++) {
21356 function decodeMMRBitmap(input, width, height, endOfBlock) {
21359 Columns: width,
21374 row = new Uint8Array(width);
21378 for (x = 0; x < width; x++) {
21417 width = _parseJbig.width,
21420 this.width = width;
21892 width: this.drawWidth,
22890 this.width = frame.samplesPerLine;
22916 _getLinearizedBlockData: function _getLinearizedBlockData(width, height) {
22918 var scaleX = this.width / width,
22926 var dataLength = width * height * numComponents;
22928 var xScaleBlockOffset = new Uint32Array(width);
22939 for (x = 0; x < width; x++) {
22948 for (x = 0; x < width; x++) {
23054 var width = _ref3.width,
23065 var data = this._getLinearizedBlockData(width, height, isSourcePDF);
23147 var width = jpxImage.width;
23155 var data = new Uint8ClampedArray(width * height * componentsCount);
23159 var tileWidth = tileComponents.width;
23165 var dataPosition = (width * tileTop + tileLeft) * componentsCount;
23166 var imgRowSize = width * componentsCount;
23335 this.width = Xsiz - XOsiz;
23659 this.width = context.SIZ.Xsiz - context.SIZ.XOsiz;
23670 component.width = component.x1 - component.x0;
23688 tile.width = tile.tx1 - tile.tx0;
23708 tileComponent.width = tileComponent.tcx1 - tileComponent.tcx0;
24131 if (posX % sizeInImageScale.width !== 0 || posY % sizeInImageScale.height !== 0) {
24135 …var startPrecinctRowIndex = posY / sizeInImageScale.width * resolution.precinctParameters.numpreci…
24166 width: widthCurrentResolution,
24419 var width = precinct.cbxMax - precinct.cbxMin + 1;
24421 inclusionTree = new InclusionTree(width, height, layerNumber);
24422 zeroBitPlanesTree = new TagTree(width, height);
24514 var width = subband.tbx1 - subband.tbx0;
24582 var offset = codeblock.tbx0_ - x0 + (codeblock.tby0_ - y0) * width;
24592 var row = offset / width | 0;
24593 var levelOffset = 2 * row * (levelWidth - width) + right + bottom;
24619 offset += width - blockWidth;
24641 var width = resolution.trx1 - resolution.trx0;
24643 var coefficients = new Float32Array(width * height);
24661 …copyCoefficients(coefficients, width, height, subband, delta, mb, reversible, segmentationSymbolUs…
24665 width: width,
24675 width: result.width,
24701 width: tile0.width,
24787 function TagTree(width, height) {
24788 var levelsLength = (0, _util.log2)(Math.max(width, height)) + 1;
24793 width: width,
24798 width = Math.ceil(width / 2);
24811 var index = i + j * level.width;
24855 function InclusionTree(width, height, defaultValue) {
24856 var levelsLength = (0, _util.log2)(Math.max(width, height)) + 1;
24860 var items = new Uint8Array(width * height);
24867 width: width,
24872 width = Math.ceil(width / 2);
24883 var index = i + j * level.width;
24947 function BitModel(width, height, subband, zeroBitPlanes, mb) {
24948 this.width = width;
24951 var coefficientCount = width * height;
24980 var width = this.width,
24983 var right = column + 1 < width;
24987 i = index - width;
25001 i = index + width;
25026 var width = this.width,
25040 for (var j = 0; j < width; j++) {
25041 var index = i0 * width + j;
25043 for (var i1 = 0; i1 < 4; i1++, index += width) {
25074 var width = this.width,
25082 if (column + 1 < width && coefficentsMagnitude[index + 1] !== 0) {
25099 significance1 = row > 0 && coefficentsMagnitude[index - width] !== 0;
25101 if (row + 1 < height && coefficentsMagnitude[index + width] !== 0) {
25102 sign1 = coefficentsSign[index + width];
25105 sign0 = coefficentsSign[index - width];
25111 sign0 = coefficentsSign[index - width];
25129 var width = this.width,
25138 var length = width * height;
25139 var width4 = width * 4;
25144 for (var j = 0; j < width; j++) {
25145 for (var index = index0 + j; index < indexNext; index += width) {
25168 var width = this.width,
25179 var oneRowDown = width;
25180 var twoRowsDown = width * 2;
25181 var threeRowsDown = width * 3;
25186 var indexBase = i0 * width;
25189 for (var j = 0; j < width; j++) {
25212 index += i1 * width;
25222 for (var i2 = i0; i2 <= i; i2++, index += width) {
25229 for (i = i0 + i1; i < iNext; i++, index += width) {
25292 var llWidth = ll.width,
25295 var width = hl_lh_hh.width;
25301 l = i * 2 * width;
25310 var rowBuffer = new Float32Array(width + 2 * bufferPadding);
25312 if (width === 1) {
25314 for (v = 0, k = 0; v < height; v++, k += width) {
25319 for (v = 0, k = 0; v < height; v++, k += width) {
25320 rowBuffer.set(items.subarray(k, k + width), bufferPadding);
25321 this.extend(rowBuffer, bufferPadding, width);
25322 this.filter(rowBuffer, bufferPadding, width);
25323 items.set(rowBuffer.subarray(bufferPadding, bufferPadding + width), k);
25340 for (u = 0; u < width; u++) {
25345 for (u = 0; u < width; u++) {
25347 numBuffers = Math.min(width - u, numBuffers);
25349 for (k = u, l = bufferPadding; l < ll; k += width, l++) {
25366 for (l = bufferPadding; l < ll; k += width, l++) {
25376 width: width,
27264 …value: function fillRgb(dest, originalWidth, originalHeight, width, height, actualHeight, bpc, com…
27268 var needsResizing = originalHeight !== height || originalWidth !== width;
27306 this.getRgbBuffer(comps, 0, width * actualHeight, dest, 0, bpc, alpha01);
27315 resizeRgbImage(rgbBuf, dest, originalWidth, originalHeight, width, height, alpha01);
27320 for (var _i4 = 0, ii = width * actualHeight; _i4 < ii; _i4++) {
28801 this.width = 1;
28810 value: function setWidth(width) {
28813 if ((0, _primitives.isName)(width)) {
28814 this.width = 0;
28818 if (Number.isInteger(width)) {
28819 if (width > 0) {
28823 if (maxWidth > 0 && maxHeight > 0 && (width > maxWidth || width > maxHeight)) {
28824 (0, _util.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(width));
28825 width = 1;
28829 this.width = width;
28886 this.width = 0;
28889 this.width = 0;
29704 …if (imageMask && imageMask.width === 1 && imageMask.height === 1 && (!imageMask.data.length || ima…
29764 if (currentX + img.width > MAX_WIDTH) {
29775 w: img.width,
29778 currentX += img.width + 2 * IMAGE_PADDING;
29817 width: imgWidth,
29910 width: maskParams.width,
30682 …leNativeImageDecoder, dict, w, h, maxImageSize, imageMask, imgData, args, width, height, bitStride…
30720 width = dict.get('Width', 'W');
30722 bitStrideLength = width + 7 >> 3;
30727 width: width,
31696 width: 0,
31753 textContentItem.width = 0;
31757 textContentItem.width = Math.sqrt(trm[0] * trm[0] + trm[1] * trm[1]);
31809 width: textChunk.width,
31826 var width = 0;
31837 glyphWidth = glyph.width;
31865 width += tx;
31877 textChunk.lastAdvanceWidth = width;
31878 textChunk.width += width;
31887 function addFakeSpaces(width, strBuf) {
31888 if (width < textContentItem.fakeSpaceMin) {
31892 if (width < textContentItem.fakeMultiSpaceMin) {
31897 var fakeSpaces = Math.round(width / textContentItem.spaceWidth);
31910 textContentItem.width *= textContentItem.textAdvanceScale;
31998 textContentItem.width += args[0] - textContentItem.lastAdvanceWidth;
32026 textState.translateTextLineMatrix(advance.width, advance.height);
32027 textContentItem.width += advance.width - textContentItem.lastAdvanceWidth;
32029 …diff = advance.width - textContentItem.lastAdvanceWidth - (advance.height - textContentItem.lastAd…
32080 textContentItem.width += offset;
32586 var width = xref.fetchIfRef(widths[++i]);
32589 glyphsWidths[j] = width;
33203 width: tx,
34855 function Glyph(fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont) {
34859 this.width = width;
34866 …Glyph.prototype.matchesForCache = function (fontChar, unicode, accent, width, vmetric, operatorLis…
34867 …ntChar && this.unicode === unicode && this.accent === accent && this.width === width && this.vmetr…
37217 var width = 0;
37221 width = 'width' in charstring ? charstring.width : 0;
37223 width = Math.ceil(cffWidths[i] || 0);
37226 hmtx += string16(width) + string16(0);
37243 var width;
37249 width = this.widths[glyphName];
37271 width = this.widths[charcode];
37273 if (width) {
37278 width = width || this.defaultWidth;
37279 this._shadowWidth = width;
37280 return width;
37284 var fontCharCode, width, operatorListId;
37291 width = this.widths[widthCode];
37292 width = (0, _util.isNum)(width) ? width : this.defaultWidth;
37326 …if (!glyph || !glyph.matchesForCache(fontChar, unicode, accent, width, vmetric, operatorListId, is…
37327 … glyph = new Glyph(fontChar, unicode, accent, width, vmetric, operatorListId, isSpace, isInFont);
38489 state.width = stack[stackSize - 1];
38536 width: null,
38568 if (state.width !== null) {
38570 widths[i] = nominalWidth + state.width;
48045 this.width = 0;
48148 this.width = wx;
48225 this.width = wx;
48622 width: charString.width,
54718 width = _ref2.width,
54858 image.width = jpxImage.width;
54871 var width = dict.get('Width', 'W');
54874 …(Number.isInteger(image.width) && image.width > 0 && Number.isInteger(image.height) && image.heigh…
54876 width = image.width;
54880 if (width < 1 || height < 1) {
54881 …throw new _util.FormatError("Invalid image width: ".concat(width, " or ") + "height: ".concat(heig…
54884 this.width = width;
55039 width = _ref5.width,
55043 var computedLength = (width + 7 >> 3) * height;
55070 width: width,
55077 …return Math.max(this.width, this.smask && this.smask.width || 0, this.mask && this.mask.width || 0…
55102 for (i = 0, ii = this.width * this.height; i < ii; i++) {
55116 var width = this.width;
55119 var length = width * height * numComps;
55122 var rowComps = width * numComps;
55183 fillOpacity: function fillOpacity(rgbaBuf, width, height, actualHeight, image) {
55189 sw = smask.width;
55194 if (sw !== width || sh !== height) {
55195 alphaBuf = resizeImageMask(alphaBuf, smask.bpc, sw, sh, width, height);
55199 sw = mask.width;
55209 if (sw !== width || sh !== height) {
55210 alphaBuf = resizeImageMask(alphaBuf, mask.bpc, sw, sh, width, height);
55213 alphaBuf = new Uint8ClampedArray(width * height);
55216 for (i = 0, ii = width * height; i < ii; ++i) {
55238 for (i = 0, j = 3, ii = width * actualHeight; i < ii; ++i, j += 4) {
55242 for (i = 0, j = 3, ii = width * actualHeight; i < ii; ++i, j += 4) {
55247 undoPreblend: function undoPreblend(buffer, width, height) {
55258 var length = width * height * 4;
55281 width: drawWidth,
55287 var originalWidth = this.width;
55379 var width = this.width;
55382 var rowBytes = width * numComps * bpc + 7 >> 3;
55388 length = width * height;
55407 length = width * height;
55417 this.image.drawWidth = drawWidth || this.width;