Can someone provide me with the function definitions of the file Image.h present in the directory /usr/src/jetson_multimedia_api/argus/include/EGLStream. There is a class IImageHeaderLessFile in it which has the function writeHeaderLessFile() and it contains the YUV image data.By looking at the function defintion I will be able to understand how the image buffer is being written to the file.
Sorry, may not able to share the private code here. I think the comment in the header file should be enough for it.
/**
* @class IImageHeaderlessFile
*
* Provides a method to write image data to disk with no encoding,
* and no header.
*
* All pixels are written to file in buffer, row, column order, with
* multi-byte pixels stored little-endian.
*
* Filename should specify width and height, and pixel/layout i.e. NV12, P016,
* or a specific Bayer layout.
*/