Home
last modified time | relevance | path

Searched full:plane (Results 1 – 25 of 3335) sorted by relevance

12345678910>>...134

/external/libgav1/src/post_filter/
Dsuper_res.cc24 int plane = kPlaneY; in ApplySuperRes() local
27 MultiplyBy4(frame_header_.columns4x4) >> subsampling_x_[plane]; in ApplySuperRes()
30 auto* input = reinterpret_cast<uint16_t*>(src[plane]); in ApplySuperRes()
31 auto* output = reinterpret_cast<uint16_t*>(dst[plane]); in ApplySuperRes()
33 frame_buffer_.stride(plane) / sizeof(uint16_t); in ApplySuperRes()
36 ? loop_restoration_border_.stride(plane) in ApplySuperRes()
37 : frame_buffer_.stride(plane)) / in ApplySuperRes()
39 if (rows[plane] > 0) { in ApplySuperRes()
40 dsp_.super_res(superres_coefficients_[static_cast<int>(plane != 0)], in ApplySuperRes()
41 input, input_stride, rows[plane], plane_width, in ApplySuperRes()
[all …]
Dpost_filter.cc97 int plane = kPlaneY; local
102 SubsampledValue(width, subsampling_x_[plane]);
104 SubsampledValue(upscaled_width_fh, subsampling_x_[plane]);
106 super_res_info_[plane].step =
109 super_res_info_[plane].step * upscaled_width - superres_width;
110 super_res_info_[plane].initial_subpixel_x =
116 super_res_info_[plane].upscaled_width = upscaled_width;
117 } while (++plane < planes_);
119 int plane = kPlaneY; local
125 dsp->super_res_coefficients(super_res_info_[plane].upscaled_width,
[all …]
Dcdef.cc110 int plane = kPlaneY; in SetupCdefBorder() local
112 const ptrdiff_t src_stride = frame_buffer_.stride(plane); in SetupCdefBorder()
113 const ptrdiff_t dst_stride = cdef_border_.stride(plane); in SetupCdefBorder()
116 MultiplyBy4(frame_header_.columns4x4), subsampling_x_[plane]); in SetupCdefBorder()
119 subsampling_y_[plane]); in SetupCdefBorder()
121 const int row = kCdefBorderRows[subsampling_y_[plane]][i]; in SetupCdefBorder()
123 (MultiplyBy4(row4x4) >> subsampling_y_[plane]) + row; in SetupCdefBorder()
126 GetSourceBuffer(static_cast<Plane>(plane), row4x4, 0) + in SetupCdefBorder()
128 uint8_t* dst = cdef_border_.data(plane) + dst_stride * (row_offset + i); in SetupCdefBorder()
131 } while (++plane < planes_); in SetupCdefBorder()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math3/geometry/euclidean/threed/
DPlane.java35 public class Plane implements Hyperplane<Euclidean3D>, Embedding<Euclidean3D, Euclidean2D> { class
40 /** Offset of the origin with respect to the plane. */
43 /** Origin of the plane frame. */
46 /** First vector of the plane frame (in plane). */
49 /** Second vector of the plane frame (in plane). */
52 /** Third vector of the plane frame (plane normal). */
58 /** Build a plane normal to a given direction and containing the origin.
59 * @param normal normal direction to the plane
64 public Plane(final Vector3D normal, final double tolerance) in Plane() method in Plane
72 /** Build a plane from a point and a normal.
[all …]
/external/libgav1/src/
Dloop_restoration_info.cc67 for (int plane = kPlaneY; plane < num_planes; ++plane) { in Reset() local
68 if (loop_restoration_->type[plane] == kLoopRestorationTypeNone) { in Reset()
69 plane_needs_filtering_[plane] = false; in Reset()
72 plane_needs_filtering_[plane] = true; in Reset()
74 (plane == kPlaneY) ? width : SubsampledValue(width, subsampling_x_); in Reset()
76 (plane == kPlaneY) ? height : SubsampledValue(height, subsampling_y_); in Reset()
77 num_horizontal_units_[plane] = in Reset()
79 plane_width, loop_restoration_->unit_size_log2[plane])); in Reset()
80 num_vertical_units_[plane] = std::max( in Reset()
82 loop_restoration_->unit_size_log2[plane])); in Reset()
[all …]
Dpost_filter_test.cc69 const char* GetSuperResDigest8bpp(int id, int plane) { in GetSuperResDigest8bpp() argument
102 return kDigestSuperRes[id][plane]; in GetSuperResDigest8bpp()
106 const char* GetSuperResDigest10bpp(int id, int plane) { in GetSuperResDigest10bpp() argument
140 return kDigestSuperRes[id][plane]; in GetSuperResDigest10bpp()
145 const char* GetSuperResDigest12bpp(int id, int plane) { in GetSuperResDigest12bpp() argument
179 return kDigestSuperRes[id][plane]; in GetSuperResDigest12bpp()
240 for (int plane = kPlaneY; plane < kMaxPlanes; ++plane) { in SetUp() local
242 (plane == kPlaneY) ? 0 : frame_size_.subsampling_x; in SetUp()
244 (plane == kPlaneY) ? 0 : frame_size_.subsampling_y; in SetUp()
245 width_[plane] = frame_size_.width >> subsampling_x; in SetUp()
[all …]
Dloop_restoration_info.h54 bool PopulateUnitInfoForSuperBlock(Plane plane, BlockSize block_size,
61 Plane plane, int unit_id,
65 EntropyDecoder* reader, Plane plane, int unit_id,
68 EntropyDecoder* reader, Plane plane, int unit_id,
72 const RestorationUnitInfo* loop_restoration_info(Plane plane, in loop_restoration_info() argument
74 return &loop_restoration_info_[plane][unit_id]; in loop_restoration_info()
77 int num_horizontal_units(Plane plane) const { in num_horizontal_units() argument
78 return num_horizontal_units_[plane]; in num_horizontal_units()
80 int num_vertical_units(Plane plane) const { in num_vertical_units() argument
81 return num_vertical_units_[plane]; in num_vertical_units()
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Dplane.cc1 #include "dynamic_depth/plane.h"
20 constexpr char kNamespaceHref[] = "http://ns.google.com/photos/dd/1.0/plane/";
25 Plane::Plane() {} in Plane() function in dynamic_depth::Plane
28 void Plane::GetNamespaces( in GetNamespaces()
34 ns_name_href_map->emplace(DynamicDepthConst::Plane(), kNamespaceHref); in GetNamespaces()
41 std::unique_ptr<Plane> Plane::FromData(std::unique_ptr<Pose> pose, in FromData()
46 LOG(ERROR) << "The Plane's pose must be provided"; in FromData()
55 std::unique_ptr<Plane> plane(std::unique_ptr<Plane>(new Plane())); // NOLINT in FromData() local
56 plane->pose_ = std::move(pose); in FromData()
57 plane->boundary_vertex_count_ = boundary.size() / 2; in FromData()
[all …]
/external/dng_sdk/source/
Ddng_pixel_buffer.h85 /// plus the steps (in bytes) between each column, row and plane.
127 uint32 plane = 0) const
133 plane < fPlane || (plane - fPlane) >= fPlanes)
144 static_cast<int64> (plane - fPlane));
168 /// computing the row, column or plane step, or if an invalid value was
172 /// \param plane Index of the first plane
180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes,
220 /// \retval plane step in pixels. May be negative.
230 /// \param plane Start plane for buffer pointer.
235 uint32 plane = 0) const
[all …]
/external/igt-gpu-tools/tests/
Dkms_atomic.c80 static void plane_get_current_state(igt_plane_t *plane, uint64_t *values) in plane_get_current_state() argument
90 values[i] = igt_plane_get_prop(plane, i); in plane_get_current_state()
94 static void plane_check_current_state(igt_plane_t *plane, const uint64_t *values, in plane_check_current_state() argument
101 legacy = drmModeGetPlane(plane->pipe->display->drm_fd, plane->drm_plane->plane_id); in plane_check_current_state()
109 plane_get_current_state(plane, current_values); in plane_check_current_state()
123 static void plane_commit(igt_plane_t *plane, enum igt_commit_style s, in plane_commit() argument
126 igt_display_commit2(plane->pipe->display, s); in plane_commit()
127 plane_check_current_state(plane, plane->values, relax); in plane_commit()
130 static void plane_commit_atomic_err(igt_plane_t *plane, in plane_commit_atomic_err() argument
136 plane_get_current_state(plane, current_values); in plane_commit_atomic_err()
[all …]
Dkms_plane_alpha_blend.c29 IGT_TEST_DESCRIPTION("Test plane alpha and blending mode properties");
128 igt_plane_t *plane; in reset_alpha() local
130 for_each_plane_on_pipe(display, pipe, plane) { in reset_alpha()
131 if (igt_plane_has_prop(plane, IGT_PLANE_ALPHA)) in reset_alpha()
132 igt_plane_set_prop_value(plane, IGT_PLANE_ALPHA, 0xffff); in reset_alpha()
134 if (igt_plane_has_prop(plane, IGT_PLANE_PIXEL_BLEND_MODE)) in reset_alpha()
135 igt_plane_set_prop_enum(plane, IGT_PLANE_PIXEL_BLEND_MODE, "Pre-multiplied"); in reset_alpha()
139 static bool has_multiplied_alpha(data_t *data, igt_plane_t *plane) in has_multiplied_alpha() argument
143 igt_plane_set_prop_value(plane, IGT_PLANE_ALPHA, 0x8080); in has_multiplied_alpha()
144 igt_plane_set_fb(plane, &data->argb_fb_100); in has_multiplied_alpha()
[all …]
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DVideoPixelFormat.h24 NV12, // 12bpp with Y plane followed by a 2x2 interleaved UV plane.
25 NV21, // 12bpp with Y plane followed by a 2x2 interleaved VU plane.
27 ARGB, // 32bpp BGRA (byte-order), 1 plane.
28 XRGB, // 24bpp BGRX (byte-order), 1 plane.
29 RGB24, // 24bpp BGR (byte-order), 1 plane.
31 Y16, // single 16bpp plane.
32 ABGR, // 32bpp RGBA (byte-order), 1 plane.
33 XBGR, // 24bpp RGBX (byte-order), 1 plane.
35 XR30, // 32bpp BGRX, 10 bits per channel, 2 bits ignored, 1 plane
36 XB30, // 32bpp RGBX, 10 bits per channel, 2 bits ignored, 1 plane
[all …]
/external/libaom/common/
Dtools_common.c91 int plane = 0; in read_yuv_frame() local
95 for (plane = 0; plane < 3; ++plane) { in read_yuv_frame()
97 int w = aom_img_plane_width(yuv_frame, plane); in read_yuv_frame()
98 const int h = aom_img_plane_height(yuv_frame, plane); in read_yuv_frame()
101 if (yuv_frame->fmt == AOM_IMG_FMT_NV12 && plane > 1) break; in read_yuv_frame()
102 if (yuv_frame->fmt == AOM_IMG_FMT_NV12 && plane == 1) w *= 2; in read_yuv_frame()
103 /* Determine the correct plane based on the image format. The for-loop in read_yuv_frame()
107 switch (plane) { in read_yuv_frame()
118 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame()
136 ptr += yuv_frame->stride[plane]; in read_yuv_frame()
[all …]
/external/libaom/av1/encoder/
Dencodemb.c55 void av1_subtract_txb(MACROBLOCK *x, int plane, BLOCK_SIZE plane_bsize, in av1_subtract_txb() argument
59 struct macroblock_plane *const p = &x->plane[plane]; in av1_subtract_txb()
60 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_txb()
74 void av1_subtract_plane(MACROBLOCK *x, BLOCK_SIZE plane_bsize, int plane) { in av1_subtract_plane() argument
75 struct macroblock_plane *const p = &x->plane[plane]; in av1_subtract_plane()
76 const struct macroblockd_plane *const pd = &x->e_mbd.plane[plane]; in av1_subtract_plane()
87 int av1_optimize_b(const struct AV1_COMP *cpi, MACROBLOCK *x, int plane, in av1_optimize_b() argument
91 struct macroblock_plane *const p = &x->plane[plane]; in av1_optimize_b()
97 *rate_cost = av1_cost_skip_txb(&x->coeff_costs, txb_ctx, plane, tx_size); in av1_optimize_b()
101 return av1_optimize_txb(cpi, x, plane, block, tx_size, tx_type, txb_ctx, in av1_optimize_b()
[all …]
Dmodel_rd.h45 BLOCK_SIZE plane_bsize, int plane,
71 int plane, const BLOCK_SIZE bsize) { in compute_sse_plane() argument
72 struct macroblockd_plane *const pd = &xd->plane[plane]; in compute_sse_plane()
76 const struct macroblock_plane *const p = &x->plane[plane]; in compute_sse_plane()
77 get_txb_dimensions(xd, plane, plane_bsize, 0, 0, plane_bsize, NULL, NULL, &bw, in compute_sse_plane()
87 BLOCK_SIZE plane_bsize, int plane, in model_rd_from_sse() argument
92 const struct macroblock_plane *const p = &x->plane[plane]; in model_rd_from_sse()
119 BLOCK_SIZE plane_bsize, int plane, in model_rd_with_curvfit() argument
125 const struct macroblock_plane *const p = &x->plane[plane]; in model_rd_with_curvfit()
166 int plane; in model_rd_for_sb() local
[all …]
/external/libkmsxx/kms++util/src/
Dresourcemanager.cpp151 Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) in reserve_plane()
156 for (Plane* plane : crtc->get_possible_planes()) { in reserve_plane()
157 if (plane->plane_type() != type) in reserve_plane()
160 if (format != PixelFormat::Undefined && !plane->supports_format(format)) in reserve_plane()
163 if (m_reserved_planes.count(plane)) in reserve_plane()
166 m_reserved_planes.insert(plane); in reserve_plane()
167 return plane; in reserve_plane()
173 Plane* ResourceManager::reserve_plane(Plane* plane) in reserve_plane() argument
175 if (!plane) in reserve_plane()
178 if (m_reserved_planes.count(plane)) in reserve_plane()
[all …]
/external/libdrm/tests/kms/
Dlibkms-test-plane.c29 static int kms_plane_probe(struct kms_plane *plane) in kms_plane_probe() argument
31 struct kms_device *device = plane->device; in kms_plane_probe()
36 p = drmModeGetPlane(device->fd, plane->id); in kms_plane_probe()
52 plane->crtc = device->crtcs[i]; in kms_plane_probe()
57 plane->formats = calloc(p->count_formats, sizeof(uint32_t)); in kms_plane_probe()
58 if (!plane->formats) { in kms_plane_probe()
64 plane->formats[i] = p->formats[i]; in kms_plane_probe()
66 plane->num_formats = p->count_formats; in kms_plane_probe()
70 props = drmModeObjectGetProperties(device->fd, plane->id, in kms_plane_probe()
81 plane->type = props->prop_values[i]; in kms_plane_probe()
[all …]
/external/mesa3d/src/nouveau/vulkan/
Dnvk_image.c93 /* For multi-plane, we get the feature flags of each plane separately, in nvk_get_image_format_features()
98 for (uint8_t plane = 0; plane < ycbcr_info->n_planes; plane++) { in nvk_get_image_format_features() local
99 const struct vk_format_ycbcr_plane *plane_info = &ycbcr_info->planes[plane]; in nvk_get_image_format_features()
124 /* DISJOINT_BIT implies that each plane has its own separate binding, in nvk_get_image_format_features()
129 * For MIDPOINT_CHROMA_SAMPLES_BIT, NVIDIA HW on single-plane interleaved in nvk_get_image_format_features()
132 * for multi-plane formats. See Issue #9525 on the mesa/main tracker. in nvk_get_image_format_features()
214 for (uint8_t plane = 0; plane < ycbcr_info->n_planes; plane++) { in nvk_GetPhysicalDeviceImageFormatProperties2() local
215 const VkFormat plane_format = ycbcr_info->planes[plane].format; in nvk_GetPhysicalDeviceImageFormatProperties2()
361 * multi-plane formats. Also, in nvk_GetPhysicalDeviceImageFormatProperties2()
483 for (uint8_t plane = 0; plane < image->plane_count; plane++) { in nvk_image_init() local
[all …]
/external/libaom/av1/common/
Dthread_common.c204 int plane) { in sync_read() argument
209 pthread_mutex_t *const mutex = &lf_sync->mutex_[plane][r - 1]; in sync_read()
212 while (c > lf_sync->cur_sb_col[plane][r - 1] - nsync) { in sync_read()
213 pthread_cond_wait(&lf_sync->cond_[plane][r - 1], mutex); in sync_read()
221 (void)plane; in sync_read()
226 const int sb_cols, int plane) { in sync_write() argument
241 pthread_mutex_lock(&lf_sync->mutex_[plane][r]); in sync_write()
243 // When a thread encounters an error, cur_sb_col[plane][r] is set to maximum in sync_write()
245 // cur_sb_col[plane][r] is not overwritten with a smaller value thus in sync_write()
248 lf_sync->cur_sb_col[plane][r] = AOMMAX(lf_sync->cur_sb_col[plane][r], cur); in sync_write()
[all …]
/external/skia/include/core/
DSkYUVAInfo.h36 * underscores in the enum value names. Within each plane the pixmap/texture channels are
37 * mapped to the YUVA channels in the order specified, e.g. for kY_UV Y is in channel 0 of plane
38 * 0, U is in channel 0 of plane 1, and V is in channel 1 of plane 1. Channel ordering
50 kY_U_V, ///< Plane 0: Y, Plane 1: U, Plane 2: V
51 kY_V_U, ///< Plane 0: Y, Plane 1: V, Plane 2: U
52 kY_UV, ///< Plane 0: Y, Plane 1: UV
53 kY_VU, ///< Plane 0: Y, Plane 1: VU
54 kYUV, ///< Plane 0: YUV
55 kUYV, ///< Plane 0: UYV
57 kY_U_V_A, ///< Plane 0: Y, Plane 1: U, Plane 2: V, Plane 3: A
[all …]
/external/igt-gpu-tools/lib/
Digt_kms.c80 * between legacy and universal plane support for setting cursors or in the
423 * plane->props.
426 igt_fill_plane_props(igt_display_t *display, igt_plane_t *plane, in igt_fill_plane_props() argument
434 props = drmModeObjectGetProperties(fd, plane->drm_plane->plane_id, DRM_MODE_OBJECT_PLANE); in igt_fill_plane_props()
445 plane->props[j] = props->props[i]; in igt_fill_plane_props()
559 * @plane_type: display plane type
1543 static void get_plane(char *str, int type, struct kmstest_plane *plane) in get_plane() argument
1548 plane->type = type; in get_plane()
1550 &plane->id, in get_plane()
1554 ret = sscanf(buf + 9, "%4d%*c%4d%*c", &plane->pos_x, &plane->pos_y); in get_plane()
[all …]
/external/igt-gpu-tools/tools/
Dskl_ddb_allocation.c66 enum plane { enum
126 struct intel_plane_wm_parameters plane[I915_MAX_PLANES]; member
153 struct skl_ddb_entry plane[I915_MAX_PIPES][I915_MAX_PLANES]; member
224 int plane; in skl_get_total_relative_data_rate() local
226 for (plane = 0; plane < intel_num_planes(intel_crtc); plane++) { in skl_get_total_relative_data_rate()
229 p = &params->plane[plane]; in skl_get_total_relative_data_rate()
252 int plane; in skl_allocate_pipe_ddb() local
257 memset(ddb->plane[pipe], 0, sizeof(ddb->plane[pipe])); in skl_allocate_pipe_ddb()
269 /* 1. Allocate the mininum required blocks for each active plane */ in skl_allocate_pipe_ddb()
270 for_each_plane(pipe, plane) { in skl_allocate_pipe_ddb()
[all …]
/external/dynamic_depth/includes/dynamic_depth/
Dplane.h15 // A Plane element for a Dynamic Depth device.
17 class Plane : public Element {
23 // Example: ("Plane", "http://ns.google.com/photos/dd/1.0/plane/")
31 // Returns the deserialized Plane; null if parsing fails.
32 static std::unique_ptr<Plane> FromDeserializer(
35 // Creates a Plane from the given fields.
38 // extent_x is the length of the plane on the X axis.
39 // extent_z is the length of the plane on the Z axis.
40 static std::unique_ptr<Plane> FromData(std::unique_ptr<Pose> pose,
48 // Returns the plane's bounding vertices on the XZ plane.
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c98 v3d_setup_plane_slices(struct v3dv_image *image, uint8_t plane, in v3d_setup_plane_slices() argument
102 assert(image->planes[plane].cpp > 0); in v3d_setup_plane_slices()
104 uint32_t width = image->planes[plane].width; in v3d_setup_plane_slices()
105 uint32_t height = image->planes[plane].height; in v3d_setup_plane_slices()
108 uint32_t utile_w = v3d_utile_width(image->planes[plane].cpp); in v3d_setup_plane_slices()
109 uint32_t utile_h = v3d_utile_height(image->planes[plane].cpp); in v3d_setup_plane_slices()
142 * plane layout we will return false to fail image creation with appropriate in v3d_setup_plane_slices()
147 offset = plane_layouts[plane].offset; in v3d_setup_plane_slices()
156 struct v3d_resource_slice *slice = &image->planes[plane].slices[i]; in v3d_setup_plane_slices()
186 level_width = align(level_width, 64 / image->planes[plane].cpp); in v3d_setup_plane_slices()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri_tmp.h35 * Prototype for a 8 plane rasterizer function. Will codegenerate
45 const struct lp_rast_plane *plane, in TAG()
59 -plane[j].dcdx >> FIXED_ORDER, in TAG()
60 plane[j].dcdy >> FIXED_ORDER); in TAG()
63 -plane[j].dcdx, in TAG()
64 plane[j].dcdy); in TAG()
68 …MUL64(task->scene->fixed_sample_pos[s][1], plane[j].dcdy) + IMUL64(task->scene->fixed_sample_pos[s… in TAG()
72 -plane[j].dcdx >> FIXED_ORDER, in TAG()
73 plane[j].dcdy >> FIXED_ORDER); in TAG()
76 -plane[j].dcdx, in TAG()
[all …]

12345678910>>...134