Home
last modified time | relevance | path

Searched refs:drm_info (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtsbase.c229 if (base->drm_info != NULL) { in mpegts_base_reset_drm_info()
230 memset (base->drm_info, 0, (sizeof(DrmInfo) * DRM_MAX_TS_DRM_INFO_NUM)); in mpegts_base_reset_drm_info()
316 if (base->drm_info == NULL) { in mpegts_base_init()
317 base->drm_info = (DrmInfo *) g_malloc ((sizeof(DrmInfo) * DRM_MAX_TS_DRM_INFO_NUM)); in mpegts_base_init()
318 if (base->drm_info == NULL) { in mpegts_base_init()
347 if (base->drm_info != NULL) { in mpegts_base_finalize()
348 g_free (base->drm_info); in mpegts_base_finalize()
349 base->drm_info = NULL; in mpegts_base_finalize()
396 DrmInfo drm_info; in mpegts_add_drm_info() local
399 if (base->drm_info == NULL) { in mpegts_add_drm_info()
[all …]
Dmpegtsbase.h195 DrmInfo *drm_info; member
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dm3u8.c120 DrmInfo drm_info; in gst_m3u8_add_drm_info() local
121 drm_info.pssh_len = 0; in gst_m3u8_add_drm_info()
123 if (m3u8->drm_info == NULL) { in gst_m3u8_add_drm_info()
128 memcpy (drm_info.uuid, pssh + DRM_UUID_OFFSET, DRM_MAX_M3U8_DRM_UUID_LEN); in gst_m3u8_add_drm_info()
134 memcpy (drm_info.pssh, pssh, pssh_size); in gst_m3u8_add_drm_info()
135 drm_info.pssh_len = pssh_size; in gst_m3u8_add_drm_info()
141 if ((m3u8->drm_info[i].pssh_len == drm_info.pssh_len) && in gst_m3u8_add_drm_info()
142 (memcmp (m3u8->drm_info[i].pssh, drm_info.pssh, drm_info.pssh_len) == 0) && in gst_m3u8_add_drm_info()
143 (memcmp (m3u8->drm_info[i].uuid, drm_info.uuid, DRM_MAX_M3U8_DRM_UUID_LEN) == 0)) { in gst_m3u8_add_drm_info()
148 m3u8->drm_info[m3u8->drm_info_num].pssh_len = drm_info.pssh_len; in gst_m3u8_add_drm_info()
[all …]
Dm3u8.h101 DrmInfo *drm_info; member
/third_party/mesa3d/src/gallium/frontends/va/
Dcontext.c141 const struct drm_state *drm_info = (struct drm_state *) ctx->drm_state; in VA_DRIVER_INIT_FUNC() local
143 if (!drm_info || drm_info->fd < 0) { in VA_DRIVER_INIT_FUNC()
148 char* drm_driver_name = loader_get_driver_for_fd(drm_info->fd); in VA_DRIVER_INIT_FUNC()
151 drv->vscreen = vl_vgem_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
156 drv->vscreen = vl_drm_screen_create(drm_info->fd); in VA_DRIVER_INIT_FUNC()
/third_party/ffmpeg/libavformat/
Dmpegts.c355 static void mpegts_set_drm_algo_and_blocks(uint8_t algo, DrmInfo *drm_info) in mpegts_set_drm_algo_and_blocks() argument
358 drm_info->algo = DRM_ALG_CENC_SM4_CBC; in mpegts_set_drm_algo_and_blocks()
359 drm_info->encrypt_blocks = DRM_CRYPT_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
360 drm_info->skip_blocks = DRM_SKIP_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
362 drm_info->algo = DRM_ALG_CENC_AES_CBC; in mpegts_set_drm_algo_and_blocks()
363 drm_info->encrypt_blocks = DRM_CRYPT_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
364 drm_info->skip_blocks = DRM_SKIP_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
366 drm_info->algo = DRM_ALG_CENC_AES_CBC; in mpegts_set_drm_algo_and_blocks()
367 drm_info->encrypt_blocks = DRM_TS_FLAG_CRYPT_BYTE_BLOCK; in mpegts_set_drm_algo_and_blocks()
368 drm_info->skip_blocks = 0; in mpegts_set_drm_algo_and_blocks()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c366 const VkPhysicalDeviceImageDrmFormatModifierInfoEXT *drm_info = in tu_get_image_format_properties() local
369 switch (drm_info->drmFormatModifier) { in tu_get_image_format_properties()
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c1268 const VkImageDrmFormatModifierExplicitCreateInfoEXT *drm_info, in add_all_surfaces_explicit_layout() argument
1273 const uint32_t mod_plane_count = drm_info->drmFormatModifierPlaneCount; in add_all_surfaces_explicit_layout()
1275 isl_drm_modifier_has_aux(drm_info->drmFormatModifier); in add_all_surfaces_explicit_layout()
1313 if (drm_info->pPlaneLayouts[i].rowPitch == 0) { in add_all_surfaces_explicit_layout()
1320 if (drm_info->pPlaneLayouts[i].offset == ANV_OFFSET_IMPLICIT) { in add_all_surfaces_explicit_layout()
1334 const VkSubresourceLayout *primary_layout = &drm_info->pPlaneLayouts[plane]; in add_all_surfaces_explicit_layout()
1346 const VkSubresourceLayout *aux_layout = &drm_info->pPlaneLayouts[1]; in add_all_surfaces_explicit_layout()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c2052 VkImageDrmFormatModifierExplicitCreateInfoEXT drm_info = { in vulkan_map_from_drm_frame_desc() local
2061 .pNext = has_modifiers ? &drm_info : NULL, in vulkan_map_from_drm_frame_desc()