| /third_party/json/docs/mkdocs/docs/api/macros/ |
| D | nlohmann_json_serialize_enum.md | 4 #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/ |
| D | audio_convert.h | 18 * 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 …]
|
| D | internal.h | 18 * 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/abseil-cpp/ |
| D | configure_copts.gni | 6 # 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/mesa3d/src/mesa/state_tracker/ |
| D | st_pbo.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Common helper functions for PBO up- and downloads. 61 … unsigned ofs = (buf_offset * addr->bytes_per_pixel) % st->ctx->Const.TextureBufferOffsetAlignment; in st_pbo_addresses_setup() 63 if (ofs % addr->bytes_per_pixel != 0) in st_pbo_addresses_setup() 66 skip_pixels = ofs / addr->bytes_per_pixel; in st_pbo_addresses_setup() 67 buf_offset -= skip_pixels; in st_pbo_addresses_setup() 75 addr->buffer = buf; in st_pbo_addresses_setup() 76 addr->first_element = buf_offset; in st_pbo_addresses_setup() 77 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup() 78 + (addr->height - 1 + (addr->depth - 1) * addr->image_height) * addr->pixels_per_row; in st_pbo_addresses_setup() [all …]
|
| /third_party/mesa3d/src/broadcom/compiler/ |
| D | v3d_nir_lower_image_load_store.c | 34 * On V3D 4.x, we just need to do format conversion for stores such that the 35 * GPU can effectively memcpy the arguments (in increments of 32-bit words) 37 * unpack from 16-bit ints or floats. 48 v3d_gl_format_is_return_32(enum pipe_format format) in v3d_gl_format_is_return_32() 52 * always use 32-bit precision. in v3d_gl_format_is_return_32() 59 const struct util_format_channel_description *chan = &desc->channel[0]; in v3d_gl_format_is_return_32() 61 return chan->size > 16 || (chan->size == 16 && chan->normalized); in v3d_gl_format_is_return_32() 64 /* Packs a 32-bit vector of colors in the range [0, (1 << bits[i]) - 1] to a 65 * 32-bit SSA value, with as many channels as necessary to store all the bits 78 /* Channels being stored shouldn't cross a 32-bit boundary. */ in pack_bits() [all …]
|
| /third_party/skia/m133/include/config/ |
| D | copts.bzl | 2 THIS IS THE EXTERNAL-ONLY VERSION OF THIS FILE. G3 HAS ITS OWN. 14 …://github.com/google/skia/blob/2b07cdb07e88f2870260eabac708f31bc7977d08/gn/BUILDCONFIG.gn#L177-L181 15 …s://github.com/google/skia/blob/2b07cdb07e88f2870260eabac708f31bc7977d08/gn/skia/BUILD.gn#L593-L630 19 "-fstrict-aliasing", 25 "-fvisibility=hidden", 31 # GMs more consistent and avoid some floating-point related test failures on M1 macs. 32 "-ffp-contract=off", 33 # Windows doesn't support position-independent code. 34 "-fPIC", 38 # and Objective-C code. [all …]
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
| D | EXT_texture_integer.txt | 43 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/ |
| D | EXT_texture_integer.txt | 43 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/mesa3d/src/panfrost/lib/ |
| D | pan_blend.c | 3 * Copyright (C) 2019-2021 Collabora, Ltd. 45 factor_is_supported(enum pipe_blendfactor factor) in factor_is_supported() 60 is_2srcdest(enum pipe_blend_func blend_func, enum pipe_blendfactor src_factor, in is_2srcdest() 61 enum pipe_blendfactor dest_factor, bool is_alpha) in is_2srcdest() 71 can_fixed_function_equation(enum pipe_blend_func blend_func, in can_fixed_function_equation() 72 enum pipe_blendfactor src_factor, in can_fixed_function_equation() 73 enum pipe_blendfactor dest_factor, bool is_alpha, in can_fixed_function_equation() 89 enum pipe_blendfactor src = util_blendfactor_without_invert(src_factor); in can_fixed_function_equation() 90 enum pipe_blendfactor dest = util_blendfactor_without_invert(dest_factor); in can_fixed_function_equation() 97 blend_factor_constant_mask(enum pipe_blendfactor factor) in blend_factor_constant_mask() [all …]
|
| /third_party/openGLES/extensions/SGIX/ |
| D | SGIX_mpeg1.txt | 1 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/ |
| D | SGIX_mpeg1.txt | 1 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/ |
| D | NV_video_capture.txt | 43 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/openGLES/extensions/NV/ |
| D | NV_video_capture.txt | 43 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/src/intel/vulkan_hasvk/ |
| D | anv_nir_lower_ycbcr_textures.c | 35 const struct vk_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/mesa3d/docs/isl/ |
| D | formats.rst | 6 :c: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 :c:enum:`isl_base_type`: 29 ----------- 33 given encoding. For instance, if the data is encoded in an 8-bit RGBA array 37 .. code-block:: C 49 packed into a single 8, 16, or 32-bit value. The components are specified by 54 .. code-block:: C 72 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/ |
| D | Definitions.h | 8 * 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/grpc/bazel/ |
| D | copts.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 22 "-Wall", 23 "-Wextra", 25 "-Wimplicit-fallthrough", 27 "-Werror", 29 "-Wno-unknown-warning-option", 31 "-Wc++20-extensions", 32 "-Wctad-maybe-unsupported", 33 "-Wdeprecated-increment-bool", 34 "-Wfloat-overflow-conversion", [all …]
|
| /third_party/skia/gn/skia/ |
| D | BUILD.gn | 3 # 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/mesa3d/.gitlab-ci/container/ |
| D | build-skqp_base.gn | 5 "-Wno-error", 7 "-DSK_ENABLE_DUMP_GPU", 8 "-DSK_BUILD_FOR_SKQP" 11 "-Wno-error", 18 "-Wno-redundant-move", 19 "-Wno-suggest-override", 20 "-Wno-class-memaccess", 21 "-Wno-deprecated-copy", 22 "-Wno-uninitialized", 25 "-Wno-macro-redefined", [all …]
|
| /third_party/mesa3d/src/vulkan/runtime/ |
| D | vk_sampler.c | 47 unreachable("Invalid or custom border color enum"); in vk_border_color_value() 66 unreachable("Invalid border color enum"); in vk_border_color_is_int() 74 if (vk_border_color_is_custom(pCreateInfo->borderColor)) { in vk_sampler_border_color_value() 76 vk_find_struct_const(pCreateInfo->pNext, in vk_sampler_border_color_value() 79 *format_out = border_color_info->format; in vk_sampler_border_color_value() 81 return border_color_info->customBorderColor; in vk_sampler_border_color_value() 86 return vk_border_color_value(pCreateInfo->borderColor); in vk_sampler_border_color_value() 93 sampler->format = VK_FORMAT_UNDEFINED; in vk_sampler_init() 94 sampler->border_color = pCreateInfo->borderColor; in vk_sampler_init() 95 sampler->reduction_mode = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE; in vk_sampler_init() [all …]
|
| /third_party/mesa3d/src/compiler/glsl/ |
| D | ir_function.cpp | 30 typedef enum { 33 PARAMETER_LIST_INEXACT_MATCH /*< Match requires implicit conversion. */ 39 const ir_variable *var = inst->as_variable(); in get_param_type() 41 return var->type; in get_param_type() 43 const ir_rvalue *rvalue = inst->as_rvalue(); in get_param_type() 45 return rvalue->type; in get_param_type() 60 const exec_node *node_a = list_a->get_head_raw(); in parameter_lists_match() 61 const exec_node *node_b = list_b->get_head_raw(); in parameter_lists_match() 64 * conversion. */ in parameter_lists_match() 68 ; !node_a->is_tail_sentinel() in parameter_lists_match() [all …]
|
| /third_party/ffmpeg/libswresample/ |
| D | swresample.h | 2 * 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 …]
|
| D | swresample_internal.h | 2 * 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 100 …enum 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/ffmpeg/libavcodec/ |
| D | imgconvert.c | 2 * 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()
|