Home
last modified time | relevance | path

Searched refs:color_matrix (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs/media-io/
H A Dvideo-matrices.c94 struct matrix3 color_matrix; in initialize_matrix() local
101 vec3_set(&color_matrix.y, 255. / yvals, in initialize_matrix()
111 matrix[0] = color_matrix.x.x; in initialize_matrix()
112 matrix[1] = color_matrix.x.y; in initialize_matrix()
113 matrix[2] = color_matrix.x.z; in initialize_matrix()
116 matrix[4] = color_matrix.y.x; in initialize_matrix()
117 matrix[5] = color_matrix.y.y; in initialize_matrix()
118 matrix[6] = color_matrix.y.z; in initialize_matrix()
121 matrix[8] = color_matrix.z.x; in initialize_matrix()
122 matrix[9] = color_matrix.z.y; in initialize_matrix()
[all …]
/dports/x11-toolkits/sdl_pango/SDL_Pango-0.1.2/src/
H A DSDL_Pango.c283 SDLPango_Matrix color_matrix; member
353 color_matrix, in drawGlyphString()
396 color_matrix->m[0][1], in drawHLine()
397 color_matrix->m[1][1], in drawHLine()
398 color_matrix->m[2][1], in drawHLine()
399 color_matrix->m[3][1]); in drawHLine()
446 SDLPango_Matrix color_matrix = context->color_matrix; in drawLine() local
466 color_matrix.m[3][1] = 255; in drawLine()
478 color_matrix.m[3][0] = 255; in drawLine()
502 &color_matrix, in drawLine()
[all …]
/dports/multimedia/handbrake/HandBrake-1.4.2/libhb/
H A Dcolorspace.c194 int color_prim, color_transfer, color_matrix, color_range; in colorspace_init() local
198 color_matrix = init->color_matrix; in colorspace_init()
213 color_matrix = av_color_space_from_name(matrix); in colorspace_init()
223 color_matrix == init->color_matrix && color_range == init->color_range) in colorspace_init()
291 if (color_matrix != init->color_matrix) in colorspace_init()
293 hb_dict_set_string(avsettings, "matrix", get_matrix_name(color_matrix)); in colorspace_init()
316 init->color_matrix = color_matrix; in colorspace_init()
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/vulkan/
H A Dgskvulkaneffectpipeline.c16 float color_matrix[16]; member
49 .offset = G_STRUCT_OFFSET (GskVulkanEffectInstance, color_matrix), in G_DEFINE_TYPE()
55 .offset = G_STRUCT_OFFSET (GskVulkanEffectInstance, color_matrix) + sizeof (float) * 4, in G_DEFINE_TYPE()
61 .offset = G_STRUCT_OFFSET (GskVulkanEffectInstance, color_matrix) + sizeof (float) * 8, in G_DEFINE_TYPE()
67 .offset = G_STRUCT_OFFSET (GskVulkanEffectInstance, color_matrix) + sizeof (float) * 12, in G_DEFINE_TYPE()
130 const graphene_matrix_t *color_matrix, in gsk_vulkan_effect_pipeline_collect_vertex_data() argument
143 graphene_matrix_to_float (color_matrix, instance->color_matrix); in gsk_vulkan_effect_pipeline_collect_vertex_data()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_tools/frame_analyzer/
H A Dvideo_color_aligner_unittest.cc66 const ColorTransformationMatrix color_matrix = { in TEST_F() local
77 AdjustColors(color_matrix, i420_buffer); in TEST_F()
85 const ColorTransformationMatrix color_matrix = { in TEST_F() local
96 AdjustColors(color_matrix, i420_buffer); in TEST_F()
104 const ColorTransformationMatrix color_matrix = { in TEST_F() local
115 AdjustColors(color_matrix, i420_buffer); in TEST_F()
157 const ColorTransformationMatrix color_matrix = in TEST_F() local
160 ExpectNear({{{1, 0, 0, 10}, {0, 1, 0, 10}, {0, 0, 1, 10}}}, color_matrix); in TEST_F()
H A Dvideo_color_aligner.h40 const ColorTransformationMatrix& color_matrix,
45 const ColorTransformationMatrix& color_matrix,
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_tools/frame_analyzer/
H A Dvideo_color_aligner_unittest.cc66 const ColorTransformationMatrix color_matrix = { in TEST_F() local
77 AdjustColors(color_matrix, i420_buffer); in TEST_F()
85 const ColorTransformationMatrix color_matrix = { in TEST_F() local
96 AdjustColors(color_matrix, i420_buffer); in TEST_F()
104 const ColorTransformationMatrix color_matrix = { in TEST_F() local
115 AdjustColors(color_matrix, i420_buffer); in TEST_F()
157 const ColorTransformationMatrix color_matrix = in TEST_F() local
160 ExpectNear({{{1, 0, 0, 10}, {0, 1, 0, 10}, {0, 0, 1, 10}}}, color_matrix); in TEST_F()
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/software/optimizer/
H A Doptimizerpixelcolormatrixsw.cpp59 …TaskPixelColorMatrix::Handle color_matrix = TaskPixelColorMatrix::Handle::cast_dynamic(params.ref_… in run() local
60 if ( color_matrix in run()
61 && color_matrix->target_surface in run()
62 && color_matrix.type_equal<TaskPixelColorMatrix>() ) in run()
65 init_and_assign_all<rendering::SurfaceSW>(color_matrix_sw, color_matrix); in run()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/software/optimizer/
H A Doptimizerpixelcolormatrixsw.cpp59 …TaskPixelColorMatrix::Handle color_matrix = TaskPixelColorMatrix::Handle::cast_dynamic(params.ref_… in run() local
60 if ( color_matrix in run()
61 && color_matrix->target_surface in run()
62 && color_matrix.type_equal<TaskPixelColorMatrix>() ) in run()
65 init_and_assign_all<rendering::SurfaceSW>(color_matrix_sw, color_matrix); in run()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/software/optimizer/
H A Doptimizerpixelcolormatrixsw.cpp59 …TaskPixelColorMatrix::Handle color_matrix = TaskPixelColorMatrix::Handle::cast_dynamic(params.ref_… in run() local
60 if ( color_matrix in run()
61 && color_matrix->target_surface in run()
62 && color_matrix.type_equal<TaskPixelColorMatrix>() ) in run()
65 init_and_assign_all<rendering::SurfaceSW>(color_matrix_sw, color_matrix); in run()
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-filters/
H A Dcolor-correction-filter.c60 struct matrix4 color_matrix; member
81 struct matrix4 color_matrix; member
237 filter->color_matrix.x.x = color_v4.x; in color_correction_filter_update_v1()
238 filter->color_matrix.y.y = color_v4.y; in color_correction_filter_update_v1()
239 filter->color_matrix.z.z = color_v4.z; in color_correction_filter_update_v1()
256 &filter->color_matrix); in color_correction_filter_update_v1()
397 filter->color_matrix.t.x = color_add_v4.x; in color_correction_filter_update_v2()
398 filter->color_matrix.t.y = color_add_v4.y; in color_correction_filter_update_v2()
412 &filter->color_matrix); in color_correction_filter_update_v2()
475 matrix4_identity(&filter->color_matrix); in color_correction_filter_create_v1()
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gsk/vulkan/resources/
H A Dcolor-matrix.frag15 color_matrix (vec4 color, mat4 color_matrix, vec4 color_offset)
21 color = color_matrix * color + color_offset;
32 …color = clip (inPos, color_matrix (texture (inTexture, inTexCoord), inColorMatrix, inColorOffset));
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/ozone/platform/drm/gpu/
H A Ddrm_gpu_util.cc71 ScopedDrmColorCtmPtr CreateCTMBlob(const std::vector<float>& color_matrix) { in CreateCTMBlob() argument
72 if (color_matrix.empty()) in CreateCTMBlob()
77 DCHECK_EQ(color_matrix.size(), base::size(ctm->matrix)); in CreateCTMBlob()
79 if (color_matrix[i] < 0) { in CreateCTMBlob()
80 ctm->matrix[i] = static_cast<uint64_t>(-color_matrix[i] * (1ull << 32)); in CreateCTMBlob()
83 ctm->matrix[i] = static_cast<uint64_t>(color_matrix[i] * (1ull << 32)); in CreateCTMBlob()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/ozone/platform/drm/gpu/
H A Ddrm_gpu_util.cc72 ScopedDrmColorCtmPtr CreateCTMBlob(const std::vector<float>& color_matrix) { in CreateCTMBlob() argument
73 if (color_matrix.empty()) in CreateCTMBlob()
78 DCHECK_EQ(color_matrix.size(), base::size(ctm->matrix)); in CreateCTMBlob()
80 if (color_matrix[i] < 0) { in CreateCTMBlob()
81 ctm->matrix[i] = static_cast<uint64_t>(-color_matrix[i] * (1ull << 32)); in CreateCTMBlob()
84 ctm->matrix[i] = static_cast<uint64_t>(color_matrix[i] * (1ull << 32)); in CreateCTMBlob()
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/crt/shaders/crt-easymode-halation/
H A Dcrt-easymode-halation.slang78 vec4 filter_lanczos(vec4 coeffs, mat4x4 color_matrix)
80 vec4 col = color_matrix * coeffs;
81 vec4 sample_min = min(color_matrix[1], color_matrix[2]);
82 vec4 sample_max = max(color_matrix[1], color_matrix[2]);
185 mat4x4 color_matrix;
188 color_matrix[0] = filter_lanczos(coeffs_x, get_color_matrix(ORIG_LINEARIZED, tex_co - dy, dx));
189 color_matrix[1] = filter_lanczos(coeffs_x, get_color_matrix(ORIG_LINEARIZED, tex_co, dx));
190 color_matrix[2] = filter_lanczos(coeffs_x, get_color_matrix(ORIG_LINEARIZED, tex_co + dy, dx));
191color_matrix[3] = filter_lanczos(coeffs_x, get_color_matrix(ORIG_LINEARIZED, tex_co + 2.0 * dy, dx…
193 col = filter_lanczos(coeffs_y, color_matrix).rgb;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/compositor/
H A Dcompositor_unittest.cc112 SkMatrix44 color_matrix(SkMatrix44::kIdentity_Constructor); in TEST_F() local
113 color_matrix.set(1, 1, 0.7f); in TEST_F()
114 color_matrix.set(2, 2, 0.4f); in TEST_F()
120 compositor()->SetDisplayColorMatrix(color_matrix); in TEST_F()
128 EXPECT_EQ(color_matrix, context_factory->GetOutputColorMatrix(compositor())); in TEST_F()
148 EXPECT_EQ(color_matrix, context_factory->GetOutputColorMatrix(compositor())); in TEST_F()
/dports/textproc/lasem/lasem-0.5.1/src/
H A Dlsmsvgfiltercolormatrix.c43 LsmSvgFilterColorMatrix *color_matrix = LSM_SVG_FILTER_COLOR_MATRIX (self); in lsm_svg_filter_color_matrix_apply() local
46 color_matrix->type.value, in lsm_svg_filter_color_matrix_apply()
47 color_matrix->values.value.n_values, in lsm_svg_filter_color_matrix_apply()
48 color_matrix->values.value.values); in lsm_svg_filter_color_matrix_apply()
/dports/games/libretro-shaders-glsl/glsl-shaders-7052b09dc657d56bea443d5661dccbebcafe32dc/crt/shaders/crt-easymode-halation/
H A Dcrt-easymode-halation.glsl164 vec4 filter_lanczos(vec4 coeffs, mat4 color_matrix)
166 vec4 col = color_matrix * coeffs;
167 vec4 sample_min = min(color_matrix[1], color_matrix[2]);
168 vec4 sample_max = max(color_matrix[1], color_matrix[2]);
254 mat4 color_matrix;
257 color_matrix[0] = filter_lanczos(coeffs_x, get_color_matrix(PassPrev4Texture, tex_co - dy, dx));
258 color_matrix[1] = filter_lanczos(coeffs_x, get_color_matrix(PassPrev4Texture, tex_co, dx));
259 color_matrix[2] = filter_lanczos(coeffs_x, get_color_matrix(PassPrev4Texture, tex_co + dy, dx));
260color_matrix[3] = filter_lanczos(coeffs_x, get_color_matrix(PassPrev4Texture, tex_co + 2.0 * dy, d…
262 col = filter_lanczos(coeffs_y, color_matrix).rgb;
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/compositor/
H A Dcompositor_unittest.cc114 SkMatrix44 color_matrix(SkMatrix44::kIdentity_Constructor); in TEST_F() local
115 color_matrix.set(1, 1, 0.7f); in TEST_F()
116 color_matrix.set(2, 2, 0.4f); in TEST_F()
122 compositor()->SetDisplayColorMatrix(color_matrix); in TEST_F()
130 EXPECT_EQ(color_matrix, context_factory->GetOutputColorMatrix(compositor())); in TEST_F()
150 EXPECT_EQ(color_matrix, context_factory->GetOutputColorMatrix(compositor())); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/svg/
H A Dsvg_fe_color_matrix_element.cc70 FEColorMatrix* color_matrix = static_cast<FEColorMatrix*>(effect); in SetFilterEffectAttribute() local
72 return color_matrix->SetType(type_->CurrentEnumValue()); in SetFilterEffectAttribute()
74 return color_matrix->SetValues(values_->CurrentValue()->ToFloatVector()); in SetFilterEffectAttribute()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/svg/
H A Dsvg_fe_color_matrix_element.cc68 FEColorMatrix* color_matrix = static_cast<FEColorMatrix*>(effect); in SetFilterEffectAttribute() local
70 return color_matrix->SetType(type_->CurrentValue()->EnumValue()); in SetFilterEffectAttribute()
72 return color_matrix->SetValues(values_->CurrentValue()->ToFloatVector()); in SetFilterEffectAttribute()
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/OpenGL/GL/SGI/
H A Dcolor_matrix.py37 from OpenGL.raw.GL.SGI.color_matrix import *
38 from OpenGL.raw.GL.SGI.color_matrix import _EXTENSION_NAME
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/OpenGL/GL/SGI/
H A Dcolor_matrix.py37 from OpenGL.raw.GL.SGI.color_matrix import *
38 from OpenGL.raw.GL.SGI.color_matrix import _EXTENSION_NAME
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/manager/test/
H A Daction_logger_util.cc40 const std::vector<float>& color_matrix) { in SetColorMatrixAction() argument
42 for (size_t i = 0; i < color_matrix.size(); ++i) in SetColorMatrixAction()
43 ctm += base::StringPrintf(",ctm[%" PRIuS "]=%f", i, color_matrix[i]); in SetColorMatrixAction()
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/crt/shaders/
H A Dcrt-easymode.slang130 vec3 filter_lanczos(vec4 coeffs, mat4x4 color_matrix)
132 vec4 col = color_matrix * coeffs;
133 vec4 sample_min = min(color_matrix[1], color_matrix[2]);
134 vec4 sample_max = max(color_matrix[1], color_matrix[2]);

12345678910>>...16