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
8b221d3b
Commit
8b221d3b
authored
Sep 27, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
va: remove unused parameter
parent
a81d19fd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
11 deletions
+9
-11
modules/codec/avcodec/d3d11va.c
modules/codec/avcodec/d3d11va.c
+1
-1
modules/codec/avcodec/dxva2.c
modules/codec/avcodec/dxva2.c
+1
-1
modules/codec/avcodec/va.h
modules/codec/avcodec/va.h
+2
-4
modules/codec/avcodec/vaapi.c
modules/codec/avcodec/vaapi.c
+1
-1
modules/codec/avcodec/vda.c
modules/codec/avcodec/vda.c
+2
-2
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+1
-1
modules/hw/vdpau/avcodec.c
modules/hw/vdpau/avcodec.c
+1
-1
No files found.
modules/codec/avcodec/d3d11va.c
View file @
8b221d3b
...
@@ -144,7 +144,7 @@ static void SetupAVCodecContext(vlc_va_t *);
...
@@ -144,7 +144,7 @@ static void SetupAVCodecContext(vlc_va_t *);
static
picture_t
*
DxAllocPicture
(
vlc_va_t
*
,
const
video_format_t
*
,
unsigned
index
);
static
picture_t
*
DxAllocPicture
(
vlc_va_t
*
,
const
video_format_t
*
,
unsigned
index
);
/* */
/* */
static
int
Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
vlc_fourcc_t
*
chroma
)
static
int
Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
chroma
)
{
{
vlc_va_sys_t
*
sys
=
va
->
sys
;
vlc_va_sys_t
*
sys
=
va
->
sys
;
...
...
modules/codec/avcodec/dxva2.c
View file @
8b221d3b
...
@@ -204,7 +204,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, const es_format_t *p_fmt_in
...
@@ -204,7 +204,7 @@ static filter_t *CreateFilter( vlc_object_t *p_this, const es_format_t *p_fmt_in
}
}
/* */
/* */
static
int
Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
vlc_fourcc_t
*
chroma
)
static
int
Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
chroma
)
{
{
vlc_va_sys_t
*
sys
=
va
->
sys
;
vlc_va_sys_t
*
sys
=
va
->
sys
;
...
...
modules/codec/avcodec/va.h
View file @
8b221d3b
...
@@ -36,7 +36,7 @@ struct vlc_va_t {
...
@@ -36,7 +36,7 @@ struct vlc_va_t {
module_t
*
module
;
module_t
*
module
;
const
char
*
description
;
const
char
*
description
;
int
(
*
setup
)(
vlc_va_t
*
,
AVCodecContext
*
,
vlc_fourcc_t
*
output
);
int
(
*
setup
)(
vlc_va_t
*
,
vlc_fourcc_t
*
output
);
int
(
*
get
)(
vlc_va_t
*
,
picture_t
*
pic
,
uint8_t
**
data
);
int
(
*
get
)(
vlc_va_t
*
,
picture_t
*
pic
,
uint8_t
**
data
);
void
(
*
release
)(
void
*
pic
,
uint8_t
*
surface
);
void
(
*
release
)(
void
*
pic
,
uint8_t
*
surface
);
int
(
*
extract
)(
vlc_va_t
*
,
picture_t
*
pic
,
uint8_t
*
data
);
int
(
*
extract
)(
vlc_va_t
*
,
picture_t
*
pic
,
uint8_t
*
data
);
...
@@ -63,12 +63,10 @@ vlc_va_t *vlc_va_New(vlc_object_t *obj, AVCodecContext *,
...
@@ -63,12 +63,10 @@ vlc_va_t *vlc_va_New(vlc_object_t *obj, AVCodecContext *,
/**
/**
* Initializes the acceleration video decoding back-end for libavcodec.
* Initializes the acceleration video decoding back-end for libavcodec.
* @param avctx libavcodec codec context
* @param output pointer to video chroma output by the back-end [OUT]
* @param output pointer to video chroma output by the back-end [OUT]
* @return VLC_SUCCESS on success, otherwise an error code.
* @return VLC_SUCCESS on success, otherwise an error code.
*/
*/
static
inline
int
vlc_va_Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
static
inline
int
vlc_va_Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
output
)
vlc_fourcc_t
*
output
)
{
{
return
va
->
setup
(
va
,
avctx
,
output
);
return
va
->
setup
(
va
,
avctx
,
output
);
}
}
...
...
modules/codec/avcodec/vaapi.c
View file @
8b221d3b
...
@@ -187,7 +187,7 @@ static void Release( void *opaque, uint8_t *data )
...
@@ -187,7 +187,7 @@ static void Release( void *opaque, uint8_t *data )
(
void
)
data
;
(
void
)
data
;
}
}
static
int
Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
vlc_fourcc_t
*
pi_chroma
)
static
int
Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
pi_chroma
)
{
{
*
pi_chroma
=
VLC_CODEC_YV12
;
*
pi_chroma
=
VLC_CODEC_YV12
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
...
...
modules/codec/avcodec/vda.c
View file @
8b221d3b
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
static
int
Open
(
vlc_va_t
*
,
AVCodecContext
*
,
enum
PixelFormat
,
static
int
Open
(
vlc_va_t
*
,
AVCodecContext
*
,
enum
PixelFormat
,
const
es_format_t
*
,
picture_sys_t
*
);
const
es_format_t
*
,
picture_sys_t
*
);
static
void
Close
(
vlc_va_t
*
,
AVCodecContext
*
);
static
void
Close
(
vlc_va_t
*
,
AVCodecContext
*
);
static
int
Setup
(
vlc_va_t
*
,
AVCodecContext
*
,
vlc_fourcc_t
*
);
static
int
Setup
(
vlc_va_t
*
,
vlc_fourcc_t
*
);
static
int
Get
(
vlc_va_t
*
,
picture_t
*
,
uint8_t
**
);
static
int
Get
(
vlc_va_t
*
,
picture_t
*
,
uint8_t
**
);
static
int
Extract
(
vlc_va_t
*
,
picture_t
*
,
uint8_t
*
);
static
int
Extract
(
vlc_va_t
*
,
picture_t
*
,
uint8_t
*
);
static
void
Release
(
void
*
opaque
,
uint8_t
*
data
);
static
void
Release
(
void
*
opaque
,
uint8_t
*
data
);
...
@@ -174,7 +174,7 @@ static void Close( vlc_va_t *va, AVCodecContext *avctx )
...
@@ -174,7 +174,7 @@ static void Close( vlc_va_t *va, AVCodecContext *avctx )
(
void
)
va
;
(
void
)
va
;
}
}
static
int
Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
vlc_fourcc_t
*
pi_chroma
)
static
int
Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
pi_chroma
)
{
{
*
pi_chroma
=
VLC_CODEC_I420
;
*
pi_chroma
=
VLC_CODEC_I420
;
...
...
modules/codec/avcodec/video.c
View file @
8b221d3b
...
@@ -1134,7 +1134,7 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
...
@@ -1134,7 +1134,7 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
if
(
va
==
NULL
)
if
(
va
==
NULL
)
continue
;
/* Unsupported codec profile or such */
continue
;
/* Unsupported codec profile or such */
if
(
vlc_va_Setup
(
va
,
p_context
,
&
p_dec
->
fmt_out
.
video
.
i_chroma
))
if
(
vlc_va_Setup
(
va
,
&
p_dec
->
fmt_out
.
video
.
i_chroma
))
{
{
msg_Err
(
p_dec
,
"acceleration setup failure"
);
msg_Err
(
p_dec
,
"acceleration setup failure"
);
vlc_va_Delete
(
va
,
p_context
);
vlc_va_Delete
(
va
,
p_context
);
...
...
modules/hw/vdpau/avcodec.c
View file @
8b221d3b
...
@@ -140,7 +140,7 @@ static int Copy(vlc_va_t *va, picture_t *pic, uint8_t *data)
...
@@ -140,7 +140,7 @@ static int Copy(vlc_va_t *va, picture_t *pic, uint8_t *data)
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
static
int
Setup
(
vlc_va_t
*
va
,
AVCodecContext
*
avctx
,
vlc_fourcc_t
*
chromap
)
static
int
Setup
(
vlc_va_t
*
va
,
vlc_fourcc_t
*
chromap
)
{
{
vlc_va_sys_t
*
sys
=
va
->
sys
;
vlc_va_sys_t
*
sys
=
va
->
sys
;
...
...
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