Implement Sony Pixel Shift for LibRaw

This commit is contained in:
Lawrence Lee
2024-01-01 16:09:04 -08:00
parent 88f9978e1f
commit ab21f77b95
2 changed files with 76 additions and 0 deletions

View File

@@ -136,6 +136,15 @@ protected:
ushort *linebuf[_ltotal];
};
/**
* Metadata for merged pixel-shift image.
*/
struct MergedPixelshift
{
bool is_merged_pixelshift = false;
unsigned sub_frame_shot_select;
};
int fuji_total_lines, fuji_total_blocks, fuji_block_width, fuji_bits, fuji_raw_type;
ushort raw_height, raw_width, height, width, top_margin, left_margin;
@@ -162,6 +171,7 @@ protected:
ThreeValBool RT_matrix_from_constant;
std::string RT_software;
double RT_baseline_exposure;
struct MergedPixelshift merged_pixelshift;
struct PanasonicRW2Info {
ushort bpp;