Home
last modified time | relevance | path

Searched refs:v4l2Format (Results 1 – 2 of 2) sorted by relevance

/hardware/google/graphics/common/libhwjpeg/
DExynosJpegEncoderForCamera.cpp36 static size_t GetImageLength(unsigned int width, unsigned int height, int v4l2Format) in GetImageLength() argument
40 switch(v4l2Format) { in GetImageLength()
60 static int GetThumbnailFormat(int v4l2Format) in GetThumbnailFormat() argument
62 if (v4l2Format == V4L2_PIX_FMT_NV12M) in GetThumbnailFormat()
64 else if (v4l2Format == V4L2_PIX_FMT_NV21M) in GetThumbnailFormat()
67 return v4l2Format; in GetThumbnailFormat()
580 int v4l2Format = getColorFormat(); in GenerateThumbnailImage() local
582 if (!AllocThumbBuffer(v4l2Format)) in GenerateThumbnailImage()
593 if (!mThumbnailScaler->SetSrcImage(main_width, main_height, v4l2Format)) { in GenerateThumbnailImage()
599 …if (!mThumbnailScaler->SetDstImage(m_nThumbWidth, m_nThumbHeight, GetThumbnailFormat(v4l2Format)))… in GenerateThumbnailImage()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/
DExynosJpegEncoderForCamera.h78 bool AllocThumbBuffer(int v4l2Format); /* For single compression */
82 … size_t CompressThumbnailOnly(size_t limit, int quality, unsigned int v4l2Format, int src_buftype);