Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
fa8af20d
Commit
fa8af20d
authored
Apr 10, 2015
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move GUID_ helpers to vlc_codecs.h
parent
fce3563d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
11 deletions
+12
-11
include/vlc_codecs.h
include/vlc_codecs.h
+9
-0
modules/access/mms/asf.c
modules/access/mms/asf.c
+1
-1
modules/access/mms/asf.h
modules/access/mms/asf.h
+1
-1
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+1
-1
modules/demux/asf/libasf_guid.h
modules/demux/asf/libasf_guid.h
+0
-8
No files found.
include/vlc_codecs.h
View file @
fa8af20d
...
@@ -471,6 +471,15 @@ static inline int guidcmp( const GUID *s1, const GUID *s2 )
...
@@ -471,6 +471,15 @@ static inline int guidcmp( const GUID *s1, const GUID *s2 )
s1
->
Data3
==
s2
->
Data3
&&
!
memcmp
(
s1
->
Data4
,
s2
->
Data4
,
8
)
);
s1
->
Data3
==
s2
->
Data3
&&
!
memcmp
(
s1
->
Data4
,
s2
->
Data4
,
8
)
);
}
}
#define GUID_FMT "0x%x-0x%x-0x%x-0x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x"
#define GUID_PRINT( guid ) \
(unsigned)(guid).Data1, \
(guid).Data2, \
(guid).Data3, \
(guid).Data4[0],(guid).Data4[1],(guid).Data4[2],(guid).Data4[3], \
(guid).Data4[4],(guid).Data4[5],(guid).Data4[6],(guid).Data4[7]
static
inline
void
sf_tag_to_fourcc
(
GUID
*
guid_tag
,
static
inline
void
sf_tag_to_fourcc
(
GUID
*
guid_tag
,
vlc_fourcc_t
*
fcc
,
const
char
**
ppsz_name
)
vlc_fourcc_t
*
fcc
,
const
char
**
ppsz_name
)
{
{
...
...
modules/access/mms/asf.c
View file @
fa8af20d
...
@@ -27,10 +27,10 @@
...
@@ -27,10 +27,10 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_rand.h>
#include <vlc_rand.h>
#include <vlc_codecs.h>
#include "asf.h"
#include "asf.h"
#include "buffer.h"
#include "buffer.h"
#include "../../demux/asf/libasf_guid.h"
void
GenerateGuid
(
guid_t
*
p_guid
)
void
GenerateGuid
(
guid_t
*
p_guid
)
{
{
...
...
modules/access/mms/asf.h
View file @
fa8af20d
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
#ifndef _ASF_H_
#ifndef _ASF_H_
#define _ASF_H_ 1
#define _ASF_H_ 1
#include
"../../demux/asf/libasf_guid.h"
#include
<vlc_codecs.h>
#define ASF_CODEC_TYPE_VIDEO 0x0001
#define ASF_CODEC_TYPE_VIDEO 0x0001
#define ASF_CODEC_TYPE_AUDIO 0x0002
#define ASF_CODEC_TYPE_AUDIO 0x0002
...
...
modules/codec/avcodec/dxva2.c
View file @
fa8af20d
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
#include <vlc_fourcc.h>
#include <vlc_fourcc.h>
#include <vlc_cpu.h>
#include <vlc_cpu.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_codecs.h>
#include <libavcodec/avcodec.h>
#include <libavcodec/avcodec.h>
# define DXVA2API_USE_BITFIELDS
# define DXVA2API_USE_BITFIELDS
...
@@ -50,7 +51,6 @@
...
@@ -50,7 +51,6 @@
#include "avcodec.h"
#include "avcodec.h"
#include "va.h"
#include "va.h"
#include "../../video_chroma/copy.h"
#include "../../video_chroma/copy.h"
#include "../../demux/asf/libasf_guid.h"
static
int
Open
(
vlc_va_t
*
,
AVCodecContext
*
,
const
es_format_t
*
);
static
int
Open
(
vlc_va_t
*
,
AVCodecContext
*
,
const
es_format_t
*
);
static
void
Close
(
vlc_va_t
*
,
AVCodecContext
*
);
static
void
Close
(
vlc_va_t
*
,
AVCodecContext
*
);
...
...
modules/demux/asf/libasf_guid.h
View file @
fa8af20d
...
@@ -28,14 +28,6 @@
...
@@ -28,14 +28,6 @@
/*****************************************************************************
/*****************************************************************************
* Structure needed for decoder
* Structure needed for decoder
*****************************************************************************/
*****************************************************************************/
#define GUID_FMT "0x%x-0x%x-0x%x-0x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x%2.2x"
#define GUID_PRINT( guid ) \
(unsigned)(guid).Data1, \
(guid).Data2, \
(guid).Data3, \
(guid).Data4[0],(guid).Data4[1],(guid).Data4[2],(guid).Data4[3], \
(guid).Data4[4],(guid).Data4[5],(guid).Data4[6],(guid).Data4[7]
enum
enum
{
{
ASF_OBJECT_NULL
=
0
,
ASF_OBJECT_NULL
=
0
,
...
...
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