/hardware/qcom/sm8150/display/libdrmutils/ |
D | drm_res_mgr.cpp | 62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local 63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder() 64 *encoder = enc; in GetEncoder() 65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder() 72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument 74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc() 127 drmModeEncoder *enc = nullptr; in Init() local 128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init() 135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init() 137 drmModeFreeEncoder(enc); in Init() [all …]
|
/hardware/qcom/display/msm8998/libdrmutils/ |
D | drm_res_mgr.cpp | 62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local 63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder() 64 *encoder = enc; in GetEncoder() 65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder() 72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument 74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc() 127 drmModeEncoder *enc = nullptr; in Init() local 128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init() 135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init() 137 drmModeFreeEncoder(enc); in Init() [all …]
|
/hardware/qcom/display/msm8909/libdrmutils/ |
D | drm_res_mgr.cpp | 62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local 63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder() 64 *encoder = enc; in GetEncoder() 65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder() 72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument 74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc() 127 drmModeEncoder *enc = nullptr; in Init() local 128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init() 135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init() 137 drmModeFreeEncoder(enc); in Init() [all …]
|
/hardware/qcom/sm7250/display/libdrmutils/ |
D | drm_res_mgr.cpp | 62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local 63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder() 64 *encoder = enc; in GetEncoder() 65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder() 72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument 74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc() 127 drmModeEncoder *enc = nullptr; in Init() local 128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init() 135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init() 137 drmModeFreeEncoder(enc); in Init() [all …]
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
D | drm_res_mgr.cpp | 62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local 63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder() 64 *encoder = enc; in GetEncoder() 65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder() 72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument 74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc() 127 drmModeEncoder *enc = nullptr; in Init() local 128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init() 135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init() 137 drmModeFreeEncoder(enc); in Init() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | drmdevice.cpp | 126 std::unique_ptr<DrmEncoder> enc( in Init() local 131 encoders_.emplace_back(std::move(enc)); in Init() 322 int DrmDevice::TryEncoderForDisplay(int display, DrmEncoder *enc) { in TryEncoderForDisplay() argument 324 DrmCrtc *crtc = enc->crtc(); in TryEncoderForDisplay() 327 enc->set_crtc(crtc, display); in TryEncoderForDisplay() 332 for (DrmCrtc *crtc : enc->possible_crtcs()) { in TryEncoderForDisplay() 334 if (crtc == enc->crtc()) in TryEncoderForDisplay() 339 enc->set_crtc(crtc, display); in TryEncoderForDisplay() 361 for (DrmEncoder *enc : connector->possible_encoders()) { in CreateDisplayPipe() 362 int ret = TryEncoderForDisplay(display, enc); in CreateDisplayPipe() [all …]
|
/hardware/google/gfxstream/guest/vulkan_enc/ |
D | ResourceTracker.cpp | 496 VkEncoder* enc, VkDevice device, in setBufferCollectionConstraintsFUCHSIA() argument 556 return setBufferCollectionImageConstraintsFUCHSIA(enc, device, collection, &imageConstraints); in setBufferCollectionConstraintsFUCHSIA() 560 VkEncoder* enc, VkDevice device, VkPhysicalDevice physicalDevice, in addImageBufferCollectionConstraintsFUCHSIA() argument 566 auto result = enc->vkGetPhysicalDeviceImageFormatProperties( in addImageBufferCollectionConstraintsFUCHSIA() 583 enc->vkGetPhysicalDeviceFormatProperties(physicalDevice, createInfo->format, in addImageBufferCollectionConstraintsFUCHSIA() 635 enc->vkGetLinearImageLayout2GOOGLE(device, &createInfoDup, &offset, &rowPitchAlignment, in addImageBufferCollectionConstraintsFUCHSIA() 812 VkEncoder* enc = (VkEncoder*)context; in commitDescriptorSetUpdates() local 916 enc->vkQueueCommitDescriptorSetUpdatesGOOGLE( in commitDescriptorSetUpdates() 984 VkEncoder* enc = (VkEncoder*)context; in decDescriptorSetLayoutRef() local 985 enc->vkDestroyDescriptorSetLayout(device, descriptorSetLayout, pAllocator, in decDescriptorSetLayoutRef() [all …]
|
D | VkEncoder.cpp.inl | 58 EncoderAutoLock(VkEncoder* enc) : mEnc(enc) { mEnc->lock(); }
|
D | ResourceTracker.h | 316 VkEncoder* enc, VkDevice device, 616 void freeDescriptorSetsIfHostAllocated(VkEncoder* enc, VkDevice device, 641 VkEncoder* enc, VkResult& res); 643 VkEncoder* enc, VkDeviceMemory* pMemory); 645 VkResult getCoherentMemory(const VkMemoryAllocateInfo* pAllocateInfo, VkEncoder* enc, 659 VkResult vkQueueSubmitEnc(VkEncoder* enc, VkQueue queue, uint32_t submitCount, 662 VkResult vkQueueSubmitEnc(VkEncoder* enc, VkQueue queue, uint32_t submitCount, 700 VkEncoder* enc, VkDevice device, 705 VkEncoder* enc, VkDevice device,
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_dpps_mgr_imp.cpp | 65 drmModeEncoder *enc = NULL; in GetDrmResources() local 91 enc = drmModeGetEncoder(drm_fd_, conn->encoders[i]); in GetDrmResources() 92 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetDrmResources() 93 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetDrmResources() 94 enc_id = enc->encoder_id; in GetDrmResources() 97 drmModeFreeEncoder(enc); in GetDrmResources() 98 enc = NULL; in GetDrmResources() 100 if (enc_id < 0 || !enc) { in GetDrmResources() 110 if (enc->possible_crtcs & (1 << i)) { in GetDrmResources() 123 drmModeFreeEncoder(enc); in GetDrmResources() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | texcompress_s3tc_tmp.h | 197 GLubyte enc = 0; in fancybasecolorsearch() local 252 enc = colors; in fancybasecolorsearch() 259 if (enc == 0) { in fancybasecolorsearch() 265 else if (enc == 2) { in fancybasecolorsearch() 275 else if (enc == 3) { in fancybasecolorsearch() 285 else if (enc == 1) { in fancybasecolorsearch() 387 GLubyte enc = 0; in storedxtencodedblock() local 425 enc = colors; in storedxtencodedblock() 429 bits |= (uint32_t)enc << (2 * (j * 4 + i)); in storedxtencodedblock() 448 enc = 3; in storedxtencodedblock() [all …]
|
/hardware/google/gchips/include/ |
D | VendorVideoAPI.h | 194 ExynosVideoEncData enc; member
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | CMakeLists.txt | 27 set(CODEC enc)
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/ |
D | drmdevice.h | 100 int TryEncoderForDisplay(int display, DrmEncoder *enc);
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 2036 struct v4l2_encoder_cmd enc; in venc_handle_empty_eos_buffer() local 2059 memset(&enc, 0, sizeof(enc)); in venc_handle_empty_eos_buffer() 2060 enc.cmd = V4L2_ENC_CMD_STOP; in venc_handle_empty_eos_buffer() 2062 rc = ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_handle_empty_eos_buffer() 2363 struct v4l2_encoder_cmd enc; in venc_flush() local 2366 enc.cmd = V4L2_CMD_FLUSH; in venc_flush() 2367 enc.flags = V4L2_CMD_FLUSH_OUTPUT | V4L2_CMD_FLUSH_CAPTURE; in venc_flush() 2369 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1097 struct v4l2_encoder_cmd enc; in venc_close() local 1101 enc.cmd = V4L2_ENC_CMD_STOP; in venc_close() 1102 ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_close() 2484 struct v4l2_encoder_cmd enc; in venc_flush() local 2487 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush() 2488 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush() 2490 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 3501 struct v4l2_encoder_cmd enc; in venc_handle_empty_eos_buffer() local 3535 memset(&enc, 0, sizeof(enc)); in venc_handle_empty_eos_buffer() 3536 enc.cmd = V4L2_ENC_CMD_STOP; in venc_handle_empty_eos_buffer() 3538 rc = ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_handle_empty_eos_buffer() 3984 struct v4l2_encoder_cmd enc; in venc_flush() local 3991 enc.cmd = V4L2_QCOM_CMD_FLUSH; in venc_flush() 3992 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush() 3994 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 3186 struct v4l2_encoder_cmd enc; in venc_flush() local 3189 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush() 3190 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush() 3192 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 3571 struct v4l2_encoder_cmd enc; in venc_flush() local 3585 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush() 3586 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush() 3588 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
|