Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9ba27c23
Commit
9ba27c23
authored
Mar 13, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsvdec: add 'decode' to the non-static function names
parent
d0a63d8b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
qsvdec.c
libavcodec/qsvdec.c
+2
-2
qsvdec.h
libavcodec/qsvdec.h
+2
-2
qsvdec_h264.c
libavcodec/qsvdec_h264.c
+2
-2
No files found.
libavcodec/qsvdec.c
View file @
9ba27c23
...
@@ -68,7 +68,7 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
...
@@ -68,7 +68,7 @@ static int qsv_init_session(AVCodecContext *avctx, QSVContext *q, mfxSession ses
return
0
;
return
0
;
}
}
int
ff_qsv_init
(
AVCodecContext
*
avctx
,
QSVContext
*
q
,
mfxSession
session
)
int
ff_qsv_
decode_
init
(
AVCodecContext
*
avctx
,
QSVContext
*
q
,
mfxSession
session
)
{
{
mfxVideoParam
param
=
{
{
0
}
};
mfxVideoParam
param
=
{
{
0
}
};
int
ret
;
int
ret
;
...
@@ -272,7 +272,7 @@ int ff_qsv_decode(AVCodecContext *avctx, QSVContext *q,
...
@@ -272,7 +272,7 @@ int ff_qsv_decode(AVCodecContext *avctx, QSVContext *q,
return
bs
.
DataOffset
;
return
bs
.
DataOffset
;
}
}
int
ff_qsv_close
(
QSVContext
*
q
)
int
ff_qsv_
decode_
close
(
QSVContext
*
q
)
{
{
QSVFrame
*
cur
=
q
->
work_frames
;
QSVFrame
*
cur
=
q
->
work_frames
;
...
...
libavcodec/qsvdec.h
View file @
9ba27c23
...
@@ -65,12 +65,12 @@ typedef struct QSVContext {
...
@@ -65,12 +65,12 @@ typedef struct QSVContext {
int
ff_qsv_map_pixfmt
(
enum
AVPixelFormat
format
);
int
ff_qsv_map_pixfmt
(
enum
AVPixelFormat
format
);
int
ff_qsv_init
(
AVCodecContext
*
s
,
QSVContext
*
q
,
mfxSession
session
);
int
ff_qsv_
decode_
init
(
AVCodecContext
*
s
,
QSVContext
*
q
,
mfxSession
session
);
int
ff_qsv_decode
(
AVCodecContext
*
s
,
QSVContext
*
q
,
int
ff_qsv_decode
(
AVCodecContext
*
s
,
QSVContext
*
q
,
AVFrame
*
frame
,
int
*
got_frame
,
AVFrame
*
frame
,
int
*
got_frame
,
AVPacket
*
avpkt
);
AVPacket
*
avpkt
);
int
ff_qsv_close
(
QSVContext
*
q
);
int
ff_qsv_
decode_
close
(
QSVContext
*
q
);
#endif
/* AVCODEC_QSVDEC_H */
#endif
/* AVCODEC_QSVDEC_H */
libavcodec/qsvdec_h264.c
View file @
9ba27c23
...
@@ -74,7 +74,7 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx)
...
@@ -74,7 +74,7 @@ static av_cold int qsv_decode_close(AVCodecContext *avctx)
{
{
QSVH264Context
*
s
=
avctx
->
priv_data
;
QSVH264Context
*
s
=
avctx
->
priv_data
;
ff_qsv_close
(
&
s
->
qsv
);
ff_qsv_
decode_
close
(
&
s
->
qsv
);
qsv_clear_buffers
(
s
);
qsv_clear_buffers
(
s
);
...
@@ -195,7 +195,7 @@ static int qsv_process_data(AVCodecContext *avctx, AVFrame *frame,
...
@@ -195,7 +195,7 @@ static int qsv_process_data(AVCodecContext *avctx, AVFrame *frame,
s
->
qsv
.
nb_ext_buffers
=
user_ctx
->
nb_ext_buffers
;
s
->
qsv
.
nb_ext_buffers
=
user_ctx
->
nb_ext_buffers
;
}
}
ret
=
ff_qsv_init
(
avctx
,
&
s
->
qsv
,
session
);
ret
=
ff_qsv_
decode_
init
(
avctx
,
&
s
->
qsv
,
session
);
if
(
ret
<
0
)
if
(
ret
<
0
)
goto
reinit_fail
;
goto
reinit_fail
;
}
}
...
...
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