Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 29) sorted by relevance

12

/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp227 const CapPixelformat *cap, in encodePixelformatCap() argument
235 if ( ( NULL == buffer ) || ( NULL == cap ) ) { in encodePixelformatCap()
241 if ( format == cap[i].pixelformat ) { in encodePixelformatCap()
242 strncat(buffer, cap[i].param, bufferSize - 1); in encodePixelformatCap()
254 const CapFramerate *cap, in encodeFramerateCap() argument
265 if ( ( NULL == buffer ) || ( NULL == cap ) ) { in encodeFramerateCap()
271 if ( (framerateMax >= cap[i].num) && (framerateMin <= cap[i].num) ) { in encodeFramerateCap()
272 strncat(buffer, cap[i].param, bufferSize - 1); in encodeFramerateCap()
275 if ( cap[i].num == framerateMin ) { in encodeFramerateCap()
279 if ( cap[i].num == framerateMax ) { in encodeFramerateCap()
[all …]
DOMXCameraAdapter.cpp459 OMXCameraPortParameters *cap; in setParameters() local
460 cap = &mCameraAdapterParameters.mCameraPortParams[mCameraAdapterParameters.mPrevPortIndex]; in setParameters()
480 if( ( cap->mMinFrameRate != minFramerate ) || in setParameters()
481 ( cap->mMaxFrameRate != maxFramerate ) ) in setParameters()
483 cap->mMinFrameRate = minFramerate; in setParameters()
484 cap->mMaxFrameRate = maxFramerate; in setParameters()
485 setVFramerate(cap->mMinFrameRate, cap->mMaxFrameRate); in setParameters()
491 cap->mMaxFrameRate = cap->mMinFrameRate; in setParameters()
492 setVFramerate(cap->mMinFrameRate, cap->mMaxFrameRate); in setParameters()
497 cap->mColorFormat = pixFormat; in setParameters()
[all …]
DOMXCapture.cpp47 OMXCameraPortParameters *cap; in setParametersCapture() local
48 cap = &mCameraAdapterParameters.mCameraPortParams[mCameraAdapterParameters.mImagePortIndex]; in setParametersCapture()
52 if ( ( w != ( int ) cap->mWidth ) || in setParametersCapture()
53 ( h != ( int ) cap->mHeight ) ) in setParametersCapture()
58 cap->mWidth = w; in setParametersCapture()
59 cap->mHeight = h; in setParametersCapture()
63 CAMHAL_LOGVB("Image: cap.mWidth = %d", (int)cap->mWidth); in setParametersCapture()
64 CAMHAL_LOGVB("Image: cap.mHeight = %d", (int)cap->mHeight); in setParametersCapture()
119 if ( pixFormat != cap->mColorFormat ) in setParametersCapture()
122 cap->mColorFormat = pixFormat; in setParametersCapture()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCapabilities.cpp354 const CapCodingFormat *cap, in encodeImageCodingFormatCap() argument
362 if ( ( NULL == buffer ) || ( NULL == cap ) ) { in encodeImageCodingFormatCap()
369 if ( format == cap[i].imageCodingFormat ) { in encodeImageCodingFormatCap()
373 …strncat(buffer, cap[i].param, ((((int)MAX_PROP_VALUE_LENGTH - 1 - (int)strlen(buffer)) < 0) ? 0 :… in encodeImageCodingFormatCap()
384 const CapPixelformat *cap, in encodePixelformatCap() argument
393 if ( ( NULL == buffer ) || ( NULL == cap ) ) { in encodePixelformatCap()
401 if ( format == cap[i].pixelformat ) in encodePixelformatCap()
406 strncat(buffer, cap[i].param, bufferSize - 1); in encodePixelformatCap()
473 const CapZoom *cap, in encodeZoomCap() argument
483 if ( (NULL == buffer) || (NULL == cap) ) { in encodeZoomCap()
[all …]
DOMXCameraAdapter.cpp523 OMXCameraPortParameters *cap; in setParamS3D() local
527 cap = &mCameraAdapterParameters.mCameraPortParams[port]; in setParamS3D()
532 cap->mFrameLayoutType = OMX_TI_StereoFrameLayoutTopBottom; in setParamS3D()
536 cap->mFrameLayoutType = OMX_TI_StereoFrameLayoutLeftRight; in setParamS3D()
540 cap->mFrameLayoutType = OMX_TI_StereoFrameLayoutTopBottomSubsample; in setParamS3D()
544 cap->mFrameLayoutType = OMX_TI_StereoFrameLayoutLeftRightSubsample; in setParamS3D()
548 cap->mFrameLayoutType = OMX_TI_StereoFrameLayout2D; in setParamS3D()
553 cap->mFrameLayoutType = OMX_TI_StereoFrameLayout2D; in setParamS3D()
592 OMXCameraPortParameters *cap; in setParameters() local
593 cap = &mCameraAdapterParameters.mCameraPortParams[mCameraAdapterParameters.mPrevPortIndex]; in setParameters()
[all …]
DOMXCapture.cpp47 OMXCameraPortParameters *cap; in setParametersCapture() local
48 cap = &mCameraAdapterParameters.mCameraPortParams[mCameraAdapterParameters.mImagePortIndex]; in setParametersCapture()
50 capFrmLayout = cap->mFrameLayoutType; in setParametersCapture()
53 if (capFrmLayout != cap->mFrameLayoutType) { in setParametersCapture()
59 if ( ( w != ( int ) cap->mWidth ) || in setParametersCapture()
60 ( h != ( int ) cap->mHeight ) ) in setParametersCapture()
65 cap->mWidth = w; in setParametersCapture()
66 cap->mHeight = h; in setParametersCapture()
70 CAMHAL_LOGVB("Image: cap.mWidth = %d", (int)cap->mWidth); in setParametersCapture()
71 CAMHAL_LOGVB("Image: cap.mHeight = %d", (int)cap->mHeight); in setParametersCapture()
[all …]
DOMXAlgo.cpp40 OMXCameraPortParameters *cap; in setParametersAlgo() local
235 cap = &mCameraAdapterParameters.mCameraPortParams[mCameraAdapterParameters.mPrevPortIndex]; in setParametersAlgo()
237 if (cap->mFrameLayoutType != OMX_TI_StereoFrameLayout2D) { in setParametersAlgo()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp87 ret = ioctl (mCameraHandle, VIDIOC_QUERYCAP, &mVideoInfo->cap); in initialize()
94 if ((mVideoInfo->cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) == 0) in initialize()
100 if (!(mVideoInfo->cap.capabilities & V4L2_CAP_STREAMING)) in initialize()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1622 cam_capability_t cap; in enableAFR() local
1629 rc = mm_camera_lib_get_caps(lib_handle, &cap); in enableAFR()
1635 for( i = 0, j = 0 ; i < cap.fps_ranges_tbl_cnt ; i++ ) { in enableAFR()
1636 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
1643 &cap.fps_ranges_tbl[j], in enableAFR()
1648 cap.fps_ranges_tbl[j].min_fps, in enableAFR()
1649 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp312 ret = v4lIoctl (mCameraHandle, VIDIOC_QUERYCAP, &mVideoInfo->cap); in initialize()
319 if ((mVideoInfo->cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) == 0) { in initialize()
325 if (!(mVideoInfo->cap.capabilities & V4L2_CAP_STREAMING)) { in initialize()
1255 struct v4l2_capability cap; in V4LCameraAdapter_Capabilities() local
1267 memset((void*)&cap, 0, sizeof(v4l2_capability)); in V4LCameraAdapter_Capabilities()
1291 ret = ioctl (tempHandle, VIDIOC_QUERYCAP, &cap); in V4LCameraAdapter_Capabilities()
1299 if ((cap.capabilities & V4L2_CAP_VIDEO_CAPTURE) == 0) { in V4LCameraAdapter_Capabilities()
/hardware/libhardware/tests/camera2/
DCameraMultiStreamTests.cpp159 Size CapSize(Size cap, Size input) { in CapSize() argument
160 if (input.width * input.height > cap.width * cap.height) { in CapSize()
161 return cap; in CapSize()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h34 struct v4l2_capability cap; member
/hardware/qcom/msm8x74/original-kernel-headers/media/
Dmsm_vidc.h23 int msm_vidc_querycap(void *instance, struct v4l2_capability *cap);
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h58 struct v4l2_capability cap; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dmsm8960_use_cases.h311 static int snd_ucm_extract_acdb(char *buf, int *id, int *cap);
Dalsa_ucm.c3376 static int snd_ucm_extract_acdb(char *buf, int *id, int *cap) in snd_ucm_extract_acdb() argument
3383 *cap = 0; in snd_ucm_extract_acdb()
3391 *cap = atoi(p); in snd_ucm_extract_acdb()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c620 struct v4l2_capability cap; in mm_camera_query_capability() local
623 memset(&cap, 0, sizeof(cap)); in mm_camera_query_capability()
624 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability()
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp324 struct v4l2_capability cap; in venc_open() local
329 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
334 " version = %d, capabilities = %x\n", cap.driver, cap.card, in venc_open()
335 cap.bus_info, cap.version, cap.capabilities); in venc_open()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
D802.11.h482 uint8 cap[1]; member
1547 uint16 cap; /* capability */ member
2178 uint8 cap[DOT11_RRM_CAP_LEN]; member
2805 uint16 cap; member
3303 uint8 cap; member
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp450 VAProcFilterCapDeinterlacing * const cap = &deinterlacingCaps[i]; in setupFilters() local
451 if (cap->type != VAProcDeinterlacingBob) // desired Deinterlacing Type in setupFilters()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp918 struct v4l2_capability cap; in venc_open() local
926 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
932 " version = %d, capabilities = %x", cap.driver, cap.card, in venc_open()
933 cap.bus_info, cap.version, cap.capabilities); in venc_open()
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h369 virtual status_t setFormat(OMX_U32 port, OMXCameraPortParameters &cap);
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp1368 struct v4l2_capability cap; in component_init() local
1369 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
1375 " version = %d, capabilities = %x\n", cap.driver, cap.card, in component_init()
1376 cap.bus_info, cap.version, cap.capabilities); in component_init()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1446 struct v4l2_capability cap; in component_init() local
1447 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
1453 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()
1454 cap.bus_info, cap.version, cap.capabilities); in component_init()
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h413 virtual status_t setFormat(OMX_U32 port, OMXCameraPortParameters &cap);

12