/hardware/libhardware/modules/camera/3_4/ |
D | v4l2_camera_hal.cpp | 80 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/ |
D | Composer.h | 64 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/ |
D | C2BufferTest.cpp | 200 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/ |
D | wifi_sta_iface_hidl_test.cpp | 213 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/ |
D | QCameraCommon.h | 47 int32_t init(cam_capability_t *cap);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_main_menu.c | 2003 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/ |
D | msm8960_use_cases.h | 311 static int snd_ucm_extract_acdb(char *buf, int *id, int *cap);
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 324 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/ |
D | video_encoder_device_v4l2.cpp | 489 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/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 516 bool inline venc_dev::venc_query_cap(struct v4l2_queryctrl &cap) { in venc_query_cap() argument 518 if (ioctl(m_nDriver_fd, VIDIOC_QUERYCTRL, &cap)) { in venc_query_cap() 519 DEBUG_PRINT_ERROR("Query caps for id = %u failed", cap.id); in venc_query_cap() 527 struct v4l2_queryctrl cap; in venc_validate_range() local 528 memset(&cap, 0, sizeof(struct v4l2_queryctrl)); in venc_validate_range() 530 cap.id = id; in venc_validate_range() 531 if (venc_query_cap(cap)) { in venc_validate_range() 532 if (val >= cap.minimum && val <= cap.maximum) { in venc_validate_range() 536 cap.id, val, cap.minimum, cap.maximum); in venc_validate_range() 1716 struct v4l2_capability cap; in venc_open() local [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 657 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/ |
D | 802.11.h | 482 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/ |
D | QualcommUsbCamera.cpp | 1292 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/ |
D | HwcHal.h | 498 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/ |
D | video_encoder_device_v4l2.h | 474 bool venc_query_cap(struct v4l2_queryctrl &cap);
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 823 struct v4l2_capability cap; variable 1453 bool vdec_query_cap(struct v4l2_queryctrl &cap);
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 797 struct v4l2_capability cap; variable 1358 bool vdec_query_cap(struct v4l2_queryctrl &cap);
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 472 bool venc_query_cap(struct v4l2_queryctrl &cap);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 919 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/ |
D | omx_vdpp.cpp | 1607 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/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 1368 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/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1178 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/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 577 struct v4l2_capability cap; variable
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1364 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/ |
D | omx_vdec.h | 604 struct v4l2_capability cap; variable
|