Searched refs:buftype (Results 1 – 3 of 3) sorted by relevance
/hardware/google/graphics/common/libhwjpeg/ |
D | LibScalerForJpeg.cpp | 23 static const char *getBufTypeString(unsigned int buftype) in getBufTypeString() argument 25 if (buftype == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) in getBufTypeString() 27 if (buftype == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) in getBufTypeString() 110 bool LibScalerForJpeg::Device::requestBuffers(unsigned int buftype, unsigned int memtype, unsigned … in requestBuffers() argument 114 streamOff(buftype); in requestBuffers() 118 reqbufs.type = buftype; in requestBuffers() 123 ALOGERR("failed REQBUFS(%s, mem=%d, count=%d)", getBufTypeString(buftype), memtype, count); in requestBuffers() 130 bool LibScalerForJpeg::Device::setFormat(unsigned int buftype, unsigned int format, unsigned int wi… in setFormat() argument 134 fmt.type = buftype; in setFormat() 140 … ALOGERR("failed S_FMT(%s, fmt=h'%x, %ux%u)", getBufTypeString(buftype), format, width, height); in setFormat() [all …]
|
D | LibScalerForJpeg.h | 48 bool requestBuffers(unsigned int buftype, unsigned int memtype, unsigned int count); 49 …bool setFormat(unsigned int buftype, unsigned int format, unsigned int width, unsigned int height,… 50 bool streamOn(unsigned int buftype); 51 bool streamOff(unsigned int buftype); 52 bool queueBuffer(unsigned int buftype, std::function<void(v4l2_buffer &)> bufferFiller); 53 …bool queueBuffer(unsigned int buftype, int buf[SCALER_MAX_PLANES], unsigned int len[SCALER_MAX_PLA… 54 …bool queueBuffer(unsigned int buftype, char *buf[SCALER_MAX_PLANES], unsigned int len[SCALER_MAX_P… 55 bool queueBuffer(unsigned int buftype, int buf, unsigned int len[SCALER_MAX_PLANES]); 56 bool dequeueBuffer(unsigned int buftype, unsigned int memtype); 68 Image(Device &dev, unsigned int w, unsigned int h, unsigned int f, unsigned int buftype) in Image() [all …]
|
D | ExynosJpegEncoderForCamera.cpp | 638 int buftype = checkInBufType(); in CompressThumbnail() local 647 buftype = JPEG_BUF_TYPE_DMA_BUF; in CompressThumbnail() 653 …n CompressThumbnailOnly(m_pAppWriter->GetMaxThumbnailSize(), m_nThumbQuality, v4l2Format, buftype); in CompressThumbnail()
|