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
186980bf
Commit
186980bf
authored
Jan 08, 2012
by
Sebastien Zwickert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vda: cosmetic.
parent
e953b8b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
vda.h
libavcodec/vda.h
+4
-5
vda_internal.h
libavcodec/vda_internal.h
+1
-1
No files found.
libavcodec/vda.h
View file @
186980bf
...
@@ -61,7 +61,6 @@ typedef struct {
...
@@ -61,7 +61,6 @@ typedef struct {
* - decoding: Set/Unset by libavcodec.
* - decoding: Set/Unset by libavcodec.
*/
*/
struct
vda_frame
*
next_frame
;
struct
vda_frame
*
next_frame
;
}
vda_frame
;
}
vda_frame
;
/**
/**
...
@@ -152,18 +151,18 @@ struct vda_context {
...
@@ -152,18 +151,18 @@ struct vda_context {
int
ref_size
;
int
ref_size
;
};
};
/** Create
s
the video decoder. */
/** Create the video decoder. */
int
ff_vda_create_decoder
(
struct
vda_context
*
vda_ctx
,
int
ff_vda_create_decoder
(
struct
vda_context
*
vda_ctx
,
uint8_t
*
extradata
,
uint8_t
*
extradata
,
int
extradata_size
);
int
extradata_size
);
/** Destroy
s
the video decoder. */
/** Destroy the video decoder. */
int
ff_vda_destroy_decoder
(
struct
vda_context
*
vda_ctx
);
int
ff_vda_destroy_decoder
(
struct
vda_context
*
vda_ctx
);
/** Return
s
the top frame of the queue. */
/** Return the top frame of the queue. */
vda_frame
*
ff_vda_queue_pop
(
struct
vda_context
*
vda_ctx
);
vda_frame
*
ff_vda_queue_pop
(
struct
vda_context
*
vda_ctx
);
/** Release
s
the given frame. */
/** Release the given frame. */
void
ff_vda_release_vda_frame
(
vda_frame
*
frame
);
void
ff_vda_release_vda_frame
(
vda_frame
*
frame
);
#endif
/* AVCODEC_VDA_H */
#endif
/* AVCODEC_VDA_H */
libavcodec/vda_internal.h
View file @
186980bf
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
* @{
* @{
*/
*/
/** Send
a
frame data to the hardware decoder. */
/** Send frame data to the hardware decoder. */
int
ff_vda_decoder_decode
(
struct
vda_context
*
vda_ctx
,
int
ff_vda_decoder_decode
(
struct
vda_context
*
vda_ctx
,
uint8_t
*
bitstream
,
uint8_t
*
bitstream
,
int
bitstream_size
,
int
bitstream_size
,
...
...
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