Mercurial > libavcodec.hg
comparison h264_parser.c @ 8522:f8c091bb5779 libavcodec
Add VDPAU hardware accelerated decoding for H264 which can be used by
video players.
Original patch by NVIDIA corporation.
author | cehoyos |
---|---|
date | Sun, 04 Jan 2009 23:55:27 +0000 |
parents | 7c82ed8d4824 |
children | 7a463923ecd1 |
comparison
equal
deleted
inserted
replaced
8521:42179b2cfd09 | 8522:f8c091bb5779 |
---|---|
159 av_free(pc->buffer); | 159 av_free(pc->buffer); |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 AVCodecParser h264_parser = { | 163 AVCodecParser h264_parser = { |
164 { CODEC_ID_H264 }, | 164 { CODEC_ID_H264, |
165 CODEC_ID_H264_VDPAU }, | |
165 sizeof(H264Context), | 166 sizeof(H264Context), |
166 NULL, | 167 NULL, |
167 h264_parse, | 168 h264_parse, |
168 close, | 169 close, |
169 h264_split, | 170 h264_split, |