Lines Matching refs:format
439 CAMHAL_LOGDA("YUV420SP format selected");
444 CAMHAL_LOGDA("RGB565 format selected");
449 CAMHAL_LOGDA("Invalid format, CbYCrY format selected as default");
455 CAMHAL_LOGEA("Preview format is NULL, defaulting to CbYCrY");
593 void saveFile(unsigned char *buff, int width, int height, int format) {
794 portCheck.format.video.nFrameWidth = portParams.mWidth;
795 portCheck.format.video.nFrameHeight = portParams.mHeight;
796 portCheck.format.video.eColorFormat = portParams.mColorFormat;
797 portCheck.format.video.nStride = portParams.mStride;
798 if( ( portCheck.format.video.nFrameWidth >= 1920 ) &&
799 ( portCheck.format.video.nFrameHeight >= 1080 ) &&
809 portCheck.format.video.xFramerate = portParams.mFrameRate<<16;
816 portCheck.format.image.nFrameWidth = portParams.mWidth;
817 portCheck.format.image.nFrameHeight = portParams.mHeight;
820 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
821 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG;
825 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
826 portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingJPS;
830 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
831 portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingMPO;
836 // RAW format is supported
837 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
838 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG;
843 // RAW format is supported
844 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
845 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG;
849 portCheck.format.image.eColorFormat = portParams.mColorFormat;
850 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingUnused;
854 portCheck.format.image.nStride = 0;
881 portParams.mStride = portCheck.format.image.nStride;
885 CAMHAL_LOGDB("\n *** IMG Width = %ld", portCheck.format.image.nFrameWidth);
886 CAMHAL_LOGDB("\n ***IMG Height = %ld", portCheck.format.image.nFrameHeight);
888 CAMHAL_LOGDB("\n ***IMG IMG FMT = %x", portCheck.format.image.eColorFormat);
894 CAMHAL_LOGDB("\n ***IMG portCheck.format.image.nStride = %ld\n",
895 portCheck.format.image.nStride);
899 CAMHAL_LOGDB("\n *** PRV Width = %ld", portCheck.format.video.nFrameWidth);
900 CAMHAL_LOGDB("\n ***PRV Height = %ld", portCheck.format.video.nFrameHeight);
902 CAMHAL_LOGDB("\n ***PRV IMG FMT = %x", portCheck.format.video.eColorFormat);
908 CAMHAL_LOGDB("\n ***PRV portCheck.format.video.nStride = %ld\n",
909 portCheck.format.video.nStride);