Lines Matching refs:v4l2Format

36 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()
637 unsigned int v4l2Format = getColorFormat(); in CompressThumbnail() local
645 v4l2Format = GetThumbnailFormat(getColorFormat()); in CompressThumbnail()
653 …return CompressThumbnailOnly(m_pAppWriter->GetMaxThumbnailSize(), m_nThumbQuality, v4l2Format, buf… in CompressThumbnail()
656 bool ExynosJpegEncoderForCamera::AllocThumbBuffer(int v4l2Format) in AllocThumbBuffer() argument
663 size_t thumbbufsize = GetImageLength(m_nThumbWidth, m_nThumbHeight, v4l2Format); in AllocThumbBuffer()
665 ALOGE("Unsupported V4L2 format %#X for thumbnail", v4l2Format); in AllocThumbBuffer()
738 unsigned int v4l2Format, int src_buftype) in CompressThumbnailOnly() argument
740 if (!m_phwjpeg4thumb->SetImageFormat(v4l2Format, m_nThumbWidth, m_nThumbHeight)) { in CompressThumbnailOnly()
742 v4l2Format, m_nThumbWidth, m_nThumbHeight); in CompressThumbnailOnly()
747 switch (v4l2Format) { in CompressThumbnailOnly()