Lines Matching defs:plane_index
20 * @plane_index: The index of the plane to use
35 int plane_index, int *offset, int *rem_x, int *rem_y)
46 int block_x = x / drm_format_info_block_width(format, plane_index);
47 int block_y = y / drm_format_info_block_height(format, plane_index);
48 int block_pitch = fb->pitches[plane_index] * drm_format_info_block_height(format,
49 plane_index);
50 *rem_x = x % drm_format_info_block_width(format, plane_index);
51 *rem_y = y % drm_format_info_block_height(format, plane_index);
52 *offset = fb->offsets[plane_index] +
54 block_x * format->char_per_block[plane_index];
64 * @plane_index: The index of the plane
75 int x, int y, int plane_index, u8 **addr, int *rem_x,
80 packed_pixels_offset(frame_info, x, y, plane_index, &offset, rem_x, rem_y);
90 * @plane_index: Plane to get the step from
98 int plane_index)
102 return fb->format->char_per_block[plane_index];
104 return -fb->format->char_per_block[plane_index];
106 return (int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format,
107 plane_index);
109 return -(int)fb->pitches[plane_index] * drm_format_info_block_width(fb->format,
110 plane_index);
123 * @plane_index: The index of the plane
129 int x, int y, int plane_index, u8 **addr)
134 plane_index) != 1,
137 plane_index) != 1,
140 packed_pixels_offset(frame_info, x, y, plane_index, &offset, &rem_x,