#include "parser.h"
#include "h264_parser.h"
#include "h264data.h"
#include "golomb.h"
#include <assert.h>
Go to the source code of this file.
Functions | |
| int | ff_h264_find_frame_end (H264Context *h, const uint8_t *buf, int buf_size) | 
| finds the end of the current frame in the bitstream.   | |
| static int | parse_nal_units (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static int | h264_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) | 
| static int | h264_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static void | close (AVCodecParserContext *s) | 
Variables | |
| AVCodecParser | h264_parser | 
Definition in file h264_parser.c.
| static void close | ( | AVCodecParserContext * | s | ) |  [static] | 
        
Definition at line 303 of file h264_parser.c.
Referenced by audio_close(), audio_open(), build_feed_streams(), close_connection(), device_open(), dv1394_close(), dv1394_read_header(), ff_xvid_encode_init(), ff_xvid_rate_control_init(), file_close(), grab_read_close(), grab_read_header(), http_receive_data(), main(), Process(), rwpipe_open(), start_children(), v4l2_read_close(), and v4l2_read_header().
| int ff_h264_find_frame_end | ( | H264Context * | h, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | 
finds the end of the current frame in the bitstream.
Definition at line 36 of file h264_parser.c.
Referenced by h264_parse().
| static int h264_parse | ( | AVCodecParserContext * | s, | |
| AVCodecContext * | avctx, | |||
| const uint8_t ** | poutbuf, | |||
| int * | poutbuf_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |  [static] | 
        
Definition at line 236 of file h264_parser.c.
| static int h264_split | ( | AVCodecContext * | avctx, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |  [static] | 
        
Definition at line 279 of file h264_parser.c.
| static int parse_nal_units | ( | AVCodecParserContext * | s, | |
| AVCodecContext * | avctx, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) |  [inline, static] | 
        
Parse NAL units of found picture and decode some basic information.
| s | parser context. | |
| avctx | codec context. | |
| buf | buffer with field/frame data. | |
| buf_size | size of the buffer. | 
Definition at line 109 of file h264_parser.c.
Referenced by h264_parse().
Initial value:
 {
    { CODEC_ID_H264 },
    sizeof(H264Context),
    NULL,
    h264_parse,
    close,
    h264_split,
}
Definition at line 312 of file h264_parser.c.
 1.5.8