Changeset 50d9c2c41d3c12fb3eb98ae70fc169387bafff8c

Show
Ignore:
Timestamp:
03/24/06 12:05:28 (2 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1143198328 +0000
git-parent:

[7f576984bb84cad80ef331ef8e644b96ad021b12]

git-author:
Clément Stenac <zorglub@videolan.org> 1143198328 +0000
Message:

Strings review in visualization/ (Refs:#438)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/visualization/galaktos/plugin.c

    rfdb2f80 r50d9c2c  
    220220    if( p_thread->p_module == NULL ) 
    221221    { 
    222         msg_Err( p_thread, "no OpenGL provider found" ); 
     222        msg_Err( p_thread, "unable to initialize OpenGL" ); 
    223223        vlc_object_detach( p_thread->p_opengl ); 
    224224        vlc_object_destroy( p_thread->p_opengl ); 
  • modules/visualization/goom.c

    rfdb2f80 r50d9c2c  
    5858#define WIDTH_TEXT N_("Goom display width") 
    5959#define HEIGHT_TEXT N_("Goom display height") 
    60 #define RES_LONGTEXT N_("Allows you to change the resolution of the " \ 
     60#define RES_LONGTEXT N_("This allows you to set the resolution of the " \ 
    6161  "Goom display (bigger resolution will be prettier but more CPU intensive).") 
    6262 
    6363#define SPEED_TEXT N_("Goom animation speed") 
    64 #define SPEED_LONGTEXT N_("Allows you to reduce the speed of the animation " \ 
    65   "(default 6, max 10).") 
     64#define SPEED_LONGTEXT N_("This allows you to set the animation speed " \ 
     65  "(between 1 and 10, defaults to 6).") 
    6666 
    6767#define MAX_SPEED 10 
  • modules/visualization/visual/effects.c

    rfdb2f80 r50d9c2c  
    832832        return 0; 
    833833} 
    834  
    835 /***************************************************************************** 
    836  * blur_Run:  blur effect 
    837  *****************************************************************************/ 
    838 #if 0 
    839   /* This code is totally crappy */ 
    840 int blur_Run(visual_effect_t * p_effect, aout_instance_t *p_aout, 
    841               aout_buffer_t * p_buffer , picture_t * p_picture) 
    842 { 
    843     uint8_t * p_pictures; 
    844     int i,j; 
    845     int i_size;   /* Total size of one image */ 
    846  
    847     i_size = (p_picture->p[0].i_pitch * p_picture->p[0].i_lines + 
    848               p_picture->p[1].i_pitch * p_picture->p[1].i_lines + 
    849               p_picture->p[2].i_pitch * p_picture->p[2].i_lines ); 
    850  
    851     if( !p_effect->p_data ) 
    852     { 
    853         p_effect->p_data=(void *)malloc( 5 * i_size *sizeof(uint8_t)); 
    854  
    855         if( !p_effect->p_data) 
    856         { 
    857             msg_Err(p_aout,"Out of memory"); 
    858             return -1; 
    859         } 
    860         p_pictures = (uint8_t *)p_effect->p_data; 
    861     } 
    862     else 
    863     { 
    864         p_pictures =(uint8_t *)p_effect->p_data; 
    865     } 
    866  
    867     for( i = 0 ; i < 5 ; i++) 
    868     { 
    869         for ( j = 0 ; j< p_picture->p[0].i_pitch * p_picture->p[0].i_lines; i++) 
    870             p_picture->p[0].p_pixels[j] = 
    871                     p_pictures[i * i_size + j] * (100 - 20 * i) /100 ; 
    872         for ( j = 0 ; j< p_picture->p[1].i_pitch * p_picture->p[1].i_lines; i++) 
    873             p_picture->p[1].p_pixels[j] = 
    874                     p_pictures[i * i_size + 
    875                     p_picture->p[0].i_pitch * p_picture->p[0].i_lines + j ]; 
    876         for ( j = 0 ; j< p_picture->p[2].i_pitch * p_picture->p[2].i_lines; i++) 
    877             p_picture->p[2].p_pixels[j] = 
    878                     p_pictures[i * i_size + 
    879                     p_picture->p[0].i_pitch * p_picture->p[0].i_lines + 
    880                     p_picture->p[1].i_pitch * p_picture->p[1].i_lines 
    881                     + j ]; 
    882     } 
    883  
    884     memcpy ( &p_pictures[ i_size ] , &p_pictures[0] , 4 * i_size * sizeof(uint8_t) ); 
    885 } 
    886 #endif 
  • modules/visualization/visual/visual.c

    rfdb2f80 r50d9c2c  
    22 * visual.c : Visualisation system 
    33 ***************************************************************************** 
    4  * Copyright (C) 2002 the VideoLAN team 
     4 * Copyright (C) 2002-2006 the VideoLAN team 
    55 * $Id$ 
    66 * 
     
    6565#define PEAKS_TEXT N_( "Enable peaks" ) 
    6666#define PEAKS_LONGTEXT N_( \ 
    67         "Defines whether to draw peaks." ) 
     67        "This will draw \"peaks\" in the spectrum analyzer" ) 
    6868 
    6969#define ORIG_TEXT N_( "Enable original graphic spectrum" ) 
    7070#define ORIG_LONGTEXT N_( \ 
    71         "Defines whether to draw the original spectrum graphic routine." ) 
     71        "This enabled the \"flat\" spectrum analyzer in the spectrometer" ) 
    7272 
    7373#define BANDS_TEXT N_( "Enable bands" ) 
    7474#define BANDS_LONGTEXT N_( \ 
    75         "Defines whether to draw the bands." ) 
     75        "This draws bands in the spectrometer." ) 
    7676 
    7777#define BASE_TEXT N_( "Enable base" ) 
     
    101101#define STARS_TEXT N_( "Number of stars" ) 
    102102#define STARS_LONGTEXT N_( \ 
    103         "Defines the number of stars to draw with random effect." ) 
     103        "This defines the number of stars to draw with random effect." ) 
    104104 
    105105static int  Open         ( vlc_object_t * ); 
     
    320320    p_filter->b_in_place= 1; 
    321321 
    322     msg_Dbg( p_filter,"Visualizer initialized"); 
    323322    return VLC_SUCCESS; 
    324323} 
  • modules/visualization/visual/visual.h

    rf99f42e r50d9c2c  
    6464int spectrometer_Run 
    6565        (visual_effect_t * , aout_instance_t *, aout_buffer_t *, picture_t *); 
    66 #if 0 
    67 int blur_Run 
    68         (visual_effect_t * , aout_instance_t *, aout_buffer_t *, picture_t *); 
    69 #endif 
    7066 
    7167/* Default vout size */ 
  • modules/visualization/xosd.c

    rfdb2f80 r50d9c2c  
    6262 *****************************************************************************/ 
    6363#define POSITION_TEXT N_("Flip vertical position") 
    64 #define POSITION_LONGTEXT N_("Display xosd output on the bottom of the " \ 
     64#define POSITION_LONGTEXT N_("Display XOSD output at the bottom of the " \ 
    6565                             "screen instead of the top.") 
    6666 
    6767#define TXT_OFS_TEXT N_("Vertical offset") 
    68 #define TXT_OFS_LONGTEXT N_("Vertical offset in pixels of the displayed " \ 
    69                             "text (default 30 px).") 
     68#define TXT_OFS_LONGTEXT N_("Vertical offset between the border of the screen "\ 
     69                            "and the displayed text (in pixels, defaults to "\ 
     70                            "30 pixels)." ) 
    7071 
    7172#define SHD_OFS_TEXT N_("Shadow offset") 
    72 #define SHD_OFS_LONGTEXT N_("Offset in pixels of the shadow (default 2 px).") 
     73#define SHD_OFS_LONGTEXT N_("Offset between the text and the shadow (in " \ 
     74                            "pixels, defaults to 2 pixels)." ) 
    7375 
    7476#define FONT_TEXT N_("Font") 
    75 #define FONT_LONGTEXT N_("Font used to display text in the xosd output.") 
     77#define FONT_LONGTEXT N_("Font used to display text in the XOSD output.") 
    7678#define COLOUR_TEXT N_("Color") 
    77 #define COLOUR_LONGTEXT N_("Color used to display text in the xosd output.") 
     79#define COLOUR_LONGTEXT N_("Color used to display text in the XOSD output.") 
    7880 
    7981vlc_module_begin();