Lines Matching defs:parser
176 AVCodecParserContext *parser = NULL;
330 // Try to initialize a parser for this codec, note, this may fail which just means we test without one
333 parser = av_parser_init(c->p.id);
429 av_parser_close(parser);
468 if (parser) {
469 int ret = av_parser_parse2(parser, parser_avctx, &avpkt->data, &avpkt->size,
483 avpkt->pts = parser->pts;
484 avpkt->dts = parser->dts;
485 avpkt->pos = parser->pos;
486 if ( parser->key_frame == 1 ||
487 (parser->key_frame == -1 && parser->pict_type == AV_PICTURE_TYPE_I))
571 av_parser_close(parser);