BADPIX_CFA_INDEX 502 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(0); // BayerPhase = 0 (top left pixel is red) BADPIX_CFA_INDEX 505 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(1); // BayerPhase = 1 (top left pixel is green in a green/red row) BADPIX_CFA_INDEX 508 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(2); // BayerPhase = 2 (top left pixel is green in a green/blue row) BADPIX_CFA_INDEX 511 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(3); // BayerPhase = 3 (top left pixel is blue)