Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
5ba2255e
Commit
5ba2255e
authored
May 31, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vlc_int64_t. Was not even correctly defined.
parent
3dfd0c49
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
20 deletions
+16
-20
include/vlc/libvlc_events.h
include/vlc/libvlc_events.h
+1
-1
include/vlc/libvlc_structures.h
include/vlc/libvlc_structures.h
+2
-6
include/vlc/mediacontrol_structures.h
include/vlc/mediacontrol_structures.h
+4
-4
src/control/media.c
src/control/media.c
+1
-1
src/control/mediacontrol_core.c
src/control/mediacontrol_core.c
+2
-2
src/control/mediacontrol_internal.h
src/control/mediacontrol_internal.h
+2
-2
src/control/mediacontrol_util.c
src/control/mediacontrol_util.c
+4
-4
No files found.
include/vlc/libvlc_events.h
View file @
5ba2255e
...
@@ -100,7 +100,7 @@ typedef struct libvlc_event_t
...
@@ -100,7 +100,7 @@ typedef struct libvlc_event_t
}
media_subitem_added
;
}
media_subitem_added
;
struct
struct
{
{
vlc_
int64_t
new_duration
;
int64_t
new_duration
;
}
media_duration_changed
;
}
media_duration_changed
;
struct
struct
{
{
...
...
include/vlc/libvlc_structures.h
View file @
5ba2255e
...
@@ -40,11 +40,7 @@
...
@@ -40,11 +40,7 @@
# define VLC_DEPRECATED_API VLC_PUBLIC_API
# define VLC_DEPRECATED_API VLC_PUBLIC_API
#endif
#endif
#if (defined( WIN32 ) || defined( UNDER_CE )) && !defined( __MINGW32__ )
#include <stdint.h>
typedef
signed
__int64
vlc_int64_t
;
# else
typedef
signed
long
long
vlc_int64_t
;
#endif
# ifdef __cplusplus
# ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
@@ -81,7 +77,7 @@ typedef struct libvlc_exception_t
...
@@ -81,7 +77,7 @@ typedef struct libvlc_exception_t
* @{
* @{
*/
*/
typedef
vlc_
int64_t
libvlc_time_t
;
typedef
int64_t
libvlc_time_t
;
/**@} */
/**@} */
...
...
include/vlc/mediacontrol_structures.h
View file @
5ba2255e
...
@@ -76,7 +76,7 @@ typedef enum {
...
@@ -76,7 +76,7 @@ typedef enum {
typedef
struct
{
typedef
struct
{
mediacontrol_PositionOrigin
origin
;
mediacontrol_PositionOrigin
origin
;
mediacontrol_PositionKey
key
;
mediacontrol_PositionKey
key
;
vlc_
int64_t
value
;
int64_t
value
;
}
mediacontrol_Position
;
}
mediacontrol_Position
;
/**
/**
...
@@ -87,7 +87,7 @@ typedef struct {
...
@@ -87,7 +87,7 @@ typedef struct {
int
width
;
int
width
;
int
height
;
int
height
;
uint32_t
type
;
uint32_t
type
;
vlc_
int64_t
date
;
int64_t
date
;
int
size
;
int
size
;
char
*
data
;
char
*
data
;
}
mediacontrol_RGBPicture
;
}
mediacontrol_RGBPicture
;
...
@@ -122,8 +122,8 @@ typedef struct {
...
@@ -122,8 +122,8 @@ typedef struct {
typedef
struct
{
typedef
struct
{
mediacontrol_PlayerStatus
streamstatus
;
mediacontrol_PlayerStatus
streamstatus
;
char
*
url
;
/* The URL of the current media stream */
char
*
url
;
/* The URL of the current media stream */
vlc_
int64_t
position
;
/* actual location in the stream (in ms) */
int64_t
position
;
/* actual location in the stream (in ms) */
vlc_
int64_t
length
;
/* total length of the stream (in ms) */
int64_t
length
;
/* total length of the stream (in ms) */
}
mediacontrol_StreamInformation
;
}
mediacontrol_StreamInformation
;
...
...
src/control/media.c
View file @
5ba2255e
...
@@ -513,7 +513,7 @@ libvlc_media_event_manager( libvlc_media_t * p_md,
...
@@ -513,7 +513,7 @@ libvlc_media_event_manager( libvlc_media_t * p_md,
/**************************************************************************
/**************************************************************************
* Get duration of media object.
* Get duration of media object.
**************************************************************************/
**************************************************************************/
vlc_
int64_t
int64_t
libvlc_media_get_duration
(
libvlc_media_t
*
p_md
,
libvlc_media_get_duration
(
libvlc_media_t
*
p_md
,
libvlc_exception_t
*
p_e
)
libvlc_exception_t
*
p_e
)
{
{
...
...
src/control/mediacontrol_core.c
View file @
5ba2255e
...
@@ -123,7 +123,7 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
...
@@ -123,7 +123,7 @@ mediacontrol_get_media_position( mediacontrol_Instance *self,
{
{
mediacontrol_Position
*
retval
=
NULL
;
mediacontrol_Position
*
retval
=
NULL
;
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
vlc_
int64_t
pos
;
int64_t
pos
;
mediacontrol_exception_init
(
exception
);
mediacontrol_exception_init
(
exception
);
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
...
@@ -163,7 +163,7 @@ mediacontrol_set_media_position( mediacontrol_Instance *self,
...
@@ -163,7 +163,7 @@ mediacontrol_set_media_position( mediacontrol_Instance *self,
mediacontrol_Exception
*
exception
)
mediacontrol_Exception
*
exception
)
{
{
libvlc_exception_t
ex
;
libvlc_exception_t
ex
;
vlc_
int64_t
i_pos
;
int64_t
i_pos
;
libvlc_exception_init
(
&
ex
);
libvlc_exception_init
(
&
ex
);
mediacontrol_exception_init
(
exception
);
mediacontrol_exception_init
(
exception
);
...
...
src/control/mediacontrol_internal.h
View file @
5ba2255e
...
@@ -41,7 +41,7 @@ struct mediacontrol_Instance {
...
@@ -41,7 +41,7 @@ struct mediacontrol_Instance {
libvlc_time_t
private_mediacontrol_unit_convert
(
libvlc_media_player_t
*
p_media_player
,
libvlc_time_t
private_mediacontrol_unit_convert
(
libvlc_media_player_t
*
p_media_player
,
mediacontrol_PositionKey
from
,
mediacontrol_PositionKey
from
,
mediacontrol_PositionKey
to
,
mediacontrol_PositionKey
to
,
vlc_
int64_t
value
);
int64_t
value
);
libvlc_time_t
private_mediacontrol_position2microsecond
(
libvlc_media_player_t
*
p_media_player
,
libvlc_time_t
private_mediacontrol_position2microsecond
(
libvlc_media_player_t
*
p_media_player
,
const
mediacontrol_Position
*
pos
);
const
mediacontrol_Position
*
pos
);
...
@@ -51,7 +51,7 @@ libvlc_time_t private_mediacontrol_position2microsecond( libvlc_media_player_t *
...
@@ -51,7 +51,7 @@ libvlc_time_t private_mediacontrol_position2microsecond( libvlc_media_player_t *
*/
*/
mediacontrol_RGBPicture
*
private_mediacontrol_RGBPicture__alloc
(
int
datasize
);
mediacontrol_RGBPicture
*
private_mediacontrol_RGBPicture__alloc
(
int
datasize
);
mediacontrol_RGBPicture
*
private_mediacontrol_createRGBPicture
(
int
,
int
,
long
,
vlc_
int64_t
l_date
,
char
*
,
int
);
mediacontrol_RGBPicture
*
private_mediacontrol_createRGBPicture
(
int
,
int
,
long
,
int64_t
l_date
,
char
*
,
int
);
#define RAISE( c, m ) if( exception ) { exception->code = c; \
#define RAISE( c, m ) if( exception ) { exception->code = c; \
...
...
src/control/mediacontrol_util.c
View file @
5ba2255e
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
libvlc_time_t
private_mediacontrol_unit_convert
(
libvlc_media_player_t
*
p_media_player
,
libvlc_time_t
private_mediacontrol_unit_convert
(
libvlc_media_player_t
*
p_media_player
,
mediacontrol_PositionKey
from
,
mediacontrol_PositionKey
from
,
mediacontrol_PositionKey
to
,
mediacontrol_PositionKey
to
,
vlc_
int64_t
value
)
int64_t
value
)
{
{
if
(
to
==
from
)
if
(
to
==
from
)
return
value
;
return
value
;
...
@@ -100,12 +100,12 @@ libvlc_time_t private_mediacontrol_unit_convert( libvlc_media_player_t *p_media_
...
@@ -100,12 +100,12 @@ libvlc_time_t private_mediacontrol_unit_convert( libvlc_media_player_t *p_media_
{
{
/* FIXME */
/* FIXME */
/* vlc < 0.8 API */
/* vlc < 0.8 API */
/* return (
vlc_
int64_t )( value * 50 * p_input->stream.i_mux_rate / f_fps ); */
/* return ( int64_t )( value * 50 * p_input->stream.i_mux_rate / f_fps ); */
return
0
;
return
0
;
}
}
if
(
to
==
mediacontrol_MediaTime
)
if
(
to
==
mediacontrol_MediaTime
)
return
(
vlc_
int64_t
)(
value
*
1000
.
0
/
(
double
)
f_fps
);
return
(
int64_t
)(
value
*
1000
.
0
/
(
double
)
f_fps
);
/* Cannot happen */
/* Cannot happen */
break
;
break
;
...
@@ -246,7 +246,7 @@ mediacontrol_exception_free( mediacontrol_Exception *exception )
...
@@ -246,7 +246,7 @@ mediacontrol_exception_free( mediacontrol_Exception *exception )
}
}
mediacontrol_RGBPicture
*
mediacontrol_RGBPicture
*
private_mediacontrol_createRGBPicture
(
int
i_width
,
int
i_height
,
long
i_chroma
,
vlc_
int64_t
l_date
,
private_mediacontrol_createRGBPicture
(
int
i_width
,
int
i_height
,
long
i_chroma
,
int64_t
l_date
,
char
*
p_data
,
int
i_datasize
)
char
*
p_data
,
int
i_datasize
)
{
{
mediacontrol_RGBPicture
*
retval
;
mediacontrol_RGBPicture
*
retval
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment