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
090846f3
Commit
090846f3
authored
Jan 07, 2009
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename ff_VDPAU as ff_vdpau.
Originally committed as revision 16492 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6cc01c24
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
h264.c
libavcodec/h264.c
+3
-3
vdpau_internal.h
libavcodec/vdpau_internal.h
+2
-2
vdpauvideo.c
libavcodec/vdpauvideo.c
+4
-4
No files found.
libavcodec/h264.c
View file @
090846f3
...
...
@@ -7425,8 +7425,8 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
&&
avctx
->
skip_frame
<
AVDISCARD_ALL
){
if
(
ENABLE_H264_VDPAU_DECODER
&&
avctx
->
codec_id
==
CODEC_ID_H264_VDPAU
){
static
const
uint8_t
start_code
[]
=
{
0x00
,
0x00
,
0x01
};
ff_
VDPAU
_h264_add_data_chunk
(
h
,
start_code
,
sizeof
(
start_code
));
ff_
VDPAU
_h264_add_data_chunk
(
h
,
&
buf
[
buf_index
-
consumed
],
consumed
);
ff_
vdpau
_h264_add_data_chunk
(
h
,
start_code
,
sizeof
(
start_code
));
ff_
vdpau
_h264_add_data_chunk
(
h
,
&
buf
[
buf_index
-
consumed
],
consumed
);
}
else
context_count
++
;
}
...
...
@@ -7633,7 +7633,7 @@ static int decode_frame(AVCodecContext *avctx,
h
->
prev_frame_num
=
h
->
frame_num
;
if
(
ENABLE_H264_VDPAU_DECODER
&&
avctx
->
codec_id
==
CODEC_ID_H264_VDPAU
)
ff_
VDPAU
_h264_picture_complete
(
h
);
ff_
vdpau
_h264_picture_complete
(
h
);
/*
* FIXME: Error handling code does not seem to support interlaced
...
...
libavcodec/vdpau_internal.h
View file @
090846f3
...
...
@@ -27,8 +27,8 @@
#include <stdint.h>
#include "h264.h"
void
ff_
VDPAU
_h264_add_data_chunk
(
H264Context
*
h
,
const
uint8_t
*
buf
,
void
ff_
vdpau
_h264_add_data_chunk
(
H264Context
*
h
,
const
uint8_t
*
buf
,
int
buf_size
);
void
ff_
VDPAU
_h264_picture_complete
(
H264Context
*
h
);
void
ff_
vdpau
_h264_picture_complete
(
H264Context
*
h
);
#endif
/* AVCODEC_VDPAU_INTERNAL_H */
libavcodec/vdpauvideo.c
View file @
090846f3
...
...
@@ -37,7 +37,7 @@
* @{
*/
static
void
VDPAU
_h264_set_reference_frames
(
H264Context
*
h
)
static
void
vdpau
_h264_set_reference_frames
(
H264Context
*
h
)
{
MpegEncContext
*
s
=
&
h
->
s
;
struct
vdpau_render_state
*
render
,
*
render_ref
;
...
...
@@ -106,7 +106,7 @@ static void VDPAU_h264_set_reference_frames(H264Context *h)
}
}
void
ff_
VDPAU
_h264_add_data_chunk
(
H264Context
*
h
,
const
uint8_t
*
buf
,
int
buf_size
)
void
ff_
vdpau
_h264_add_data_chunk
(
H264Context
*
h
,
const
uint8_t
*
buf
,
int
buf_size
)
{
MpegEncContext
*
s
=
&
h
->
s
;
struct
vdpau_render_state
*
render
;
...
...
@@ -115,7 +115,7 @@ void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_si
assert
(
render
);
if
(
!
render
->
bitstream_buffers_used
)
VDPAU
_h264_set_reference_frames
(
h
);
vdpau
_h264_set_reference_frames
(
h
);
render
->
bitstream_buffers
=
av_fast_realloc
(
render
->
bitstream_buffers
,
...
...
@@ -129,7 +129,7 @@ void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_si
render
->
bitstream_buffers_used
++
;
}
void
ff_
VDPAU
_h264_picture_complete
(
H264Context
*
h
)
void
ff_
vdpau
_h264_picture_complete
(
H264Context
*
h
)
{
MpegEncContext
*
s
=
&
h
->
s
;
struct
vdpau_render_state
*
render
;
...
...
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