Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
9a07c133
Commit
9a07c133
authored
Nov 02, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parser: Move Doxygen documentation to the header files
parent
85f67c48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
avcodec.h
libavcodec/avcodec.h
+4
-0
parser.c
libavcodec/parser.c
+0
-9
parser.h
libavcodec/parser.h
+5
-0
No files found.
libavcodec/avcodec.h
View file @
9a07c133
...
@@ -3890,6 +3890,10 @@ int av_parser_parse2(AVCodecParserContext *s,
...
@@ -3890,6 +3890,10 @@ int av_parser_parse2(AVCodecParserContext *s,
int64_t
pts
,
int64_t
dts
,
int64_t
pts
,
int64_t
dts
,
int64_t
pos
);
int64_t
pos
);
/**
* @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed
* @deprecated use AVBitstreamFilter
*/
int
av_parser_change
(
AVCodecParserContext
*
s
,
int
av_parser_change
(
AVCodecParserContext
*
s
,
AVCodecContext
*
avctx
,
AVCodecContext
*
avctx
,
uint8_t
**
poutbuf
,
int
*
poutbuf_size
,
uint8_t
**
poutbuf
,
int
*
poutbuf_size
,
...
...
libavcodec/parser.c
View file @
9a07c133
...
@@ -167,11 +167,6 @@ int av_parser_parse2(AVCodecParserContext *s,
...
@@ -167,11 +167,6 @@ int av_parser_parse2(AVCodecParserContext *s,
return
index
;
return
index
;
}
}
/**
*
* @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed
* @deprecated use AVBitstreamFilter
*/
int
av_parser_change
(
AVCodecParserContext
*
s
,
int
av_parser_change
(
AVCodecParserContext
*
s
,
AVCodecContext
*
avctx
,
AVCodecContext
*
avctx
,
uint8_t
**
poutbuf
,
int
*
poutbuf_size
,
uint8_t
**
poutbuf
,
int
*
poutbuf_size
,
...
@@ -217,10 +212,6 @@ void av_parser_close(AVCodecParserContext *s)
...
@@ -217,10 +212,6 @@ void av_parser_close(AVCodecParserContext *s)
/*****************************************************/
/*****************************************************/
/**
* Combine the (truncated) bitstream to a complete frame.
* @return -1 if no complete frame could be created, AVERROR(ENOMEM) if there was a memory allocation error
*/
int
ff_combine_frame
(
ParseContext
*
pc
,
int
next
,
const
uint8_t
**
buf
,
int
*
buf_size
)
int
ff_combine_frame
(
ParseContext
*
pc
,
int
next
,
const
uint8_t
**
buf
,
int
*
buf_size
)
{
{
if
(
pc
->
overread
){
if
(
pc
->
overread
){
...
...
libavcodec/parser.h
View file @
9a07c133
...
@@ -39,6 +39,11 @@ typedef struct ParseContext{
...
@@ -39,6 +39,11 @@ typedef struct ParseContext{
#define END_NOT_FOUND (-100)
#define END_NOT_FOUND (-100)
/**
* Combine the (truncated) bitstream to a complete frame.
* @return -1 if no complete frame could be created,
* AVERROR(ENOMEM) if there was a memory allocation error
*/
int
ff_combine_frame
(
ParseContext
*
pc
,
int
next
,
const
uint8_t
**
buf
,
int
*
buf_size
);
int
ff_combine_frame
(
ParseContext
*
pc
,
int
next
,
const
uint8_t
**
buf
,
int
*
buf_size
);
int
ff_mpeg4video_split
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
ff_mpeg4video_split
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
buf_size
);
int
buf_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