Home
last modified time | relevance | path

Searched +full:enum +full:- +full:conversion (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/third_party/json/docs/mkdocs/docs/api/macros/
Dnlohmann_json_serialize_enum.md4 #define NLOHMANN_JSON_SERIALIZE_ENUM(type, conversion...)
7 By default, enum values are serialized to JSON as integers. In some cases this could result in unde…
8 enum is modified or re-ordered after data has been serialized to JSON, the later de-serialized JSON…
9 undefined or a different enum value than was originally intended.
11 The `NLOHMANN_JSON_SERIALIZE_ENUM` allows to define a user-defined serialization for every enumerat…
16 : name of the enum to serialize/deserialize
18 `conversion` (in)
19 : a pair of an enumerator and a JSON serialization; arbitrary pairs can be given as a comma-separ…
36 The macro must be used inside the namespace of the enum.
40- When using [`template get<ENUM_TYPE>()`](../basic_json/get.md), undefined JSON values will defau…
[all …]
/third_party/ffmpeg/libavresample/
Daudio_convert.h18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30 * Set conversion function if the parameters match.
32 * This compares the parameters of the conversion function to the parameters
35 * is not constrained, the function is set as the generic conversion function.
37 * set as the optimized conversion function.
46 * @param conv conversion function pointer
48 void ff_audio_convert_set_func(AudioConvert *ac, enum AVSampleFormat out_fmt,
49 enum AVSampleFormat in_fmt, int channels,
54 * Allocate and initialize AudioConvert context for sample format conversion.
61 * @param apply_map apply channel map during conversion
[all …]
Dinternal.h18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 enum RemapPoint {
44 …int channel_map[AVRESAMPLE_MAX_CHANNELS]; /**< source index of each output channel, -1 if not re…
57 enum AVSampleFormat in_sample_fmt; /**< input sample format */
60 enum AVSampleFormat out_sample_fmt; /**< output sample format */
62 enum AVSampleFormat internal_sample_fmt; /**< internal sample format */
63 enum AVMixCoeffType mix_coeff_type; /**< mixing coefficient type */
73 enum AVResampleFilterType filter_type; /**< resampling filter type */
75 enum AVResampleDitherMethod dither_method; /**< dither method */
84 int in_convert_needed; /**< input sample format conversion is needed */
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.c18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 * Common helper functions for PBO up- and downloads.
62 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup()
64 if (ofs % addr->bytes_per_pixel != 0) in st_pbo_addresses_setup()
67 skip_pixels = ofs / addr->bytes_per_pixel; in st_pbo_addresses_setup()
68 buf_offset -= skip_pixels; in st_pbo_addresses_setup()
76 addr->buffer = buf; in st_pbo_addresses_setup()
77 addr->first_element = buf_offset; in st_pbo_addresses_setup()
78 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup()
79 + (addr->height - 1 + (addr->depth - 1) * addr->image_height) * addr->pixels_per_row; in st_pbo_addresses_setup()
[all …]
/third_party/abseil-cpp/
Dconfigure_copts.gni6 # http://www.apache.org/licenses/LICENSE-2.0
14 ABSEIL_DIR = get_path_info("./abseil-cpp/", "abspath")
16 THIRDPARTY_ABSEIL_PART_NAME = "abseil-cpp"
18 "-Wall",
19 "-Wextra",
20 "-Weverything",
21 "-Wno-c++98-compat-pedantic",
22 "-Wno-conversion",
23 "-Wno-covered-switch-default",
24 "-Wno-deprecated",
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_texture_integer.txt43 Fixed-point textures in unextended OpenGL have integer components,
44 but those values are taken to represent floating-point values in
47 shader or by fixed-function fragment processing, floating-point
65 by a fragment shader. Per-fragment operations that require floating-point
76 * for fixed-function fragment processing, or
78 * for shader texture accesses expecting floating-point return values.
80 The color components used for per-fragment operations and written into a
83 * for fixed-function fragment processing with an integer color buffer,
85 * for fragment shaders that write floating-point color components to an
96 void TexParameterIivEXT( enum target, enum pname, int *params );
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_texture_integer.txt43 Fixed-point textures in unextended OpenGL have integer components,
44 but those values are taken to represent floating-point values in
47 shader or by fixed-function fragment processing, floating-point
65 by a fragment shader. Per-fragment operations that require floating-point
76 * for fixed-function fragment processing, or
78 * for shader texture accesses expecting floating-point return values.
80 The color components used for per-fragment operations and written into a
83 * for fixed-function fragment processing with an integer color buffer,
85 * for fragment shaders that write floating-point color components to an
96 void TexParameterIivEXT( enum target, enum pname, int *params );
[all …]
/third_party/openGLES/extensions/SGIX/
DSGIX_mpeg1.txt1 XXX - Not complete.
25 This extension provides support for MPEG1-compressed images.
35 MPEG predictor frames are stored as two-dimensional RGB images of
45 - During decode, the picture_coding_type piece of the picture
94 command to generate an out-of-memory error). Therefore,
117 require the user to draw a zero-size MPEG-compressed image.
130 out-of-memory error would be highly counterintuitive.
141 the added flexibility of a user-specified type and format
159 void MPEGPredictorSGIX(enum target,
160 enum format,
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_mpeg1.txt1 XXX - Not complete.
25 This extension provides support for MPEG1-compressed images.
35 MPEG predictor frames are stored as two-dimensional RGB images of
45 - During decode, the picture_coding_type piece of the picture
94 command to generate an out-of-memory error). Therefore,
117 require the user to draw a zero-size MPEG-compressed image.
130 out-of-memory error would be highly counterintuitive.
141 the added flexibility of a user-specified type and format
159 void MPEGPredictorSGIX(enum target,
160 enum format,
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_video_capture.txt43 EXT_timer_query is required for 64-bit integer type definitions
64 uint stream, enum frame_region,
68 uint stream, enum frame_region,
69 enum target, uint texture);
73 void GetVideoCaptureivNV(uint video_capture_slot, enum pname,
77 uint stream, enum pname,
80 enum VideoCaptureNV(uint video_capture_slot, uint *sequence_num,
230 Additions to Chapter 4 of the 1.1 Specification (Per-Fragment
241 using window-system specific functions. Valid video capture slots
248 "The values captured can be transformed by a fixed-function color
[all …]
DNV_half_float.txt15 Copyright NVIDIA Corporation, 2001-2002.
54 half-precision (16-bit) floating-point quantities. The floating-point
55 format is very similar to the IEEE single-precision floating-point
57 Half-precision floats are smaller than full precision floats and provide a
58 larger dynamic range than similarly-sized normalized scalar data types.
60 This extension allows applications to use half-precision floating point
66 This storage format is also used to represent 16-bit components in the
67 floating-point frame buffers, as defined in the NV_float_buffer extension.
75 using the type "double" to describe double-precision floating-point
76 numbers. Here, "half" will refer to half-precision floating-point
[all …]
/third_party/openGLES/extensions/NV/
DNV_video_capture.txt43 EXT_timer_query is required for 64-bit integer type definitions
64 uint stream, enum frame_region,
68 uint stream, enum frame_region,
69 enum target, uint texture);
73 void GetVideoCaptureivNV(uint video_capture_slot, enum pname,
77 uint stream, enum pname,
80 enum VideoCaptureNV(uint video_capture_slot, uint *sequence_num,
230 Additions to Chapter 4 of the 1.1 Specification (Per-Fragment
241 using window-system specific functions. Valid video capture slots
248 "The values captured can be transformed by a fixed-function color
[all …]
/third_party/mesa3d/docs/isl/
Dformats.rst6 :cpp:enum:`isl_format` enum. A complete list of surface formats is included at
13 -------------
16 a binary form, and each makes different trade-offs. By default, most color
22 are specified by :cpp:enum:`isl_base_type`:
27 -----------
31 given encoding. For instance, if the data is encoded in an 8-bit RGBA array
35 .. code-block:: C
47 packed into a single 8, 16, or 32-bit value. The components are specified by
52 .. code-block:: C
70 must be careful to pay attention to the enum in question in order to avoid
[all …]
/third_party/skia/third_party/externals/oboe/include/oboe/
DDefinitions.h8 * http://www.apache.org/licenses/LICENSE-2.0
58 enum class StreamState : int32_t { // aaudio_stream_state_t
78 enum class Direction : int32_t { // aaudio_direction_t
94 enum class AudioFormat : int32_t { // aaudio_format_t
98 Invalid = -1, // AAUDIO_FORMAT_INVALID,
106 * Signed 16-bit integers.
119 enum class DataCallbackResult : int32_t { // aaudio_data_callback_result_t
131 enum class Result : int32_t { // aaudio_result_t
133 ErrorBase = -900, // AAUDIO_ERROR_BASE,
134 ErrorDisconnected = -899, // AAUDIO_ERROR_DISCONNECTED,
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c35 struct anv_ycbcr_conversion *conversion; member
42 if (state->image_size) in get_texture_size()
43 return state->image_size; in get_texture_size()
45 nir_builder *b = state->builder; in get_texture_size()
46 const struct glsl_type *type = texture->type; in get_texture_size()
47 nir_tex_instr *tex = nir_tex_instr_create(b->shader, 1); in get_texture_size()
49 tex->op = nir_texop_txs; in get_texture_size()
50 tex->sampler_dim = glsl_get_sampler_dim(type); in get_texture_size()
51 tex->is_array = glsl_sampler_type_is_array(type); in get_texture_size()
52 tex->is_shadow = glsl_sampler_type_is_shadow(type); in get_texture_size()
[all …]
/third_party/skia/gn/skia/
DBUILD.gn3 # Use of this source code is governed by a BSD-style license that can be
66 cflags += [ "-Wno-attributes" ]
71 "-v",
72 "--sysroot=" + rebase_path("$fuchsia_sdk_path/arch/$target_cpu/sysroot"),
74 cflags += [ "--sysroot=" +
77 target_triple = "--target=x86_64-${target_os}"
79 target_triple = "--target=aarch64-unknown-${target_os}"
91 cflags += [ "--target=arm64-windows" ]
95 "/utf-8", # Set Source and Executable character sets to UTF-8.
101 "-Wno-c++17-extensions",
[all …]
/third_party/ffmpeg/libswresample/
Dswresample.h2 * Copyright (C) 2011-2013 Michael Niedermayer (michaelni@gmx.at)
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
34 * Audio resampling, sample format conversion and mixing library.
46 * For example the following code will setup conversion from planar float sample
47 * format to interleaved signed 16-bit integer, downsampling from 48kHz to
75 * you need to change the conversion parameters, you can change the parameters
80 * The conversion itself is done by repeatedly calling swr_convert().
82 * output space or if sample rate conversion is done, which requires "future"
85 * At the end of conversion the resampling buffer can be flushed by calling
88 * The samples used in the conversion process can be managed with the libavutil
[all …]
Dswresample_internal.h2 * Copyright (C) 2011-2013 Michael Niedermayer (michaelni@gmx.at)
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
52 enum AVSampleFormat fmt; ///< sample format
62 float ns_scale_1; ///< Noise shaping dither scale^-1
72 …double cutoff, enum AVSampleFormat format, enum SwrFilterType filter_type, double kaiser_beta, dou…
99 enum AVSampleFormat in_sample_fmt; ///< input sample format
100enum AVSampleFormat int_sample_fmt; ///< internal sample format (AV_SAMPLE_FMT_FLTP or…
101 enum AVSampleFormat out_sample_fmt; ///< output sample format
113 const int *channel_map; ///< channel index (or -1 if muted channel) map
126 enum AVSampleFormat user_int_sample_fmt; ///< User set internal sample format
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dir_function.cpp29 typedef enum {
32 PARAMETER_LIST_INEXACT_MATCH /*< Match requires implicit conversion. */
46 const exec_node *node_a = list_a->get_head_raw(); in parameter_lists_match()
47 const exec_node *node_b = list_b->get_head_raw(); in parameter_lists_match()
50 * conversion. */ in parameter_lists_match()
54 ; !node_a->is_tail_sentinel() in parameter_lists_match()
55 ; node_a = node_a->next, node_b = node_b->next) { in parameter_lists_match()
60 if (node_b->is_tail_sentinel()) in parameter_lists_match()
67 if (param->type == actual->type) in parameter_lists_match()
70 /* Try to find an implicit conversion from actual to param. */ in parameter_lists_match()
[all …]
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dsurface.c21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
44 enum getbits_conversion {
80 DeviceReference(&p_surf->device, dev); in vlVdpVideoSurfaceCreate()
81 pipe = dev->context; in vlVdpVideoSurfaceCreate()
83 mtx_lock(&dev->mutex); in vlVdpVideoSurfaceCreate()
84 memset(&p_surf->templat, 0, sizeof(p_surf->templat)); in vlVdpVideoSurfaceCreate()
86 p_surf->templat.buffer_format = pipe->screen->get_video_param in vlVdpVideoSurfaceCreate()
88 pipe->screen, in vlVdpVideoSurfaceCreate()
93 p_surf->templat.width = width; in vlVdpVideoSurfaceCreate()
94 p_surf->templat.height = height; in vlVdpVideoSurfaceCreate()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnvmbcs.h6 * Copyright (C) 2000-2013, International Business Machines
11 * encoding: UTF-8
31 * ICU conversion (.cnv) data file structure, following the usual UDataInfo
36 * struct UConverterStaticData -- struct containing the converter name, IBM CCSID,
40 * --------------------
42 * The static data is followed by conversionType-specific data structures.
45 * differ from those for other MBCS-style converters.
47 * _MBCSHeader.version 5 is optional and not backward-compatible
51 * - The _MBCSHeader has variable length (and is always longer than in version 4).
53 * - There is a set of flags which indicate further incompatible changes.
[all …]
/third_party/icu/icu4c/source/common/
Ducnvmbcs.h6 * Copyright (C) 2000-2013, International Business Machines
11 * encoding: UTF-8
31 * ICU conversion (.cnv) data file structure, following the usual UDataInfo
36 * struct UConverterStaticData -- struct containing the converter name, IBM CCSID,
40 * --------------------
42 * The static data is followed by conversionType-specific data structures.
45 * differ from those for other MBCS-style converters.
47 * _MBCSHeader.version 5 is optional and not backward-compatible
51 * - The _MBCSHeader has variable length (and is always longer than in version 4).
53 * - There is a set of flags which indicate further incompatible changes.
[all …]
/third_party/lzma/C/
DBcj2.h1 /* Bcj2.h -- BCJ2 converter for x86 code (Branch CALL/JUMP variant2)
2 2023-03-02 : Igor Pavlov : Public domain */
13 enum
21 enum
32 enum
40 #define BCJ2_IS_32BIT_STREAM(s) ((unsigned)((unsigned)(s) - (unsigned)BCJ2_STREAM_CALL) < 2)
45 BUF_SIZE(n) = lims[n] - bufs[n]
56 - If last bytes of stream contain marker (e8/e8/0f8x), then
57 there is also encoded symbol (0 : no conversion) in RC stream.
58 - One case of overlapped instructions is supported,
[all …]
/third_party/ffmpeg/libavcodec/
Dimgconvert.c2 * Misc image conversion routines
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 * misc image conversion routines
31 enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *pix_fmt_list, in avcodec_find_best_pix_fmt_of_list()
32 enum AVPixelFormat src_pix_fmt, in avcodec_find_best_pix_fmt_of_list()
36 enum AVPixelFormat best = AV_PIX_FMT_NONE; in avcodec_find_best_pix_fmt_of_list()
/third_party/skia/third_party/externals/abseil-cpp/absl/copts/
DGENERATED_AbseilCopts.cmake16 "-Wno-c99-extensions"
17 "-Wno-deprecated-declarations"
18 "-Wno-missing-noreturn"
19 "-Wno-missing-prototypes"
20 "-Wno-missing-variable-declarations"
21 "-Wno-null-conversion"
22 "-Wno-shadow"
23 "-Wno-shift-sign-overflow"
24 "-Wno-sign-compare"
25 "-Wno-unused-function"
[all …]

12345678910>>...41