BE 108 modules/dng.c BE(1), // Count = 1 BE 110 modules/dng.c BE(4), // FixBadPixelsConstant = 4 BE 111 modules/dng.c BE(0x01030000), // DNG version = 1.3.0.0 BE 112 modules/dng.c BE(1), // Flags = 1 BE 113 modules/dng.c BE(8), // Opcode length = 8 bytes BE 114 modules/dng.c BE(0), // Constant = 0 BE 115 modules/dng.c BE(0), // CFAPattern (set in code below) BE 490 modules/dng.c get_tag(IFD_0, DNG_VERSION_TAG)->offset = BE(0x01010000); BE 496 modules/dng.c get_tag(IFD_0, DNG_VERSION_TAG)->offset = BE(0x01030000); BE 502 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(0); // BayerPhase = 0 (top left pixel is red) BE 505 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(1); // BayerPhase = 1 (top left pixel is green in a green/red row) BE 508 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(2); // BayerPhase = 2 (top left pixel is green in a green/blue row) BE 511 modules/dng.c badpixel_opcode[BADPIX_CFA_INDEX] = BE(3); // BayerPhase = 3 (top left pixel is blue)