MCPcopy Create free account
hub / github.com/LibRaw/LibRaw / print_unpackfun

Function print_unpackfun

samples/raw-identify.cpp:731–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731void print_unpackfun(FILE *outfile, LibRaw &MyCoolRawProcessor, int print_frame, std::string &fn)
732{
733 char frame[48] = "";
734 if (print_frame)
735 {
736 ushort right_margin = S.raw_width - S.width - S.left_margin;
737 ushort bottom_margin = S.raw_height - S.height - S.top_margin;
738 snprintf(frame, 48, "F=%dx%dx%dx%d RS=%dx%d", S.left_margin, S.top_margin, right_margin, bottom_margin, S.raw_width,
739 S.raw_height);
740 }
741 fprintf(outfile, "%s\t%s\t%s\t%s/%s\n", fn.c_str(), MyCoolRawProcessor.unpack_function_name(), frame, P1.make,
742 P1.model);
743}

Callers 1

mainFunction · 0.85

Calls 1

unpack_function_nameMethod · 0.80

Tested by

no test coverage detected