get_tag 490 modules/dng.c get_tag(IFD_0, DNG_VERSION_TAG)->offset = BE(0x01010000); get_tag 491 modules/dng.c get_tag(IFD_1, BADPIXEL_OPCODE_TAG)->type |= T_SKIP; get_tag 496 modules/dng.c get_tag(IFD_0, DNG_VERSION_TAG)->offset = BE(0x01030000); get_tag 497 modules/dng.c get_tag(IFD_1, BADPIXEL_OPCODE_TAG)->type &= ~T_SKIP; get_tag 563 modules/dng.c get_tag(IFD_0, GPS_IFD_TAG)->type |= T_SKIP; // mark entry so it is skipped get_tag 568 modules/dng.c get_tag(IFD_0, CAMERA_NAME_TAG)->count = get_tag(IFD_0, UNIQUE_CAMERA_MODEL_TAG)->count = strlen(cam_name) + 1; get_tag 569 modules/dng.c get_tag(IFD_0, CHDK_VER_TAG)->offset = (int)camera_info.chdk_dng_ver; get_tag 570 modules/dng.c get_tag(IFD_0, CHDK_VER_TAG)->count = strlen(camera_info.chdk_dng_ver) + 1; get_tag 571 modules/dng.c get_tag(IFD_0, ARTIST_NAME_TAG)->count = strlen(artist_name) + 1; get_tag 572 modules/dng.c get_tag(IFD_0, COPYRIGHT_TAG)->count = strlen(copyright) + 1; get_tag 573 modules/dng.c get_tag(IFD_0, ORIENTATION_TAG)->offset = get_orientation_for_exif(exif_data.orientation); get_tag 575 modules/dng.c get_tag(IFD_EXIF, EXPOSURE_PROGRAM_TAG)->offset = get_exp_program_for_exif(exif_data.exp_program); get_tag 576 modules/dng.c get_tag(IFD_EXIF, METERING_MODE_TAG)->offset = get_metering_mode_for_exif(exif_data.metering_mode); get_tag 577 modules/dng.c get_tag(IFD_EXIF, FLASH_MODE_TAG)->offset = get_flash_mode_for_exif(exif_data.flash_mode, exif_data.flash_fired); get_tag 578 modules/dng.c get_tag(IFD_EXIF, SSTIME_TAG)->count = get_tag(IFD_EXIF, SSTIME_ORIG_TAG)->count = strlen(cam_subsectime)+1; get_tag 583 modules/dng.c get_tag(IFD_0, ILLUMINANT2_TAG)->type |= T_SKIP; get_tag 584 modules/dng.c get_tag(IFD_0, COLOR_MATRIX2_TAG)->type |= T_SKIP; get_tag 586 modules/dng.c if (camera_sensor.has_calibration1 == 0) get_tag(IFD_0, CALIBRATION1_TAG)->type |= T_SKIP; get_tag 587 modules/dng.c if (camera_sensor.has_calibration2 == 0) get_tag(IFD_0, CALIBRATION2_TAG)->type |= T_SKIP; get_tag 588 modules/dng.c if (camera_sensor.has_forwardmatrix1 == 0) get_tag(IFD_0, FORWARD_MATRIX1_TAG)->type |= T_SKIP; get_tag 589 modules/dng.c if (camera_sensor.has_forwardmatrix2 == 0) get_tag(IFD_0, FORWARD_MATRIX2_TAG)->type |= T_SKIP; get_tag 621 modules/dng.c get_tag(IFD_0, SUBIFDS_TAG)->offset = TIFF_HDR_SIZE + ifd_list[0].count * 12 + 6; // SubIFDs offset get_tag 622 modules/dng.c get_tag(IFD_0, EXIF_IFD_TAG)->offset = TIFF_HDR_SIZE + (ifd_list[0].count + ifd_list[1].count) * 12 + 6 + 6; // EXIF IFD offset get_tag 624 modules/dng.c get_tag(IFD_0, GPS_IFD_TAG)->offset = TIFF_HDR_SIZE + (ifd_list[0].count + ifd_list[1].count + ifd_list[2].count) * 12 + 6 + 6 + 6; // GPS IFD offset get_tag 626 modules/dng.c get_tag(IFD_0, THUMB_DATA_TAG)->offset = raw_offset; //StripOffsets for thumbnail get_tag 627 modules/dng.c get_tag(IFD_1, RAW_DATA_TAG)->offset = raw_offset + DNG_TH_BYTES; //StripOffsets for main image