Home
last modified time | relevance | path

Searched refs:border (Results 1 - 25 of 218) sorted by relevance

123456789

/third_party/ffmpeg/libavcodec/tests/
H A Djpeg2000dwt.c34 static int test_dwt(int *array, int *ref, int border[2][2], int decomp_levels, int type, int max_diff) { in test_dwt() argument
39 ret = ff_jpeg2000_dwt_init(s, border, decomp_levels, type); in test_dwt()
56 fprintf(stderr, "missmatch at %d (%d != %d) decomp:%d border %d %d %d %d\n", in test_dwt()
57 j, array[j], ref[j],decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1]); in test_dwt()
65 printf("%s, decomp:%2d border %3d %3d %3d %3d milli-err2:%9"PRId64"\n", in test_dwt()
67 decomp_levels, border[0][0], border[ in test_dwt()
73 test_dwtf(float *array, float *ref, int border[2][2], int decomp_levels, float max_diff) test_dwtf() argument
119 int border[2][2]; main() local
[all...]
/third_party/skia/third_party/externals/freetype/src/base/
H A Dftstroke.c327 ft_stroke_border_grow( FT_StrokeBorder border, in ft_stroke_border_grow() argument
330 FT_UInt old_max = border->max_points; in ft_stroke_border_grow()
331 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow()
338 FT_Memory memory = border->memory; in ft_stroke_border_grow()
344 if ( FT_RENEW_ARRAY( border->points, old_max, cur_max ) || in ft_stroke_border_grow()
345 FT_RENEW_ARRAY( border->tags, old_max, cur_max ) ) in ft_stroke_border_grow()
348 border->max_points = cur_max; in ft_stroke_border_grow()
357 ft_stroke_border_close( FT_StrokeBorder border, in ft_stroke_border_close() argument
360 FT_UInt start = (FT_UInt)border->start; in ft_stroke_border_close()
361 FT_UInt count = border in ft_stroke_border_close()
424 ft_stroke_border_lineto( FT_StrokeBorder border, FT_Vector* to, FT_Bool movable ) ft_stroke_border_lineto() argument
466 ft_stroke_border_conicto( FT_StrokeBorder border, FT_Vector* control, FT_Vector* to ) ft_stroke_border_conicto() argument
498 ft_stroke_border_cubicto( FT_StrokeBorder border, FT_Vector* control1, FT_Vector* control2, FT_Vector* to ) ft_stroke_border_cubicto() argument
536 ft_stroke_border_arcto( FT_StrokeBorder border, FT_Vector* center, FT_Fixed radius, FT_Angle angle_start, FT_Angle angle_diff ) ft_stroke_border_arcto() argument
595 ft_stroke_border_moveto( FT_StrokeBorder border, FT_Vector* to ) ft_stroke_border_moveto() argument
610 ft_stroke_border_init( FT_StrokeBorder border, FT_Memory memory ) ft_stroke_border_init() argument
650 ft_stroke_border_get_counts( FT_StrokeBorder border, FT_UInt *anum_points, FT_UInt *anum_contours ) ft_stroke_border_get_counts() argument
701 ft_stroke_border_export( FT_StrokeBorder border, FT_Outline* outline ) ft_stroke_border_export() argument
889 FT_StrokeBorder border = stroker->borders + side; ft_stroker_arcto() local
930 FT_StrokeBorder border = stroker->borders + side; ft_stroker_cap() local
974 FT_StrokeBorder border = stroker->borders + side; ft_stroker_inside() local
1041 FT_StrokeBorder border = stroker->borders + side; ft_stroker_outside() local
1231 FT_StrokeBorder border; ft_stroker_subpath_start() local
1269 FT_StrokeBorder border; FT_EXPORT_DEF() local
1430 FT_StrokeBorder border; FT_EXPORT_DEF() local
1637 FT_StrokeBorder border; FT_EXPORT_DEF() local
2006 FT_Stroker_ExportBorder( FT_Stroker stroker, FT_StrokerBorder border, FT_Outline* outline ) FT_Stroker_ExportBorder() argument
2354 FT_StrokerBorder border; FT_EXPORT_DEF() local
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_device.c67 * however, it seems that the semantics are reversed for custom border in encode_border_color()
81 union pipe_color_union border; in encode_border_color() local
84 border.ui[i] = bc_info->customBorderColor.uint32[swizzle[i]]; in encode_border_color()
86 border.ui[i] = 0; in encode_border_color()
92 border.f[0] = CLAMP(border.f[0], 0, 1); in encode_border_color()
93 border.ui[1] = CLAMP(border.ui[1], 0, 0xff); in encode_border_color()
96 border.f[i] = CLAMP(border in encode_border_color()
226 union pipe_color_union border = encode_border_color(bc_info); pack_sampler_state() local
[all...]
/third_party/icu/icu4j/perf-tests/perldriver/
H A DOutput.pm215 th { font-size: 10pt; border: 0 solid #000080; padding: 5 }
216 th.testNameHeader { border-width: 1 }
217 th.testName { text-align: left; border-left-width: 1; border-right-width: 1;
218 border-bottom-width: 1 }
219 th.source { border-right-width: 1; border-bottom-width: 1 }
220 th.sourceType { border-right-width: 1; border-top-width: 1; border
[all...]
/third_party/icu/icu4c/source/test/perf/perldriver/
H A DOutput.pm215 th { font-size: 10pt; border: 0 solid #000080; padding: 5 }
216 th.testNameHeader { border-width: 1 }
217 th.testName { text-align: left; border-left-width: 1; border-right-width: 1;
218 border-bottom-width: 1 }
219 th.source { border-right-width: 1; border-bottom-width: 1 }
220 th.sourceType { border-right-width: 1; border-top-width: 1; border
[all...]
/third_party/qrcodegen/cpp/
H A DQrCodeGeneratorDemo.cpp47 static std::string toSvgString(const QrCode &qr, int border);
193 // of border modules. The string always uses Unix newlines (\n), regardless of the platform.
194 static std::string toSvgString(const QrCode &qr, int border) { in toSvgString() argument
195 if (border < 0) in toSvgString()
197 if (border > INT_MAX / 2 || border * 2 > INT_MAX - qr.getSize()) in toSvgString()
204 sb << (qr.getSize() + border * 2) << " " << (qr.getSize() + border * 2) << "\" stroke=\"none\">\n"; in toSvgString()
212 sb << "M" << (x + border) << "," << (y + border) << "h1v1 in toSvgString()
224 int border = 4; printQr() local
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_state.c598 union pipe_color_union border; in v3d_upload_sampler_state_variant() local
600 /* First, reswizzle the border color for any in v3d_upload_sampler_state_variant()
609 border.i[0] = cso->border_color.i[2]; in v3d_upload_sampler_state_variant()
610 border.i[1] = cso->border_color.i[1]; in v3d_upload_sampler_state_variant()
611 border.i[2] = cso->border_color.i[0]; in v3d_upload_sampler_state_variant()
612 border.i[3] = cso->border_color.i[3]; in v3d_upload_sampler_state_variant()
621 border.i[0] = cso->border_color.i[3]; in v3d_upload_sampler_state_variant()
622 border.i[1] = 0; in v3d_upload_sampler_state_variant()
623 border.i[2] = 0; in v3d_upload_sampler_state_variant()
624 border in v3d_upload_sampler_state_variant()
[all...]
/third_party/EGL/sdk/docs/man/xhtml/
H A Dmaketoc.pl40 border-width: 1px;
41 border-spacing: 5px;
42 border-style: dotted;
43 border-color: black;
44 border-collapse: separate;
48 border-width: 1px;
50 border-style: none;
53 border-width: 1px;
55 border-style: none;
/third_party/skia/third_party/externals/egl-registry/sdk/docs/man/xhtml/
H A Dmaketoc.pl40 border-width: 1px;
41 border-spacing: 5px;
42 border-style: dotted;
43 border-color: black;
44 border-collapse: separate;
48 border-width: 1px;
50 border-style: none;
53 border-width: 1px;
55 border-style: none;
/third_party/qrcodegen/java/
H A DQrCodeGeneratorDemo.java172 private static BufferedImage toImage(QrCode qr, int scale, int border) { in toImage() argument
173 return toImage(qr, scale, border, 0xFFFFFF, 0x000000); in toImage()
179 * the specified module scale, border modules, and module colors.
180 * <p>For example, scale=10 and border=4 means to pad the QR Code with 4 light border
184 * @param border the number of border modules to add, which must be non-negative
189 * @throws IllegalArgumentException if the scale or border is out of range, or if
190 * {scale, border, size} cause the image dimensions to exceed Integer.MAX_VALUE
192 private static BufferedImage toImage(QrCode qr, int scale, int border, in argument
227 toSvgString(QrCode qr, int border, String lightColor, String darkColor) toSvgString() argument
[all...]
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
H A DQrCodeGeneratorDemo.java171 private static BufferedImage toImage(QrCode qr, int scale, int border) { in toImage() argument
172 return toImage(qr, scale, border, 0xFFFFFF, 0x000000); in toImage()
178 * the specified module scale, border modules, and module colors.
179 * <p>For example, scale=10 and border=4 means to pad the QR Code with 4 light border
183 * @param border the number of border modules to add, which must be non-negative
188 * @throws IllegalArgumentException if the scale or border is out of range, or if
189 * {scale, border, size} cause the image dimensions to exceed Integer.MAX_VALUE
191 private static BufferedImage toImage(QrCode qr, int scale, int border, in argument
226 toSvgString(QrCode qr, int border, String lightColor, String darkColor) toSvgString() argument
[all...]
/third_party/qrcodegen/rust/examples/
H A Dqrcodegen-demo.rs167 // the given QR Code, with the given number of border modules.
169 fn to_svg_string(qr: &QrCode, border: i32) -> String { in to_svg_string()
170 assert!(border >= 0, "Border must be non-negative"); in to_svg_string()
174 let dimension = qr.size().checked_add(border.checked_mul(2).unwrap()).unwrap(); in to_svg_string()
185 result += &format!("M{},{}h1v1h-1z", x + border, y + border); in to_svg_string()
197 let border: i32 = 4; in print_qr()
198 for y in -border .. qr.size() + border { in print_qr()
199 for x in -border in print_qr()
[all...]
/third_party/qrcodegen/python/
H A Dqrcodegen-demo.py174 def to_svg_str(qr: QrCode, border: int) -> str:
176 of border modules. The string always uses Unix newlines (\n), regardless of the platform."""
177 if border < 0:
183 parts.append(f"M{x+border},{y+border}h1v1h-1z")
186 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 {qr.get_size()+border*2} {qr.get_size()+border*2}" stroke="none">
195 border = 4
196 for y in range(-border, qrcode.get_size() + border)
[all...]
/third_party/icu/tools/colprobe/
H A DdoComparisonTable.pl31 table { border-spacing: 0; border-collapse: collapse; width: 100%;
32 border: 1px solid black } label
33 td, th { width: 10%; border-spacing: 0; border-collapse: collapse; color: black;
34 vertical-align: top; border: 1px solid black }
H A DcreateComparisonTables.pl29 table { border-spacing: 0; border-collapse: collapse; width: 100%;
30 border: 1px solid black } label
31 td, th { width: 10%; border-spacing: 0; border-collapse: collapse; color: black;
32 vertical-align: top; border: 1px solid black }
/third_party/mesa3d/src/glx/
H A Dindirect_texture_compression.c79 GLint border, GLsizei image_size, in CompressedTexImage1D2D()
106 __GLX_PUT_LONG(24, border); in CompressedTexImage1D2D()
123 __GLX_PUT_LONG(28, border); in CompressedTexImage1D2D()
196 GLint border, GLsizei image_size, in __indirect_glCompressedTexImage1D()
200 border, image_size, data, in __indirect_glCompressedTexImage1D()
209 GLint border, GLsizei image_size, in __indirect_glCompressedTexImage2D()
213 border, image_size, data, in __indirect_glCompressedTexImage2D()
222 GLsizei depth, GLint border, in __indirect_glCompressedTexImage3D()
241 __GLX_PUT_LONG(28, border); in __indirect_glCompressedTexImage3D()
257 __GLX_PUT_LONG(32, border); in __indirect_glCompressedTexImage3D()
76 CompressedTexImage1D2D(GLenum target, GLint level, GLenum internal_format, GLsizei width, GLsizei height, GLint border, GLsizei image_size, const GLvoid * data, CARD32 rop) CompressedTexImage1D2D() argument
194 __indirect_glCompressedTexImage1D(GLenum target, GLint level, GLenum internal_format, GLsizei width, GLint border, GLsizei image_size, const GLvoid * data) __indirect_glCompressedTexImage1D() argument
206 __indirect_glCompressedTexImage2D(GLenum target, GLint level, GLenum internal_format, GLsizei width, GLsizei height, GLint border, GLsizei image_size, const GLvoid * data) __indirect_glCompressedTexImage2D() argument
219 __indirect_glCompressedTexImage3D(GLenum target, GLint level, GLenum internal_format, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei image_size, const GLvoid * data) __indirect_glCompressedTexImage3D() argument
[all...]
/third_party/qrcodegen/rust-no-heap/examples/
H A Dqrcodegen-demo.rs228 // the given QR Code, with the given number of border modules.
230 fn to_svg_string(qr: &QrCode, border: i32) -> String { in to_svg_string()
231 assert!(border >= 0, "Border must be non-negative"); in to_svg_string()
235 let dimension = qr.size().checked_add(border.checked_mul(2).unwrap()).unwrap(); in to_svg_string()
246 result += &format!("M{},{}h1v1h-1z", x + border, y + border); in to_svg_string()
258 let border: i32 = 4; in print_qr()
259 for y in -border .. qr.size() + border { in print_qr()
260 for x in -border in print_qr()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dteximage.c679 * The dimensions are expected not to include the border.
815 * \param border image border.
822 * Note: width, height and depth include the border.
828 GLint border, GLenum internalFormat, in _mesa_init_teximage_fields_ms()
843 img->Border = border; in _mesa_init_teximage_fields_ms()
848 img->Width2 = width - 2 * border; /* == 1 << img->WidthLog2; */ in _mesa_init_teximage_fields_ms()
868 img->Height2 = height; /* no border */ in _mesa_init_teximage_fields_ms()
891 img->Height2 = height - 2 * border; /* == 1 << img->HeightLog2; */ in _mesa_init_teximage_fields_ms()
905 img->Height2 = height - 2 * border; /* in _mesa_init_teximage_fields_ms()
825 _mesa_init_teximage_fields_ms(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format, GLuint numSamples, GLboolean fixedSampleLocations) _mesa_init_teximage_fields_ms() argument
932 _mesa_init_teximage_fields(struct gl_context *ctx, struct gl_texture_image *img, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum internalFormat, mesa_format format) _mesa_init_teximage_fields() argument
969 _mesa_legal_texture_dimensions(struct gl_context *ctx, GLenum target, GLint level, GLint width, GLint height, GLint depth, GLint border) _mesa_legal_texture_dimensions() argument
1823 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, struct gl_texture_object* texObj, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border, const GLvoid *pixels ) texture_error_check() argument
2006 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, struct gl_texture_object* texObj, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) compressed_texture_error_check() argument
2969 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels, bool no_error) teximage() argument
3186 teximage_err(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) teximage_err() argument
3198 teximage_no_error(struct gl_context *ctx, GLboolean compressed, GLuint dims, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels) teximage_no_error() argument
3213 _mesa_TexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TexImage1D() argument
3223 _mesa_TextureImage1DEXT(GLuint texture, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TextureImage1DEXT() argument
3239 _mesa_MultiTexImage1DEXT(GLenum texunit, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_MultiTexImage1DEXT() argument
3257 _mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TexImage2D() argument
3268 _mesa_TextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TextureImage2DEXT() argument
3285 _mesa_MultiTexImage2DEXT(GLenum texunit, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_MultiTexImage2DEXT() argument
3308 _mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TexImage3D() argument
3319 _mesa_TextureImage3DEXT(GLuint texture, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TextureImage3DEXT() argument
3337 _mesa_MultiTexImage3DEXT(GLenum texunit, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_MultiTexImage3DEXT() argument
3357 _mesa_TexImage1D_no_error(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) _mesa_TexImage1D_no_error() argument
3368 _mesa_TexImage2D_no_error(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) _mesa_TexImage2D_no_error() argument
3379 _mesa_TexImage3D_no_error(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) _mesa_TexImage3D_no_error() argument
4144 can_avoid_reallocation(const struct gl_texture_image *texImage, GLenum internalFormat, mesa_format texFormat, GLsizei width, GLsizei height, GLint border) can_avoid_reallocation() argument
4267 copyteximage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border, bool no_error) copyteximage() argument
4441 copyteximage_err(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) copyteximage_err() argument
4452 copyteximage_no_error(struct gl_context *ctx, GLuint dims, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) copyteximage_no_error() argument
4558 _mesa_CopyTexImage1D_no_error(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border) _mesa_CopyTexImage1D_no_error() argument
4568 _mesa_CopyTexImage2D_no_error(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) _mesa_CopyTexImage2D_no_error() argument
5473 _mesa_CompressedTexImage1D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage1D() argument
5485 _mesa_CompressedTextureImage1DEXT(GLuint texture, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedTextureImage1DEXT() argument
5503 _mesa_CompressedMultiTexImage1DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedMultiTexImage1DEXT() argument
5523 _mesa_CompressedTexImage2D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage2D() argument
5535 _mesa_CompressedTextureImage2DEXT(GLuint texture, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedTextureImage2DEXT() argument
5553 _mesa_CompressedMultiTexImage2DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedMultiTexImage2DEXT() argument
5573 _mesa_CompressedTexImage3D(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage3D() argument
5585 _mesa_CompressedTextureImage3DEXT(GLuint texture, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedTextureImage3DEXT() argument
5603 _mesa_CompressedMultiTexImage3DEXT(GLenum texunit, GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *pixels) _mesa_CompressedMultiTexImage3DEXT() argument
5623 _mesa_CompressedTexImage1D_no_error(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage1D_no_error() argument
5635 _mesa_CompressedTexImage2D_no_error(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage2D_no_error() argument
5647 _mesa_CompressedTexImage3D_no_error(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) _mesa_CompressedTexImage3D_no_error() argument
[all...]
H A Dmipmap.c1438 * border texels, depending on the scale-down factor.
1442 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, in make_1d_mipmap() argument
1450 /* skip the border pixel, if any */ in make_1d_mipmap()
1451 src = srcPtr + border * bpt; in make_1d_mipmap()
1452 dst = dstPtr + border * bpt; in make_1d_mipmap()
1455 do_row(datatype, comps, srcWidth - 2 * border, src, src, in make_1d_mipmap()
1456 dstWidth - 2 * border, dst); in make_1d_mipmap()
1458 if (border) { in make_1d_mipmap()
1472 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, in make_2d_mipmap() argument
1479 const GLint srcWidthNB = srcWidth - 2 * border; /* size in make_2d_mipmap()
1564 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) make_3d_mipmap() argument
1725 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) _mesa_generate_mipmap_level() argument
1793 _mesa_next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) _mesa_next_mipmap_level_size() argument
1842 prepare_mipmap_level(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint level, GLsizei width, GLsizei height, GLsizei depth, GLsizei border, GLenum intFormat, mesa_format format) prepare_mipmap_level() argument
1921 const GLint border = 0; _mesa_prepare_mipmap_levels() local
1969 GLint border; generate_mipmap_uncompressed() local
2156 GLint border; generate_mipmap_compressed() local
[all...]
/third_party/cups-filters/filter/pdftopdf/
H A Dpptypes.cc63 void BorderType_dump(BorderType border) // {{{ in BorderType_dump() argument
65 if ((border < NONE) || (border == 1) || (border > TWO_THICK)) { in BorderType_dump()
66 fprintf(stderr,"(bad border: %d)",border); in BorderType_dump()
69 fputs(bstr[border],stderr); in BorderType_dump()
/third_party/skia/gm/
H A Dblurpositioning.cpp25 // border calculation from SkBlurImageFilter in DEF_SIMPLE_GM()
26 int border = SkScalarCeilToInt(sigma * 3); in DEF_SIMPLE_GM() local
29 SkRect b = r.makeOutset(border + 1, border + 1); in DEF_SIMPLE_GM()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSurface.hpp236 short border; member
253 Surface(Resource *texture, int width, int height, int depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
257 static Surface *create(Resource *texture, int width, int height, int depth, int border, int samples, Format format, bool lockable, bool renderTarget, int pitchP = 0);
334 static int pitchB(int width, int border, Format format, bool target);
335 static int pitchP(int width, int border, Format format, bool target);
336 static int sliceB(int width, int height, int border, Format format, bool target);
337 static int sliceP(int width, int height, int border, Format format, bool target);
338 static size_t size(int width, int height, int depth, int border, int samples, Format format);
457 static void *allocateBuffer(int width, int height, int depth, int border, int samples, Format format);
515 return internal.border; in getBorder()
[all...]
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp119 void ContextWrapper::glTexImage1D (deUint32 target, int level, int internalFormat, int width, int border, deUint32 format, deUint32 type, const void* data) in glTexImage1D() argument
121 m_curCtx->texImage1D(target, level, (deUint32)internalFormat, width, border, format, type, data); in glTexImage1D()
124 void ContextWrapper::glTexImage2D (deUint32 target, int level, int internalFormat, int width, int height, int border, deUint32 format, deUint32 type, const void* data) in glTexImage2D() argument
126 m_curCtx->texImage2D(target, level, (deUint32)internalFormat, width, height, border, format, type, data); in glTexImage2D()
129 void ContextWrapper::glTexImage3D (deUint32 target, int level, int internalFormat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* data) in glTexImage3D() argument
131 m_curCtx->texImage3D(target, level, (deUint32)internalFormat, width, height, depth, border, format, type, data); in glTexImage3D()
149 void ContextWrapper::glCopyTexImage1D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int border) in glCopyTexImage1D() argument
151 m_curCtx->copyTexImage1D(target, level, internalFormat, x, y, width, border); in glCopyTexImage1D()
154 void ContextWrapper::glCopyTexImage2D (deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int height, int border) in glCopyTexImage2D() argument
156 m_curCtx->copyTexImage2D(target, level, internalFormat, x, y, width, height, border); in glCopyTexImage2D()
[all...]
/third_party/skia/src/gpu/effects/
H A DGrTextureEffect.cpp31 const float border[4],
42 const float border[4], in Sampling()
73 // TODO: Use HW border color when available. in Sampling()
75 (!caps.clampToBorderSupport() || border[0] || border[1] || border[2] || border[3])) { in Sampling()
140 std::copy_n(border, 4, fBorder); in Sampling()
171 const float border[4]) { in Make()
176 border, in Make()
38 Sampling(const GrSurfaceProxy& proxy, GrSamplerState sampler, const SkRect& subset, const SkRect* domain, const float border[4], bool alwaysUseShaderTileMode, const GrCaps& caps, SkVector linearFilterInset) Sampling() argument
166 Make(GrSurfaceProxyView view, SkAlphaType alphaType, const SkMatrix& matrix, GrSamplerState sampler, const GrCaps& caps, const float border[4]) Make() argument
185 MakeSubset(GrSurfaceProxyView view, SkAlphaType alphaType, const SkMatrix& matrix, GrSamplerState sampler, const SkRect& subset, const GrCaps& caps, const float border[4], bool alwaysUseShaderTileMode) MakeSubset() argument
206 MakeSubset(GrSurfaceProxyView view, SkAlphaType alphaType, const SkMatrix& matrix, GrSamplerState sampler, const SkRect& subset, const SkRect& domain, const GrCaps& caps, const float border[4]) MakeSubset() argument
221 MakeCustomLinearFilterInset( GrSurfaceProxyView view, SkAlphaType alphaType, const SkMatrix& matrix, Wrap wx, Wrap wy, const SkRect& subset, const SkRect* domain, SkVector inset, const GrCaps& caps, const float border[4]) MakeCustomLinearFilterInset() argument
[all...]
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/
H A Dmerkle.js33 // Figure out which subset of hashes corresponds to the inner and border
35 const { inner, border } = decompInclProof(logIndex, treeSize);
36 if (inclusionProof.hashes.length !== inner + border) {
46 // Chain the hashes belonging to the inner and border portions
63 const border = onesCount(index >> BigInt(inner));
64 return { inner, border };
66 // Computes a subtree hash for a node on or below the tree's right border.
79 // Computes a subtree hash for nodes along the tree's right border.

Completed in 225 milliseconds

123456789