Lines Matching refs:bpc
27259 value: function isDefaultDecode(decodeMap, bpc) {
27264 …value: function fillRgb(dest, originalWidth, originalHeight, width, height, actualHeight, bpc, com…
27267 var numComponentColors = 1 << bpc;
27270 if (this.isPassthrough(bpc)) {
27273 …var allColors = bpc <= 8 ? new Uint8Array(numComponentColors) : new Uint16Array(numComponentColors…
27280 this.getRgbBuffer(allColors, 0, numComponentColors, colorMap, 0, bpc, 0);
27306 this.getRgbBuffer(comps, 0, width * actualHeight, dest, 0, bpc, alpha01);
27309 this.getRgbBuffer(comps, 0, count, rgbBuf, 0, bpc, 0);
27681 value: function isDefaultDecode(decodeMap, bpc) {
27753 value: function isDefaultDecode(decodeMap, bpc) {
27763 if (!Number.isInteger(bpc) || bpc < 1) {
27768 return decodeMap[0] === 0 && decodeMap[1] === (1 << bpc) - 1;
28349 value: function isDefaultDecode(decodeMap, bpc) {
54747 var bpc = dict.get('BitsPerComponent', 'BPC') || 1;
54748 … (cs.numComps === 1 || cs.numComps === 3) && cs.isDefaultDecode(dict.getArray('Decode', 'D'), bpc);
54806 function resizeImageMask(src, bpc, w1, h1, w2, h2) {
54808 …var dest = bpc <= 8 ? new Uint8Array(length) : bpc <= 16 ? new Uint16Array(length) : new Uint32Arr…
54903 this.bpc = bitsPerComponent;
55085 var bpc = this.bpc;
55089 var max = (1 << bpc) - 1;
55092 if (bpc === 1) {
55110 var bpc = this.bpc;
55112 if (bpc === 8) {
55121 …var output = bpc <= 8 ? new Uint8Array(length) : bpc <= 16 ? new Uint16Array(length) : new Uint32A…
55123 var max = (1 << bpc) - 1;
55128 if (bpc === 1) {
55168 while (bits < bpc) {
55173 var remainingBits = bits - bpc;
55195 alphaBuf = resizeImageMask(alphaBuf, smask.bpc, sw, sh, width, height);
55210 alphaBuf = resizeImageMask(alphaBuf, mask.bpc, sw, sh, width, height);
55289 var bpc = this.bpc;
55290 var rowBytes = originalWidth * numComps * bpc + 7 >> 3;
55296 if (this.colorSpace.name === 'DeviceGray' && bpc === 1) {
55298 } else if (this.colorSpace.name === 'DeviceRGB' && bpc === 8 && !this.needsDecode) {
55364 …ata.data, originalWidth, originalHeight, drawWidth, drawHeight, actualHeight, bpc, comps, alpha01);
55381 var bpc = this.bpc;
55382 var rowBytes = width * numComps * bpc + 7 >> 3;
55387 if (bpc === 1) {
55408 var scale = 255 / ((1 << bpc) - 1);