bacc 81 modules/raw_merge.c unsigned char *bacc = malloc(camera_sensor.raw_rowlen); bacc 90 modules/raw_merge.c if (bacc && bsub && ffrom && fsub && fdest) bacc 102 modules/raw_merge.c fread(bacc, 1, l, ffrom); bacc 103 modules/raw_merge.c fwrite(bacc, 1, l, fdest); bacc 115 modules/raw_merge.c fread(bacc, 1, camera_sensor.raw_rowlen, ffrom); bacc 116 modules/raw_merge.c if (fromDNG) reverse_bytes_order2((char*)bacc, (char*)bacc, camera_sensor.raw_rowlen); bacc 125 modules/raw_merge.c d = ((0x3fc&(((unsigned short)bacc[i+1])<<2)) | (bacc[i+0] >> 6)); bacc 127 modules/raw_merge.c bacc[i+0] = (bacc[i+0]&0x3F)|(d<<6); bacc 128 modules/raw_merge.c bacc[i+1] = d>>2; bacc 131 modules/raw_merge.c d = ((0x3f0&(((unsigned short)bacc[i+0])<<4)) | (bacc[i+3] >> 4)); bacc 133 modules/raw_merge.c bacc[i+0] = (bacc[i+0]&0xC0)|(d>>4); bacc 134 modules/raw_merge.c bacc[i+3] = (bacc[i+3]&0x0F)|(d<<4); bacc 137 modules/raw_merge.c d = ((0x3c0&(((unsigned short)bacc[i+3])<<6)) | (bacc[i+2] >> 2)); bacc 139 modules/raw_merge.c bacc[i+2] = (bacc[i+2]&0x03)|(d<<2); bacc 140 modules/raw_merge.c bacc[i+3] = (bacc[i+3]&0xF0)|(d>>6); bacc 143 modules/raw_merge.c d = ((0x300&(((unsigned short)bacc[i+2])<<8)) | (bacc[i+5])); bacc 145 modules/raw_merge.c bacc[i+2] = (bacc[i+2]&0xFC)|(d>>8); bacc 146 modules/raw_merge.c bacc[i+5] = d; bacc 149 modules/raw_merge.c d = ((0x3fc&(((unsigned short)bacc[i+4])<<2)) | (bacc[i+7] >> 6)); bacc 151 modules/raw_merge.c bacc[i+4] = d>>2; bacc 152 modules/raw_merge.c bacc[i+7] = (bacc[i+7]&0x3F)|(d<<6); bacc 155 modules/raw_merge.c d = ((0x3f0&(((unsigned short)bacc[i+7])<<4)) | (bacc[i+6] >> 4)); bacc 157 modules/raw_merge.c bacc[i+6] = (bacc[i+6]&0x0F)|(d<<4); bacc 158 modules/raw_merge.c bacc[i+7] = (bacc[i+7]&0xC0)|(d>>4); bacc 161 modules/raw_merge.c d = ((0x3c0&(((unsigned short)bacc[i+6])<<6)) | (bacc[i+9] >> 2)); bacc 163 modules/raw_merge.c bacc[i+6] = (bacc[i+6]&0xF0)|(d>>6); bacc 164 modules/raw_merge.c bacc[i+9] = (bacc[i+9]&0x03)|(d<<2); bacc 167 modules/raw_merge.c d = ((0x300&(((unsigned short)bacc[i+9])<<8)) | (bacc[i+8])); bacc 169 modules/raw_merge.c bacc[i+8] = d; bacc 170 modules/raw_merge.c bacc[i+9] = (bacc[i+9]&0xFC)|(d>>8); bacc 178 modules/raw_merge.c d = ((0xFF0&(((unsigned short)bacc[i+1])<<4)) | (bacc[i+0] >> 4)); bacc 180 modules/raw_merge.c bacc[i+0] = (bacc[i+0]&0x0F)|(d<<4); bacc 181 modules/raw_merge.c bacc[i+1] = d>>4; bacc 184 modules/raw_merge.c d = ((0xF00&(((unsigned short)bacc[i+0])<<8)) | (bacc[i+3] )); bacc 186 modules/raw_merge.c bacc[i+0] = (bacc[i+0]&0xF0)|(d>>8); bacc 187 modules/raw_merge.c bacc[i+3] = d; bacc 190 modules/raw_merge.c d = ((0xFF0&(((unsigned short)bacc[i+2])<<4)) | (bacc[i+5] >> 4)); bacc 192 modules/raw_merge.c bacc[i+2] = d>>4; bacc 193 modules/raw_merge.c bacc[i+5] = (bacc[i+5]&0x0F)|(d<<4); bacc 196 modules/raw_merge.c d = ((0xF00&(((unsigned short)bacc[i+5])<<8)) | (bacc[i+4] )); bacc 198 modules/raw_merge.c bacc[i+4] = d; bacc 199 modules/raw_merge.c bacc[i+5] = (bacc[i+5]&0xF0)|(d>>8); bacc 207 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 1]) << 6) | (bacc[i+ 0] >> 2); bacc 209 modules/raw_merge.c bacc[i+ 0] = (bacc[i+ 0]&0x03)|(d<< 2); bacc 210 modules/raw_merge.c bacc[i+ 1] = d>>6; bacc 213 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 0] & 0x03) << 12) | ((unsigned short)(bacc[i+ 3]) << 4) | (bacc[i+ 2] >> 4); bacc 215 modules/raw_merge.c bacc[i+ 0] = (bacc[i+ 0]&0xFC)|(d>>12); bacc 216 modules/raw_merge.c bacc[i+ 2] = (bacc[i+ 2]&0x0F)|(d<< 4); bacc 217 modules/raw_merge.c bacc[i+ 3] = d>>4; bacc 220 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 2] & 0x0F) << 10) | ((unsigned short)(bacc[i+ 5]) << 2) | (bacc[i+ 4] >> 6); bacc 222 modules/raw_merge.c bacc[i+ 2] = (bacc[i+ 2]&0xF0)|(d>>10); bacc 223 modules/raw_merge.c bacc[i+ 4] = (bacc[i+ 4]&0x3F)|(d<< 6); bacc 224 modules/raw_merge.c bacc[i+ 5] = d>>2; bacc 227 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 4] & 0x3F) << 8) | (bacc[i+ 7]); bacc 229 modules/raw_merge.c bacc[i+ 4] = (bacc[i+ 4]&0xC0)|(d>> 8); bacc 230 modules/raw_merge.c bacc[i+ 7] = d; bacc 233 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 6]) << 6) | (bacc[i+ 9] >> 2); bacc 235 modules/raw_merge.c bacc[i+ 6] = d>>6; bacc 236 modules/raw_merge.c bacc[i+ 9] = (bacc[i+ 9]&0x03)|(d<< 2); bacc 239 modules/raw_merge.c d = ((unsigned short)(bacc[i+ 9] & 0x03) << 12) | ((unsigned short)(bacc[i+ 8]) << 4) | (bacc[i+11] >> 4); bacc 241 modules/raw_merge.c bacc[i+ 8] = d>>4; bacc 242 modules/raw_merge.c bacc[i+ 9] = (bacc[i+ 9]&0xFC)|(d>>12); bacc 243 modules/raw_merge.c bacc[i+11] = (bacc[i+11]&0x0F)|(d<< 4); bacc 246 modules/raw_merge.c d = ((unsigned short)(bacc[i+11] & 0x0F) << 10) | ((unsigned short)(bacc[i+10]) << 2) | (bacc[i+13] >> 6); bacc 248 modules/raw_merge.c bacc[i+10] = d>>2; bacc 249 modules/raw_merge.c bacc[i+11] = (bacc[i+11]&0xF0)|(d>>10); bacc 250 modules/raw_merge.c bacc[i+13] = (bacc[i+13]&0x3F)|(d<< 6); bacc 253 modules/raw_merge.c d = ((unsigned short)(bacc[i+13] & 0x3F) << 8) | (bacc[i+12]); bacc 255 modules/raw_merge.c bacc[i+12] = d; bacc 256 modules/raw_merge.c bacc[i+13] = (bacc[i+13]&0xC0)|(d>> 8); bacc 260 modules/raw_merge.c if (fromDNG) reverse_bytes_order2((char*)bacc, (char*)bacc, camera_sensor.raw_rowlen); bacc 261 modules/raw_merge.c fwrite(bacc, 1, camera_sensor.raw_rowlen, fdest); bacc 270 modules/raw_merge.c if (bacc) free(bacc);