Changeset 8728e7f2de59f4bd740ed0abe6e09a7c8fede9ec
- Timestamp:
- 01/28/08 18:12:18
(7 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1201540338 +0000
- git-parent:
[3b24180294c2cc3bdc15c2d2e9ad6693951fffca]
- git-author:
- Rafaël Carré <funman@videolan.org> 1201540338 +0000
- Message:
video_output/opengl.c:
Transform(): remove unused parameter
avoids useless unused parameter warnings
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r99fab90 |
r8728e7f |
|
| 146 | 146 | #ifdef OPENGL_MORE_EFFECT |
|---|
| 147 | 147 | static float Z_Compute ( float, int, float, float ); |
|---|
| 148 | | static void Transform ( float, int, float, float, int, int, int, int, double *, double * ); |
|---|
| | 148 | static void Transform ( int, float, float, int, int, int, int, double *, double * ); |
|---|
| 149 | 149 | |
|---|
| 150 | 150 | /***************************************************************************** |
|---|
| … | … | |
| 700 | 700 | static void Render( vout_thread_t *p_vout, picture_t *p_pic ) |
|---|
| 701 | 701 | { |
|---|
| | 702 | VLC_UNUSED(p_pic); |
|---|
| 702 | 703 | vout_sys_t *p_sys = p_vout->p_sys; |
|---|
| 703 | 704 | |
|---|
| … | … | |
| 764 | 765 | * Transform: Calculate the distorted grid coordinates |
|---|
| 765 | 766 | *****************************************************************************/ |
|---|
| 766 | | static void Transform(float p, int distortion, float width, float height,int i, int j, int i_visible_width, int i_visible_height, double *ix,double *iy) |
|---|
| | 767 | static void Transform( int distortion, float width, float height,int i, int j, int i_visible_width, int i_visible_height, double *ix, double *iy ) |
|---|
| 767 | 768 | { |
|---|
| 768 | 769 | double x,y,xnew,ynew; |
|---|
| … | … | |
| 873 | 874 | static void DisplayVideo( vout_thread_t *p_vout, picture_t *p_pic ) |
|---|
| 874 | 875 | { |
|---|
| | 876 | VLC_UNUSED(p_pic); |
|---|
| 875 | 877 | vout_sys_t *p_sys = p_vout->p_sys; |
|---|
| 876 | 878 | float f_width, f_height, f_x, f_y; |
|---|
| … | … | |
| 955 | 957 | int i_l = ((i_m % 4) == 2) || ((i_m % 4) == 3); |
|---|
| 956 | 958 | |
|---|
| 957 | | Transform(f_p, i_distortion, f_width, f_height, i_i + i_k * i_n_x, i_j + i_l * i_n_y, p_vout->fmt_out.i_visible_width, p_vout->fmt_out.i_visible_height, &d_x, &d_y); |
|---|
| | 959 | Transform( i_distortion, f_width, f_height, i_i + i_k * i_n_x, i_j + i_l * i_n_y, p_vout->fmt_out.i_visible_width, p_vout->fmt_out.i_visible_height, &d_x, &d_y); |
|---|
| 958 | 960 | glTexCoord2f(f_x + d_x, f_y + d_y); |
|---|
| 959 | 961 | d_x = - 1.0 + 2.0 * ((double)(i_k * i_n_x + i_i) / (double)p_vout->fmt_out.i_visible_width); |
|---|
| … | … | |
| 1107 | 1109 | vlc_value_t oldval, vlc_value_t newval, void *_p_vout ) |
|---|
| 1108 | 1110 | { |
|---|
| | 1111 | VLC_UNUSED(p_this); VLC_UNUSED(oldval); |
|---|
| 1109 | 1112 | return var_Set( (vlc_object_t *)_p_vout, psz_var, newval ); |
|---|
| 1110 | 1113 | } |
|---|