/third_party/ffmpeg/libavresample/ |
D | audio_mix_matrix.c | 94 double matrix[64][64] = {{0}}; in avresample_build_matrix() local 123 matrix[i][i] = 1.0; in avresample_build_matrix() 130 matrix[FRONT_LEFT ][FRONT_CENTER] += center_mix_level; in avresample_build_matrix() 131 matrix[FRONT_RIGHT][FRONT_CENTER] += center_mix_level; in avresample_build_matrix() 133 matrix[FRONT_LEFT ][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix() 134 matrix[FRONT_RIGHT][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix() 142 matrix[FRONT_CENTER][FRONT_LEFT ] += M_SQRT1_2; in avresample_build_matrix() 143 matrix[FRONT_CENTER][FRONT_RIGHT] += M_SQRT1_2; in avresample_build_matrix() 146 matrix[FRONT_CENTER][FRONT_CENTER] = center_mix_level * M_SQRT2; in avresample_build_matrix() 153 matrix[BACK_LEFT ][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | hlsl.matType.int.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of int) 10 0:25 'r00' ( temp 1X1 matrix of int) 11 0:25 transpose ( temp 1X1 matrix of int) 12 0:25 'i1x1' ( temp 1X1 matrix of int) 14 0:26 move second child to first child ( temp 1X2 matrix of int) 15 0:26 'r01' ( temp 1X2 matrix of int) 16 0:26 transpose ( temp 1X2 matrix of int) 17 0:26 'i2x1' ( temp 2X1 matrix of int) 19 0:27 move second child to first child ( temp 1X3 matrix of int) 20 0:27 'r02' ( temp 1X3 matrix of int) [all …]
|
D | hlsl.type.type.conversion.all.frag.out | 2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o… 3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o… 4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o… 5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o… 6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o… 7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o… 8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o… 9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o… 10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o… 12 ERROR: 0:98: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 3-component vector o… [all …]
|
D | matrix2.frag.out | 12 0:21 move second child to first child ( temp 3X4 matrix of float) 13 0:21 'm34' ( temp 3X4 matrix of float) 14 0:21 outer product ( global 3X4 matrix of float) 17 0:23 add second child into first child ( temp 3X4 matrix of float) 18 0:23 'm34' ( temp 3X4 matrix of float) 41 0:26 vector-times-matrix ( temp 3-component vector of float) 43 0:26 'm34' ( temp 3X4 matrix of float) 46 0:28 matrix scale second child into first child ( temp 3X4 matrix of float) 47 0:28 'm34' ( temp 3X4 matrix of float) 53 0:30 move second child to first child ( temp 4X4 matrix of float) [all …]
|
D | hlsl.matType.bool.frag.out | 9 0:25 move second child to first child ( temp 1X1 matrix of bool) 10 0:25 'r00' ( temp 1X1 matrix of bool) 11 0:25 transpose ( temp 1X1 matrix of bool) 12 0:25 'b1x1' ( temp 1X1 matrix of bool) 14 0:26 move second child to first child ( temp 1X2 matrix of bool) 15 0:26 'r01' ( temp 1X2 matrix of bool) 16 0:26 transpose ( temp 1X2 matrix of bool) 17 0:26 'b2x1' ( temp 2X1 matrix of bool) 19 0:27 move second child to first child ( temp 1X3 matrix of bool) 20 0:27 'r02' ( temp 1X3 matrix of bool) [all …]
|
D | hlsl.matpack-pragma.frag.out | 17 0:31 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of flo… 18 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 19 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of … 28 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 29 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 37 0:31 mat3: direct index for structure (layout( column_major) temp 4X4 matrix of fl… 38 …row_major) temp 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, lay… 39 …matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_major) t… 47 0:32 mat1: direct index for structure (layout( row_major) temp 4X4 matrix of float) [all …]
|
D | hlsl.mul-truncate.frag.out | 2 WARNING: 0:24: '' : mul() matrix size mismatch 3 WARNING: 0:25: '' : mul() matrix size mismatch 4 WARNING: 0:28: '' : mul() matrix size mismatch 5 WARNING: 0:29: '' : mul() matrix size mismatch 6 WARNING: 0:32: '' : mul() matrix size mismatch 7 WARNING: 0:33: '' : mul() matrix size mismatch 8 WARNING: 0:34: '' : mul() matrix size mismatch 9 WARNING: 0:35: '' : mul() matrix size mismatch 22 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … 27 …matrix of float m44, layout( row_major std140) uniform 4X3 matrix of float m43, layout( row_major … [all …]
|
D | hlsl.type.type.conversion.valid.frag.out | 64 0:27 move second child to first child ( temp 2X2 matrix of float) 65 0:27 'var52' ( temp 2X2 matrix of float) 72 0:28 move second child to first child ( temp 2X2 matrix of float) 73 0:28 'var55' ( temp 2X2 matrix of float) 80 0:29 move second child to first child ( temp 2X2 matrix of float) 81 0:29 'var56' ( temp 2X2 matrix of float) 88 0:30 move second child to first child ( temp 2X3 matrix of float) 89 0:30 'var65' ( temp 2X3 matrix of float) 98 0:31 move second child to first child ( temp 2X3 matrix of float) 99 0:31 'var70' ( temp 2X3 matrix of float) [all …]
|
D | hlsl.intrinsics.vert.out | 680 0:331 Function Definition: VertexShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 682 0:331 'inF0' ( in 2X2 matrix of float) 683 0:331 'inF1' ( in 2X2 matrix of float) 684 0:331 'inF2' ( in 2X2 matrix of float) 687 0:333 Convert float to bool ( temp 2X2 matrix of bool) 688 0:333 'inF0' ( in 2X2 matrix of float) 689 0:333 Absolute value ( temp 2X2 matrix of float) 690 0:333 'inF0' ( in 2X2 matrix of float) 691 0:333 arc cosine ( temp 2X2 matrix of float) 692 0:333 'inF0' ( in 2X2 matrix of float) [all …]
|
D | hlsl.matNx1.frag.out | 9 0:13 move second child to first child ( temp 1X1 matrix of float) 10 0:13 'r00' ( temp 1X1 matrix of float) 11 0:13 transpose ( temp 1X1 matrix of float) 12 0:13 'f1x1' ( temp 1X1 matrix of float) 14 0:14 move second child to first child ( temp 1X2 matrix of float) 15 0:14 'r01' ( temp 1X2 matrix of float) 16 0:14 transpose ( temp 1X2 matrix of float) 17 0:14 'f2x1' ( temp 2X1 matrix of float) 19 0:15 move second child to first child ( temp 1X3 matrix of float) 20 0:15 'r02' ( temp 1X3 matrix of float) [all …]
|
D | hlsl.intrinsics.frag.out | 1600 0:402 Function Definition: PixelShaderFunction2x2(mf22;mf22;mf22; ( temp 2X2 matrix of float) 1602 0:402 'inF0' ( in 2X2 matrix of float) 1603 0:402 'inF1' ( in 2X2 matrix of float) 1604 0:402 'inF2' ( in 2X2 matrix of float) 1610 0:404 Convert float to bool ( temp 2X2 matrix of bool) 1611 0:404 'inF0' ( in 2X2 matrix of float) 1613 0:404 move second child to first child ( temp 2X2 matrix of float) 1614 0:404 'r001' ( temp 2X2 matrix of float) 1615 0:404 Absolute value ( temp 2X2 matrix of float) 1616 0:404 'inF0' ( in 2X2 matrix of float) [all …]
|
/third_party/weston/libweston/ |
D | trace.h | 49 #define LOG_MATRIX(matrix) \ argument 50 LOG_INFO(#matrix ": {"); \ 51 …LOG_INFO(#matrix " %f, %f, %f, %f", (matrix)->d[0], (matrix)->d[4], (matrix)->d[8], (matrix)->d… 52 …LOG_INFO(#matrix " %f, %f, %f, %f", (matrix)->d[1], (matrix)->d[5], (matrix)->d[9], (matrix)->d… 53 …LOG_INFO(#matrix " %f, %f, %f, %f", (matrix)->d[2], (matrix)->d[6], (matrix)->d[10], (matrix)->… 54 …LOG_INFO(#matrix " %f, %f, %f, %f", (matrix)->d[3], (matrix)->d[7], (matrix)->d[11], (matrix)->… 55 LOG_INFO(#matrix "}")
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-channel-mixer.c | 67 gfloat **matrix; member 89 g_free (mix->matrix[i]); in gst_audio_channel_mixer_free() 90 g_free (mix->matrix); in gst_audio_channel_mixer_free() 91 mix->matrix = NULL; in gst_audio_channel_mixer_free() 108 gst_audio_channel_mixer_fill_identical (gfloat ** matrix, in gst_audio_channel_mixer_fill_identical() argument 123 matrix[ci][co] = ci == co ? 1.0 : 0.0; in gst_audio_channel_mixer_fill_identical() 125 matrix[ci][co] = 1.0; in gst_audio_channel_mixer_fill_identical() 138 gst_audio_channel_mixer_fill_compatible (gfloat ** matrix, gint in_channels, in gst_audio_channel_mixer_fill_compatible() argument 196 matrix[pos1_0][pos2_2] = 1.0; in gst_audio_channel_mixer_fill_compatible() 198 matrix[pos1_0][pos2_2] = 0.5; in gst_audio_channel_mixer_fill_compatible() [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | Matrix_TypeMask.cpp | 7 auto debugster = [](const char* prefix, const SkMatrix& matrix) -> void { in draw() argument 9 typeMask += SkMatrix::kIdentity_Mask == matrix.getType() ? "kIdentity_Mask " : ""; in draw() 10 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; in draw() 11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw() 12 typeMask += SkMatrix::kAffine_Mask & matrix.getType() ? "kAffine_Mask " : ""; in draw() 13 typeMask += SkMatrix::kPerspective_Mask & matrix.getType() ? "kPerspective_Mask" : ""; in draw() 16 SkMatrix matrix; in draw() local 17 matrix.reset(); in draw() 18 debugster("reset", matrix); in draw() 19 matrix.postTranslate(1, 0); in draw() [all …]
|
/third_party/skia/docs/examples/ |
D | Matrix_TypeMask.cpp | 7 auto debugster = [](const char* prefix, const SkMatrix& matrix) -> void { in draw() argument 9 typeMask += SkMatrix::kIdentity_Mask == matrix.getType() ? "kIdentity_Mask " : ""; in draw() 10 typeMask += SkMatrix::kTranslate_Mask & matrix.getType() ? "kTranslate_Mask " : ""; in draw() 11 typeMask += SkMatrix::kScale_Mask & matrix.getType() ? "kScale_Mask " : ""; in draw() 12 typeMask += SkMatrix::kAffine_Mask & matrix.getType() ? "kAffine_Mask " : ""; in draw() 13 typeMask += SkMatrix::kPerspective_Mask & matrix.getType() ? "kPerspective_Mask" : ""; in draw() 16 SkMatrix matrix; in draw() local 17 matrix.reset(); in draw() 18 debugster("reset", matrix); in draw() 19 matrix.postTranslate(1, 0); in draw() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | attention_fp32.c | 26 int InitMatrix(Matrix *matrix, int batch, int row, int col, bool is_trans) { in InitMatrix() argument 27 if (matrix == NULL) { in InitMatrix() 30 matrix->batch_ = batch; in InitMatrix() 31 matrix->row_ = row; in InitMatrix() 32 matrix->col_ = col; in InitMatrix() 33 matrix->is_transpose_ = is_trans; in InitMatrix() 34 matrix->data_ = NULL; in InitMatrix() 35 matrix->packed_data_ = NULL; in InitMatrix() 39 size_t LeftMatrixPackElementSize(Matrix *matrix, int row_tile) { in LeftMatrixPackElementSize() argument 40 if (matrix == NULL) { in LeftMatrixPackElementSize() [all …]
|
/third_party/ffmpeg/libavutil/tests/ |
D | display.c | 23 static void print_matrix(int32_t matrix[9]) in print_matrix() 29 printf("%d ", matrix[i*3 + j]); in print_matrix() 31 printf("%d\n", matrix[i*3 + j]); in print_matrix() 37 int32_t matrix[9]; in main() local 40 av_display_rotation_set(matrix, 90); in main() 41 print_matrix(matrix); in main() 42 printf("degrees: %f\n", av_display_rotation_get(matrix)); in main() 45 av_display_rotation_set(matrix, -45); in main() 46 print_matrix(matrix); in main() 47 printf("degrees: %f\n", av_display_rotation_get(matrix)); in main() [all …]
|
/third_party/ffmpeg/libswresample/ |
D | rematrix.c | 64 int swr_set_matrix(struct SwrContext *s, const double *matrix, int stride) in swr_set_matrix() argument 70 memset(s->matrix, 0, sizeof(s->matrix)); in swr_set_matrix() 78 s->matrix_flt[out][in] = s->matrix[out][in] = matrix[in]; in swr_set_matrix() 79 matrix += stride; in swr_set_matrix() 126 double matrix[NUM_NAMED_CHANNELS][NUM_NAMED_CHANNELS]={{0}}; in swr_build_matrix() local 166 for(i=0; i<FF_ARRAY_ELEMS(matrix); i++){ in swr_build_matrix() 168 matrix[i][i]= 1.0; in swr_build_matrix() 180 matrix[ FRONT_LEFT][FRONT_CENTER]+= center_mix_level; in swr_build_matrix() 181 matrix[FRONT_RIGHT][FRONT_CENTER]+= center_mix_level; in swr_build_matrix() 183 matrix[ FRONT_LEFT][FRONT_CENTER]+= M_SQRT1_2; in swr_build_matrix() [all …]
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrColorMatrixFragmentProcessor.h | 47 static std::unique_ptr<GrFragmentProcessor> Make(const float matrix[20], bool unpremulInput, in Make() 50 m44.set4x4(matrix[0], matrix[5], matrix[10], matrix[15], matrix[1], matrix[6], matrix[11], in Make() 51 matrix[16], matrix[2], matrix[7], matrix[12], matrix[17], matrix[3], matrix[8], in Make() 52 matrix[13], matrix[18]); in Make() 53 auto v4 = SkVector4(matrix[4], matrix[9], matrix[14], matrix[19]); in Make()
|
/third_party/ffmpeg/libavutil/ |
D | display.c | 34 double av_display_rotation_get(const int32_t matrix[9]) in av_display_rotation_get() 38 scale[0] = hypot(CONV_FP(matrix[0]), CONV_FP(matrix[3])); in av_display_rotation_get() 39 scale[1] = hypot(CONV_FP(matrix[1]), CONV_FP(matrix[4])); in av_display_rotation_get() 44 rotation = atan2(CONV_FP(matrix[1]) / scale[1], in av_display_rotation_get() 45 CONV_FP(matrix[0]) / scale[0]) * 180 / M_PI; in av_display_rotation_get() 50 void av_display_rotation_set(int32_t matrix[9], double angle) in av_display_rotation_set() 56 memset(matrix, 0, 9 * sizeof(int32_t)); in av_display_rotation_set() 58 matrix[0] = CONV_DB(c); in av_display_rotation_set() 59 matrix[1] = CONV_DB(-s); in av_display_rotation_set() 60 matrix[3] = CONV_DB(s); in av_display_rotation_set() [all …]
|
/third_party/flutter/engine/flutter/flow/ |
D | matrix_decomposition.cc | 28 MatrixDecomposition::MatrixDecomposition(const SkMatrix& matrix) in MatrixDecomposition() argument 29 : MatrixDecomposition(SkMatrix44{matrix}) {} in MatrixDecomposition() 40 MatrixDecomposition::MatrixDecomposition(SkMatrix44 matrix) : valid_(false) { in MatrixDecomposition() argument 41 if (matrix.get(3, 3) == 0) { in MatrixDecomposition() 47 matrix.set(j, i, matrix.get(j, i) / matrix.get(3, 3)); in MatrixDecomposition() 51 SkMatrix44 perpective_matrix = matrix; in MatrixDecomposition() 62 if (matrix.get(3, 0) != 0.0 || matrix.get(3, 1) != 0.0 || in MatrixDecomposition() 63 matrix.get(3, 2) != 0.0) { in MatrixDecomposition() 64 const SkVector4 right_hand_side(matrix.get(3, 0), matrix.get(3, 1), in MatrixDecomposition() 65 matrix.get(3, 2), matrix.get(3, 3)); in MatrixDecomposition() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/alpha/ |
D | gstalphacolor.c | 203 transform_##name##_ayuv (GstVideoFrame * frame, const gint *matrix) \ 215 memcpy (yc, matrix, 4 * sizeof (gint)); \ 216 memcpy (uc, matrix + 4, 4 * sizeof (gint)); \ 217 memcpy (vc, matrix + 8, 4 * sizeof (gint)); \ 235 transform_ayuv_##name (GstVideoFrame * frame, const gint *matrix) \ 247 memcpy (rc, matrix, 4 * sizeof (gint)); \ 248 memcpy (gc, matrix + 4, 4 * sizeof (gint)); \ 249 memcpy (bc, matrix + 8, 4 * sizeof (gint)); \ 272 transform_ayuv_ayuv (GstVideoFrame * frame, const gint * matrix) in transform_ayuv_ayuv() argument 281 if (matrix == NULL) in transform_ayuv_ayuv() [all …]
|
/third_party/boost/libs/hana/example/cppcon_2014/ |
D | comparable.cpp | 16 matrix(row(1, 2)), in main() 17 matrix(row(1, 2)) in main() 20 matrix(row(1, 2)), in main() 21 matrix(row(1, 5)) in main() 25 matrix(row(1, 2), in main() 27 matrix(row(1, 2), in main() 31 matrix(row(1, 2), in main() 33 matrix(row(1, 2), in main() 37 matrix(row(1, 2), in main() 39 matrix(row(0, 2), in main() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | ac3dsp.c | 175 static void ac3_downmix_5_to_2_symmetric_c(float **samples, float **matrix, in ac3_downmix_5_to_2_symmetric_c() argument 180 float front_mix = matrix[0][0]; in ac3_downmix_5_to_2_symmetric_c() 181 float center_mix = matrix[0][1]; in ac3_downmix_5_to_2_symmetric_c() 182 float surround_mix = matrix[0][3]; in ac3_downmix_5_to_2_symmetric_c() 198 static void ac3_downmix_5_to_1_symmetric_c(float **samples, float **matrix, in ac3_downmix_5_to_1_symmetric_c() argument 202 float front_mix = matrix[0][0]; in ac3_downmix_5_to_1_symmetric_c() 203 float center_mix = matrix[0][1]; in ac3_downmix_5_to_1_symmetric_c() 204 float surround_mix = matrix[0][3]; in ac3_downmix_5_to_1_symmetric_c() 215 static void ac3_downmix_c(float **samples, float **matrix, in ac3_downmix_c() argument 225 v0 += samples[j][i] * matrix[0][j]; in ac3_downmix_c() [all …]
|
/third_party/flutter/skia/gm/ |
D | colormatrix.cpp | 31 static void set_color_matrix(SkPaint* paint, const SkColorMatrix& matrix) { in set_color_matrix() argument 32 paint->setColorFilter(SkColorFilters::Matrix(matrix)); in set_color_matrix() 93 SkColorMatrix matrix; in onDraw() local 99 matrix.setIdentity(); in onDraw() 100 set_color_matrix(&paint, matrix); in onDraw() 103 matrix.setRotate(SkColorMatrix::kR_Axis, 90); in onDraw() 104 set_color_matrix(&paint, matrix); in onDraw() 107 matrix.setRotate(SkColorMatrix::kG_Axis, 90); in onDraw() 108 set_color_matrix(&paint, matrix); in onDraw() 111 matrix.setRotate(SkColorMatrix::kB_Axis, 90); in onDraw() [all …]
|