MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / av_parser_parse

Function av_parser_parse

libavcodec/parser.c:134–141  ·  view source on GitHub ↗

* * @param buf input * @param buf_size input length, to signal EOF, this should be 0 (so that the last frame can be output) * @param pts input presentation timestamp * @param dts input decoding timestamp * @param poutbuf will contain a pointer to the first byte of the output frame * @param poutbuf_size will contain the length of the output frame * @

Source from the content-addressed store, hash-verified

132 * @deprecated Use av_parser_parse2() instead.
133 */
134int av_parser_parse(AVCodecParserContext *s,
135 AVCodecContext *avctx,
136 uint8_t **poutbuf, int *poutbuf_size,
137 const uint8_t *buf, int buf_size,
138 int64_t pts, int64_t dts)
139{
140 return av_parser_parse2(s, avctx, poutbuf, poutbuf_size, buf, buf_size, pts, dts, AV_NOPTS_VALUE);
141}
142
143int av_parser_parse2(AVCodecParserContext *s,
144 AVCodecContext *avctx,

Callers

nothing calls this directly

Calls 1

av_parser_parse2Function · 0.85

Tested by

no test coverage detected