Mercurial > mplayer.hg
comparison libvo/vo_dfbmga.c @ 8080:ed41f6062668
disabled vidix dependency
author | arpi |
---|---|
date | Sun, 03 Nov 2002 14:27:32 +0000 |
parents | bd100a3d486f |
children | 89d0b7bbf043 |
comparison
equal
deleted
inserted
replaced
8079:714d18011757 | 8080:ed41f6062668 |
---|---|
780 * | 780 * |
781 * dfb->Release( dfb ); | 781 * dfb->Release( dfb ); |
782 */ | 782 */ |
783 } | 783 } |
784 | 784 |
785 #if 0 | |
785 static int | 786 static int |
786 directfb_set_video_eq( const vidix_video_eq_t * info ) | 787 directfb_set_video_eq( const vidix_video_eq_t * info ) |
787 { | 788 { |
788 DFBColorAdjustment ca; | 789 DFBColorAdjustment ca; |
789 float factor = (float) 0xffff / 2000.0; | 790 float factor = (float) 0xffff / 2000.0; |
847 info->saturation = (ca.saturation - 0x8000) * factor; | 848 info->saturation = (ca.saturation - 0x8000) * factor; |
848 } | 849 } |
849 | 850 |
850 return 0; | 851 return 0; |
851 } | 852 } |
853 #endif | |
852 | 854 |
853 static uint32_t | 855 static uint32_t |
854 control( uint32_t request, void *data, ... ) | 856 control( uint32_t request, void *data, ... ) |
855 { | 857 { |
856 switch (request) { | 858 switch (request) { |
857 case VOCTRL_QUERY_FORMAT: | 859 case VOCTRL_QUERY_FORMAT: |
858 return query_format( *((uint32_t *) data) ); | 860 return query_format( *((uint32_t *) data) ); |
861 #if 0 | |
859 case VOCTRL_SET_EQUALIZER: | 862 case VOCTRL_SET_EQUALIZER: |
860 { | 863 { |
861 va_list ap; | 864 va_list ap; |
862 int value; | 865 int value; |
863 vidix_video_eq_t info; | 866 vidix_video_eq_t info; |
913 if (info.cap & VEQ_CAP_HUE) | 916 if (info.cap & VEQ_CAP_HUE) |
914 *value = info.hue / 10; | 917 *value = info.hue / 10; |
915 | 918 |
916 return VO_TRUE; | 919 return VO_TRUE; |
917 } | 920 } |
918 } | 921 #endif |
919 | 922 } |
920 return VO_NOTIMPL; | 923 return VO_NOTIMPL; |
921 } | 924 } |
922 | 925 |
923 extern void mplayer_put_key( int code ); | 926 extern void mplayer_put_key( int code ); |
924 | 927 |