Home
last modified time | relevance | path

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

12

/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.cpp80 v4l2_capability cap; in V4L2CameraHAL() local
91 if (TEMP_FAILURE_RETRY(ioctl(fd, VIDIOC_QUERYCAP, &cap)) != 0) { in V4L2CameraHAL()
94 } else if (!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in V4L2CameraHAL()
98 bus = reinterpret_cast<char*>(cap.bus_info); in V4L2CameraHAL()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposer.h64 for (auto cap : all_caps) { in getCapabilities() local
65 if (mHal->hasCapability(static_cast<hwc2_capability_t>(cap))) { in getCapabilities()
66 caps.push_back(cap); in getCapabilities()
/hardware/google/av/codec2/tests/vndk/
DC2BufferTest.cpp200 constexpr TestCapacity cap(123u); in StaticLinearRangeAndCapacityTest() local
201 static_assert(TestCapacity(&cap).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest()
205 static_assert(TestRange(&cap).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest()
206 static_assert(TestRange(&cap).offset() == 0u, ""); in StaticLinearRangeAndCapacityTest()
207 static_assert(TestRange(&cap).size() == 123u, ""); in StaticLinearRangeAndCapacityTest()
208 static_assert(TestRange(&cap).endOffset() == 123u, ""); in StaticLinearRangeAndCapacityTest()
210 constexpr TestRange range(&cap, 50u, 100u); in StaticLinearRangeAndCapacityTest()
217 static_assert(TestRange(&cap, 20u, 30u).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest()
218 static_assert(TestRange(&cap, 20u, 30u).offset() == 20u, ""); in StaticLinearRangeAndCapacityTest()
219 static_assert(TestRange(&cap, 20u, 30u).size() == 30u, ""); in StaticLinearRangeAndCapacityTest()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_sta_iface_hidl_test.cpp213 const auto& cap = status_and_cap.second; in TEST_F() local
215 if (cap.maxBlacklistSize > 0) { in TEST_F()
221 if (cap.maxWhitelistSize > 0) { in TEST_F()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraCommon.h47 int32_t init(cam_capability_t *cap);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c2003 cam_capability_t cap; in enableAFR() local
2010 rc = mm_camera_lib_get_caps(lib_handle, &cap); in enableAFR()
2016 for( i = 0, j = 0 ; i < cap.fps_ranges_tbl_cnt ; i++ ) { in enableAFR()
2017 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
2024 &cap.fps_ranges_tbl[j], in enableAFR()
2028 cap.fps_ranges_tbl[j].min_fps, in enableAFR()
2029 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
2032 cap.fps_ranges_tbl[j].video_min_fps, in enableAFR()
2033 cap.fps_ranges_tbl[j].video_max_fps, in enableAFR()
/hardware/qcom/audio/legacy/libalsa-intf/
Dmsm8960_use_cases.h311 static int snd_ucm_extract_acdb(char *buf, int *id, int *cap);
/hardware/qcom/media/msm8974/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/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp489 bool inline venc_dev::venc_query_cap(struct v4l2_queryctrl &cap) { in venc_query_cap() argument
491 if (ioctl(m_nDriver_fd, VIDIOC_QUERYCTRL, &cap)) { in venc_query_cap()
492 DEBUG_PRINT_ERROR("Query caps for id = %u failed", cap.id); in venc_query_cap()
500 struct v4l2_queryctrl cap; in venc_validate_range() local
501 memset(&cap, 0, sizeof(struct v4l2_queryctrl)); in venc_validate_range()
503 cap.id = id; in venc_validate_range()
504 if (venc_query_cap(cap)) { in venc_validate_range()
505 if (val >= cap.minimum && val <= cap.maximum) { in venc_validate_range()
509 cap.id, val, cap.minimum, cap.maximum); in venc_validate_range()
1445 struct v4l2_capability cap; in venc_open() local
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c657 struct v4l2_capability cap; in mm_camera_query_capability() local
659 memset(&cap, 0, sizeof(cap)); in mm_camera_query_capability()
660 rc = ioctl(my_obj->ctrl_fd, VIDIOC_QUERYCAP, &cap); in mm_camera_query_capability()
/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/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp1292 struct v4l2_capability cap; in initUsbCamera() local
1300 if (-1 == ioctlLoop(camHal->fd, VIDIOC_QUERYCAP, &cap)) { in initUsbCamera()
1310 if (!(cap.capabilities & V4L2_CAP_VIDEO_CAPTURE)) { in initUsbCamera()
1315 if (!(cap.capabilities & V4L2_CAP_STREAMING)) { in initUsbCamera()
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h498 for (auto cap : caps) { in initCapabilities() local
499 mCapabilities.insert(static_cast<hwc2_capability_t>(cap)); in initCapabilities()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h474 bool venc_query_cap(struct v4l2_queryctrl &cap);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h797 struct v4l2_capability cap; variable
1358 bool vdec_query_cap(struct v4l2_queryctrl &cap);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp919 struct v4l2_capability cap; in venc_open() local
927 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
933 " version = %d, capabilities = %x", cap.driver, cap.card, in venc_open()
934 cap.bus_info, cap.version, cap.capabilities); in venc_open()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp1607 struct v4l2_capability cap; in component_init() local
1609 ret = ioctl(drv_ctx.video_vpu_fd, VIDIOC_QUERYCAP, &cap); in component_init()
1615 " version = %d, capabilities = %x\n", cap.driver, cap.card, in component_init()
1616 cap.bus_info, cap.version, cap.capabilities); in component_init()
1618 if ((cap.capabilities & V4L2_CAP_STREAMING) == 0) in component_init()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1178 struct v4l2_capability cap; in venc_open() local
1180 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
1186 " version = %d, capabilities = %x", cap.driver, cap.card, in venc_open()
1187 cap.bus_info, cap.version, cap.capabilities); in venc_open()
/hardware/qcom/media/msm8974/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/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h577 struct v4l2_capability cap; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1364 struct v4l2_capability cap; in venc_open() local
1366 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
1372 " version = %d, capabilities = %x", cap.driver, cap.card, in venc_open()
1373 cap.bus_info, cap.version, cap.capabilities); in venc_open()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h604 struct v4l2_capability cap; variable
/hardware/qcom/media/msm8974/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/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc.cpp1425 struct v4l2_capability cap; in component_init() local
1426 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
1432 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()
1433 cap.bus_info, cap.version, cap.capabilities); in component_init()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp2397 struct v4l2_capability cap; in component_init() local
2398 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
2404 " version = %d, capabilities = %x", cap.driver, cap.card, in component_init()
2405 cap.bus_info, cap.version, cap.capabilities); in component_init()
3372 bool inline omx_vdec::vdec_query_cap(struct v4l2_queryctrl &cap) { in vdec_query_cap() argument
3374 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCTRL, &cap)) { in vdec_query_cap()
3375 DEBUG_PRINT_ERROR("Query caps for id = %u failed\n", cap.id); in vdec_query_cap()

12