Displaying 3 results from an estimated 3 matches for "color_mod".
Did you mean:
color_med
2024 Aug 21
1
[PATCH v2 56/86] drm/mgag200: Run DRM default client setup
...files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/drm_client_setup.c b/drivers/gpu/drm/drm_client_setup.c
index c8ca5afaa47a..5373a892f097 100644
--- a/drivers/gpu/drm/drm_client_setup.c
+++ b/drivers/gpu/drm/drm_client_setup.c
@@ -64,6 +64,6 @@ void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color
{
u32 fourcc = drm_driver_color_mode_format(dev, color_mode);
- drm_client_setup_with_fourcc(dev, fmt);
+ drm_client_setup_with_fourcc(dev, fourcc);
}
EXPORT_SYMBOL(drm_client_setup_with_color_mode);
diff --git a/drivers/gpu/drm/mgag200/mgag200_drv...
2007 Aug 27
0
7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_string.c libswfdec/swfdec_as_string.h libswfdec/swfdec_as_strings.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player.c
...yer, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_INT (ret, player->system->dpi);
+}
+
+static void
+swfdec_system_screen_color (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_STRING (ret, swfdec_as_context_get_string (
+ SWFDEC_AS_CONTEXT (player), player->system->color_mode));
+}
+
+static void
+swfdec_system_screen_par (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_NUMBER (ret, player->system->par);
+}
+
+static void
+swfdec_system_os (SwfdecPlayer *player, SwfdecAsValue *ret)
+{
+ SWFDEC_AS_VALUE_SET_STRING (ret, swfdec_as_context_get_s...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...t;system->dpi);
+ SWFDEC_AS_VALUE_SET_INT (ret, player->priv->system->dpi);
}
static void
swfdec_system_screen_color (SwfdecPlayer *player, SwfdecAsValue *ret)
{
SWFDEC_AS_VALUE_SET_STRING (ret, swfdec_as_context_get_string (
- SWFDEC_AS_CONTEXT (player), player->system->color_mode));
+ SWFDEC_AS_CONTEXT (player), player->priv->system->color_mode));
}
static void
swfdec_system_screen_par (SwfdecPlayer *player, SwfdecAsValue *ret)
{
- SWFDEC_AS_VALUE_SET_NUMBER (ret, player->system->par);
+ SWFDEC_AS_VALUE_SET_NUMBER (ret, player->priv->system->...