/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.c | 695 buf->m.planes[0].bytesused == 0 && in vidioc_venc_dqbuf() 1049 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_encode_header() 1193 (size_t)src_buf->vb2_buf.planes[i].length; in mtk_venc_worker() 1197 bs_buf.size = (size_t)dst_buf->vb2_buf.planes[0].length; in mtk_venc_worker()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ffv1enc.c | 1031 const uint8_t *planes[4] = {p->data[0] + ps*x + y*p->linesize[0], in encode_slice() local 1038 choose_rct_params(fs, planes, p->linesize, width, height); in encode_slice() 1075 ret = encode_rgb_frame32(fs, planes, width, height, p->linesize); in encode_slice() 1077 ret = encode_rgb_frame(fs, planes, width, height, p->linesize); in encode_slice()
|
H A D | ffv1dec.c | 351 uint8_t *planes[4] = { p->data[0] + ps * x + y * p->linesize[0], in decode_slice() local 355 decode_rgb_frame32(fs, planes, width, height, p->linesize); in decode_slice() 357 uint8_t *planes[4] = { p->data[0] + ps * x + y * p->linesize[0], in decode_slice() local 361 decode_rgb_frame(fs, planes, width, height, p->linesize); in decode_slice()
|
H A D | exr.c | 2045 int planes; in decode_frame() local 2147 planes = s->desc->nb_components; in decode_frame() 2150 planes = 1; in decode_frame() 2192 for (i = 0; i < planes; i++) { in decode_frame() 2207 for (i = 0; i < planes; i++) { in decode_frame()
|
/third_party/ffmpeg/libavutil/ |
H A D | pixdesc.c | 2705 int i, planes[4] = { 0 }, ret = 0; in av_pix_fmt_count_planes() local 2711 planes[desc->comp[i].plane] = 1; in av_pix_fmt_count_planes() 2712 for (i = 0; i < FF_ARRAY_ELEMS(planes); i++) in av_pix_fmt_count_planes() 2713 ret += planes[i]; in av_pix_fmt_count_planes()
|
/third_party/backends/backend/ |
H A D | dc25.c | 1412 #define GET_COMP(pp, x, y, c) (pp->planes[((x) + (y)*pp->width)*pp->components + (c)]) 1434 if (!(result->planes = malloc (x * y * d))) in alloc_pixmap() 1463 free (p->planes); in free_pixmap() 2674 memcpy (data, pp->planes + outbytes, *length); in sane_read()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_apply_pipeline_layout.c | 1173 * adding the number of planes of all preceding elements. in lower_tex_deref() 1543 uint8_t planes = samplers ? samplers[i]->n_planes : 1; in anv_nir_apply_pipeline_layout() local 1544 for (uint8_t p = 0; p < planes; p++) { in anv_nir_apply_pipeline_layout() 1586 uint8_t planes = samplers ? samplers[i]->n_planes : 1; in anv_nir_apply_pipeline_layout() local 1587 for (uint8_t p = 0; p < planes; p++) { in anv_nir_apply_pipeline_layout()
|
/third_party/libdrm/ |
H A D | xf86drmMode.c | 1214 r->planes = drmAllocCpy(U642VOID(res.plane_id_ptr), in drmModeGetPlaneResources() 1216 if (res.count_planes && !r->planes) { in drmModeGetPlaneResources() 1217 drmFree(r->planes); in drmModeGetPlaneResources() 1233 drmFree(ptr->planes); in drmModeFreePlaneResources()
|
H A D | xf86drmMode.h | 120 /* per-plane GEM handle; may be duplicate entries for multiple planes */ 258 uint32_t *planes; member
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_opr_v6.c | 1817 temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_dec_frame() 1820 if (temp_vb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame() 1858 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1895 mfc_debug(2, "Header size: %d\n", temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_init_dec() 1898 temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_init_dec()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v6.c | 1817 temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_dec_frame() 1820 if (temp_vb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_dec_frame() 1858 if (src_mb->b->vb2_buf.planes[0].bytesused == 0) { in s5p_mfc_run_enc_frame() 1895 mfc_debug(2, "Header size: %d\n", temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_init_dec() 1898 temp_vb->b->vb2_buf.planes[0].bytesused); in s5p_mfc_run_init_dec()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_resource.c | 1046 VkBindImagePlaneMemoryInfo planes[3]; in resource_object_create() local 1053 infos[i].pNext = &planes[i]; in resource_object_create() 1054 planes[i].sType = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO; in resource_object_create() 1055 planes[i].pNext = NULL; in resource_object_create() 1056 planes[i].planeAspect = plane_aspects[i]; in resource_object_create() 1304 unreachable("how many planes you got in this thing?"); in zink_resource_get_param()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mode.h | 321 struct drm_plane *planes[AMDGPU_MAX_PLANES]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_atomic.c | 340 * On gen11+'s HDR planes we only use the scaler for in intel_atomic_setup_scaler() 382 * a @crtc and its planes. It is called from crtc level check path. If request 383 * is a supportable request, it attaches scalers to requested planes and crtc. 385 * This function takes into account the current scaler(s) in use by any planes 412 * - add planes using scalers that aren't in current transaction in intel_atomic_setup_scalers() 415 * (i.e., either attached or detached) to respective planes in hw in intel_atomic_setup_scalers() 449 plane = drm_state->planes[i].ptr; in intel_atomic_setup_scalers() 452 * to enable/disable hq mode, add planes that are using scaler in intel_atomic_setup_scalers()
|
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-ioctl.h | 767 struct v4l2_plane *planes; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_kms.c | 324 /* construct non-private planes: */ in modeset_init() 333 priv->planes[priv->num_planes++] = plane; in modeset_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 188 struct drm_plane *planes[MAX_PLANES]; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | plane.c | 235 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add() 466 /* include all sibling planes into this commit */ in tegra_plane_check_transparency() 470 /* skip this plane and planes on different CRTCs */ in tegra_plane_check_transparency() 514 /* skip this plane and planes on different CRTCs */ in tegra_plane_update_transparency() 550 * If planes zpos / transparency changed, sibling planes blending in tegra_plane_setup_transparency() 559 * All planes are now in the atomic state, walk them up and update in tegra_plane_setup_transparency() 565 /* skip planes on different CRTCs */ in tegra_plane_setup_transparency()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.h | 63 u8 planes; member
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
H A D | vivid-core.h | 63 u8 planes; member
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-ioctl.h | 777 struct v4l2_plane *planes; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mode.h | 313 struct drm_plane *planes[AMDGPU_MAX_PLANES]; member
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_enc_hw.c | 90 src_buf->planes[i].data_offset; in mtk_jpeg_set_enc_src()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesImageBlockShapes.cpp | 227 deUint32 pixelSize = static_cast<deUint32>(formatDescription.planes[planeNdx].elementSizeBytes) * 8u; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.hpp | 134 Plane planes[MAX_PLANES]; member
|