Debayer 2D arrays

Hello.

There was a need to make a debayer to data array. It is received from the camera and is just two-dimensional array in memory. What function it is possible from libraw it is possible to use for this purpose? Judging by the description it works with files, received from different cameras. And, it is necessary for me just with an array. The used compiler Delphi-7.

Forums: 

LibRaw::open_bayer() designed

LibRaw::open_bayer() designed exactly for this

Look into samples/openbayer_sample.cpp for details.

-- Alex Tutubalin @LibRaw LLC

I dont see sample open_bayer

I dont see sample open_bayer or LibRaw::open_bayer function. was it removed?

openbayer_sample.cpp is in

openbayer_sample.cpp is in samples folder
open_bayer() is still in libraw_cxx.cpp (line 1147 and below)

Pls make sure you use LibRaw 0.19, not older version.

-- Alex Tutubalin @LibRaw LLC

thank you. not sure how I

thank you. not sure how I missed it.
guess because that sample is not included in solution file...