Home
last modified time | relevance | path

Searched refs:Pixel (Results 1 – 25 of 159) sorted by relevance

1234567

/external/mesa3d/src/mesa/main/
Dpixel.c50 if (ctx->Pixel.ZoomX == xfactor && in _mesa_PixelZoom()
51 ctx->Pixel.ZoomY == yfactor) in _mesa_PixelZoom()
55 ctx->Pixel.ZoomX = xfactor; in _mesa_PixelZoom()
56 ctx->Pixel.ZoomY = yfactor; in _mesa_PixelZoom()
499 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
502 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
505 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
508 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
511 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
514 ctx->Pixel.IndexShift = (GLint) param; in _mesa_PixelTransferf()
[all …]
Dpixeltransfer.c134 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth()
135 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_scale_and_bias_depth()
149 const GLdouble scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth_uint()
150 const GLdouble bias = ctx->Pixel.DepthBias * max; in _mesa_scale_and_bias_depth_uint()
170 ctx->Pixel.RedScale, ctx->Pixel.GreenScale, in _mesa_apply_rgba_transfer_ops()
171 ctx->Pixel.BlueScale, ctx->Pixel.AlphaScale, in _mesa_apply_rgba_transfer_ops()
172 ctx->Pixel.RedBias, ctx->Pixel.GreenBias, in _mesa_apply_rgba_transfer_ops()
173 ctx->Pixel.BlueBias, ctx->Pixel.AlphaBias); in _mesa_apply_rgba_transfer_ops()
200 GLint shift = ctx->Pixel.IndexShift; in _mesa_shift_and_offset_ci()
201 GLint offset = ctx->Pixel.IndexOffset; in _mesa_shift_and_offset_ci()
[all …]
Dreadpix.c158 ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f || in _mesa_readpixels_needs_slow_path()
159 ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
160 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
163 return ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f; in _mesa_readpixels_needs_slow_path()
166 return ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_readpixels_needs_slow_path()
167 ctx->Pixel.MapStencilFlag; in _mesa_readpixels_needs_slow_path()
276 if (ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F) in read_uint_depth_pixels()
822 = ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F; in read_depth_stencil_pixels()
823 const GLboolean stencilTransfer = ctx->Pixel.IndexShift in read_depth_stencil_pixels()
824 || ctx->Pixel.IndexOffset || ctx->Pixel.MapStencilFlag; in read_depth_stencil_pixels()
Dpack.c514 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
520 !ctx->Pixel.MapStencilFlag && in _mesa_unpack_stencil_span()
545 if (ctx->Pixel.MapStencilFlag) { in _mesa_unpack_stencil_span()
607 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset || in _mesa_pack_stencil_span()
608 ctx->Pixel.MapStencilFlag) { in _mesa_pack_stencil_span()
782 if (ctx->Pixel.DepthScale == 1.0F && ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
860 ctx->Pixel.DepthScale == 1.0F && in _mesa_unpack_depth_span()
861 ctx->Pixel.DepthBias == 0.0F) { in _mesa_unpack_depth_span()
929 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_unpack_depth_span()
930 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_unpack_depth_span()
[all …]
/external/libaom/libaom/test/
Dav1_horz_only_frame_superres_test.cc37 template <typename Pixel>
44 assert(bd <= 8 * static_cast<int>(sizeof(Pixel))); in TestImage()
74 const Pixel *GetSrcData(bool ref, bool borders) const { in GetSrcData()
75 const Pixel *block = &src_data_[ref ? 0 : src_block_size()]; in GetSrcData()
79 Pixel *GetDstData(bool ref, bool borders) { in GetDstData()
80 Pixel *block = &dst_data_[ref ? 0 : dst_block_size()]; in GetDstData()
88 std::vector<Pixel> src_data_;
89 std::vector<Pixel> dst_data_;
92 template <typename Pixel>
93 void FillEdge(ACMRandom *rnd, int num_pixels, int bd, bool trash, Pixel *data) { in FillEdge()
[all …]
Dintrapred_test.cc66 template <typename FuncType, typename Pixel>
70 void RunTest(Pixel *left_col, Pixel *above_data, Pixel *dst, Pixel *ref_dst) { in RunTest()
126 Pixel *above_row_;
127 Pixel *left_col_;
128 Pixel *dst_;
129 Pixel *ref_dst_;
Ddr_prediction_test.cc145 template <typename Pixel, typename FuncType>
274 Pixel dst_ref_data_[kDstSize];
275 Pixel dst_tst_data_[kDstSize];
277 Pixel left_data_[kBufSize];
278 Pixel dummy_data_[kBufSize];
279 Pixel above_data_[kBufSize];
281 Pixel *dst_ref_;
282 Pixel *dst_tst_;
283 Pixel *above_;
284 Pixel *left_;
Dav1_convolve_scale_test.cc162 template <typename Pixel>
163 void FillEdge(ACMRandom *rnd, int num_pixels, int bd, bool trash, Pixel *data) { in FillEdge()
168 const Pixel mask = (1 << bd) - 1; in FillEdge()
172 template <typename Pixel>
174 bool trash_edges, Pixel *data) { in PrepBuffers()
176 const Pixel mask = (1 << bd) - 1; in PrepBuffers()
182 Pixel *row_data = data + (kVPad + r) * stride; in PrepBuffers()
/external/libpng/contrib/libtests/
Dpngstest.c793 } Pixel; typedef
813 gp_g8(Pixel *p, png_const_voidp pb) in gp_g8()
822 gp_ga8(Pixel *p, png_const_voidp pb) in gp_ga8()
832 gp_ag8(Pixel *p, png_const_voidp pb) in gp_ag8()
842 gp_rgb8(Pixel *p, png_const_voidp pb) in gp_rgb8()
854 gp_bgr8(Pixel *p, png_const_voidp pb) in gp_bgr8()
866 gp_rgba8(Pixel *p, png_const_voidp pb) in gp_rgba8()
878 gp_bgra8(Pixel *p, png_const_voidp pb) in gp_bgra8()
891 gp_argb8(Pixel *p, png_const_voidp pb) in gp_argb8()
904 gp_abgr8(Pixel *p, png_const_voidp pb) in gp_abgr8()
[all …]
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dbenchmarks.md36 Pixel 2 | f0 |
37 Pixel xl | 0c |
51 <td>Pixel 2 </td>
55 <td>Pixel XL </td>
62 <td>Pixel 2 </td>
66 <td>Pixel XL </td>
73 <td>Pixel 2 </td>
77 <td>Pixel XL </td>
84 <td>Pixel 2 </td>
88 <td>Pixel XL </td>
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c93 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_rgba_pixels()
105 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_rgba_pixels()
204 ctx->Pixel.DepthScale == 1.0F && in scale_and_bias_z()
205 ctx->Pixel.DepthBias == 0.0F) { in scale_and_bias_z()
216 GLdouble d = depth[i] * ctx->Pixel.DepthScale + ctx->Pixel.DepthBias; in scale_and_bias_z()
241 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_depth_pixels()
256 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_depth_pixels()
343 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in copy_stencil_pixels()
353 ctx->Pixel.ZoomX, ctx->Pixel.ZoomY); in copy_stencil_pixels()
626 ctx->Pixel.ZoomX != 1.0F || in _swrast_CopyPixels()
[all …]
Ds_drawpix.c77 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgb_ubyte_pixels()
124 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_rgba_ubyte_pixels()
174 if (ctx->Pixel.ZoomY == -1.0f) { in fast_draw_generic_pixels()
211 ctx->Pixel.ZoomX != 1.0f || in fast_draw_rgba_pixels()
212 fabsf(ctx->Pixel.ZoomY) != 1.0f || in fast_draw_rgba_pixels()
267 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_stencil_pixels()
312 = ctx->Pixel.DepthScale != 1.0f || ctx->Pixel.DepthBias != 0.0f; in draw_depth_pixels()
313 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0f || ctx->Pixel.ZoomY != 1.0f; in draw_depth_pixels()
418 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F; in draw_rgba_pixels()
604 = ctx->Pixel.DepthScale != 1.0F || ctx->Pixel.DepthBias != 0.0F; in draw_depth_stencil_pixels()
[all …]
Ds_zoom.c61 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
62 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
78 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
79 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
214 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
224 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
234 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
246 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
259 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
272 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
[all …]
/external/libvpx/libvpx/test/
Dlpf_test.cc39 typedef uint16_t Pixel; typedef
42 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
44 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
49 typedef uint8_t Pixel; typedef
52 typedef void (*loop_op_t)(Pixel *s, int p, const uint8_t *blimit,
54 typedef void (*dual_loop_op_t)(Pixel *s, int p, const uint8_t *blimit0,
63 void InitInput(Pixel *s, Pixel *ref_s, ACMRandom *rnd, const uint8_t limit, in InitInput()
172 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, s[kNumCoeffs]); in TEST_P()
173 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, ref_s[kNumCoeffs]); in TEST_P()
218 DECLARE_ALIGNED(PIXEL_WIDTH, Pixel, s[kNumCoeffs]); in TEST_P()
[all …]
Dvp9_intrapred_test.cc46 template <typename Pixel, typename PredParam>
49 void RunTest(Pixel *left_col, Pixel *above_data, Pixel *dst, Pixel *ref_dst) { in RunTest()
105 Pixel *above_row_;
106 Pixel *left_col_;
107 Pixel *dst_;
108 Pixel *ref_dst_;
/external/skqp/site/user/api/
DSkPixmap_Reference.md73 …xmap</a> does not try to manage the lifetime of the <a href='undocumented#Pixel'>pixel</a> memory.…
74 to manage <a href='undocumented#Pixel'>pixel</a> memory; <a href='#Pixel_Ref'>Pixel_Ref</a> is safe…
130 …to change its <a href='undocumented#Size'>size</a>, <a href='undocumented#Pixel'>pixel</a> type, or
142 …_SkImageInfo_const_star_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
177 Sets width, height, row bytes to zero; <a href='undocumented#Pixel'>pixel</a> address to nullptr; <…
209 Sets <a href='undocumented#Pixel'>pixel</a> address from <a href='#SkPixmap_reset_2_addr'>addr</a>,…
228 …href='#SkPixmap_reset_2_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
249 …'SkImage_Reference#SkImage'>SkImage</a>, and leaves <a href='undocumented#Pixel'>pixel</a> address…
284 Sets <a href='#SkPixmap_extractSubset_subset'>subset</a> width, height, <a href='undocumented#Pixel
293 … <td>storage for width, height, <a href='undocumented#Pixel'>pixel</a> address of intersection</td>
[all …]
DSkBitmap_Reference.md105 …tmap'>Bitmap</a> describes a two-dimensional raster <a href='undocumented#Pixel'>pixel</a> array. …
107 describing the <a href='undocumented#Pixel'>pixel</a> format, and <a href='#Color_Space'>Color_Spac…
112 …itmap_Reference#Bitmap'>Bitmap</a> flexibility as a <a href='undocumented#Pixel'>pixel</a> contain…
115 If <a href='undocumented#Pixel'>pixel</a> array is primarily read-only, use <a href='SkImage_Refere…
116 If <a href='undocumented#Pixel'>pixel</a> array is primarily written to, use <a href='SkSurface_Ref…
123 although threads may share the underlying <a href='undocumented#Pixel'>pixel</a> array.
130 number of bytes in a <a href='undocumented#Pixel'>pixel</a>. <a href='#Bitmap_Row_Bytes'>Row_Bytes<…
131 …kBitmap_Reference#Bitmap'>Bitmaps</a> within a shared <a href='undocumented#Pixel'>pixel</a> array.
155 Allocates the <a href='undocumented#Pixel'>pixel</a> memory for the <a href='#SkBitmap_Allocator_al…
186 …urns a <a href='#Pixel_Ref'>Pixel_Ref</a> that allocates its <a href='undocumented#Pixel'>pixel</a>
[all …]
DSkBlendMode_Overview.md3 Describes how destination <a href='undocumented#Pixel'>pixel</a> is replaced with a combination of …
4 source <a href='undocumented#Pixel'>pixel</a>. <a href='#Blend_Mode'>Blend_Mode</a> may use source,…
5 …'>Color</a> component independently, or may allow all source <a href='undocumented#Pixel'>pixel</a>
6 components to contribute to one destination <a href='undocumented#Pixel'>pixel</a> component.
14 …pha'>Alpha</a> is encoded in source and destination <a href='undocumented#Pixel'>pixel</a>, nearly…
/external/skia/site/user/api/
DSkPixmap_Reference.md73 …xmap</a> does not try to manage the lifetime of the <a href='undocumented#Pixel'>pixel</a> memory.…
74 to manage <a href='undocumented#Pixel'>pixel</a> memory; <a href='#Pixel_Ref'>Pixel_Ref</a> is safe…
130 …to change its <a href='undocumented#Size'>size</a>, <a href='undocumented#Pixel'>pixel</a> type, or
142 …_SkImageInfo_const_star_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
177 Sets width, height, row bytes to zero; <a href='undocumented#Pixel'>pixel</a> address to nullptr; <…
209 Sets <a href='undocumented#Pixel'>pixel</a> address from <a href='#SkPixmap_reset_2_addr'>addr</a>,…
228 …href='#SkPixmap_reset_2_addr'>addr</a>; width times <a href='undocumented#Pixel'>pixel</a> <a href…
249 …'SkImage_Reference#SkImage'>SkImage</a>, and leaves <a href='undocumented#Pixel'>pixel</a> address…
284 Sets <a href='#SkPixmap_extractSubset_subset'>subset</a> width, height, <a href='undocumented#Pixel
293 … <td>storage for width, height, <a href='undocumented#Pixel'>pixel</a> address of intersection</td>
[all …]
DSkBitmap_Reference.md105 …tmap'>Bitmap</a> describes a two-dimensional raster <a href='undocumented#Pixel'>pixel</a> array. …
107 describing the <a href='undocumented#Pixel'>pixel</a> format, and <a href='#Color_Space'>Color_Spac…
112 …itmap_Reference#Bitmap'>Bitmap</a> flexibility as a <a href='undocumented#Pixel'>pixel</a> contain…
115 If <a href='undocumented#Pixel'>pixel</a> array is primarily read-only, use <a href='SkImage_Refere…
116 If <a href='undocumented#Pixel'>pixel</a> array is primarily written to, use <a href='SkSurface_Ref…
123 although threads may share the underlying <a href='undocumented#Pixel'>pixel</a> array.
130 number of bytes in a <a href='undocumented#Pixel'>pixel</a>. <a href='#Bitmap_Row_Bytes'>Row_Bytes<…
131 …kBitmap_Reference#Bitmap'>Bitmaps</a> within a shared <a href='undocumented#Pixel'>pixel</a> array.
155 Allocates the <a href='undocumented#Pixel'>pixel</a> memory for the <a href='#SkBitmap_Allocator_al…
186 …urns a <a href='#Pixel_Ref'>Pixel_Ref</a> that allocates its <a href='undocumented#Pixel'>pixel</a>
[all …]
DSkBlendMode_Overview.md3 Describes how destination <a href='undocumented#Pixel'>pixel</a> is replaced with a combination of …
4 source <a href='undocumented#Pixel'>pixel</a>. <a href='#Blend_Mode'>Blend_Mode</a> may use source,…
5 …'>Color</a> component independently, or may allow all source <a href='undocumented#Pixel'>pixel</a>
6 components to contribute to one destination <a href='undocumented#Pixel'>pixel</a> component.
14 …pha'>Alpha</a> is encoded in source and destination <a href='undocumented#Pixel'>pixel</a>, nearly…
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawpixels.c719 y = fb_height - (int) (y + height * ctx->Pixel.ZoomY); in draw_textured_quad()
724 x1 = x + width * ctx->Pixel.ZoomX; in draw_textured_quad()
726 y1 = y + height * ctx->Pixel.ZoomY; in draw_textured_quad()
770 const GLboolean zoom = ctx->Pixel.ZoomX != 1.0 || ctx->Pixel.ZoomY != 1.0; in draw_stencil_pixels()
950 key.scaleAndBias = (ctx->Pixel.RedBias != 0.0 || in get_color_fp_variant()
951 ctx->Pixel.RedScale != 1.0 || in get_color_fp_variant()
952 ctx->Pixel.GreenBias != 0.0 || in get_color_fp_variant()
953 ctx->Pixel.GreenScale != 1.0 || in get_color_fp_variant()
954 ctx->Pixel.BlueBias != 0.0 || in get_color_fp_variant()
955 ctx->Pixel.BlueScale != 1.0 || in get_color_fp_variant()
[all …]
/external/perfetto/docs/
Dbenchmarks.md27 * Android Pixel: ~1 GB/s
33 * Android Pixel: 0.00-0.01 when idle.
34 * Android Pixel: 0.02-0.04 with 8 cores @ 8.0 CPU usage (raytracer).
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c543 save->RedScale = ctx->Pixel.RedScale; in _mesa_meta_begin()
544 save->RedBias = ctx->Pixel.RedBias; in _mesa_meta_begin()
545 save->GreenScale = ctx->Pixel.GreenScale; in _mesa_meta_begin()
546 save->GreenBias = ctx->Pixel.GreenBias; in _mesa_meta_begin()
547 save->BlueScale = ctx->Pixel.BlueScale; in _mesa_meta_begin()
548 save->BlueBias = ctx->Pixel.BlueBias; in _mesa_meta_begin()
549 save->AlphaScale = ctx->Pixel.AlphaScale; in _mesa_meta_begin()
550 save->AlphaBias = ctx->Pixel.AlphaBias; in _mesa_meta_begin()
551 save->MapColorFlag = ctx->Pixel.MapColorFlag; in _mesa_meta_begin()
552 ctx->Pixel.RedScale = 1.0F; in _mesa_meta_begin()
[all …]
/external/u-boot/board/google/
DKconfig14 This is the Chromebook Pixel released in 2013. It uses an Intel
26 This is the Chromebook Pixel released in 2013. With this config
46 This is the Chromebook Pixel released in 2015. It uses an Intel

1234567