Mercurial > libavcodec.hg
comparison libtheoraenc.c @ 11643:92236ee7be0f libavcodec
cosmetics: Switch Doxygen comments to JavaDoc style.
author | diego |
---|---|
date | Tue, 20 Apr 2010 14:23:00 +0000 |
parents | 8a4984c5cacc |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11642:52bc4e605761 | 11643:92236ee7be0f |
---|---|
16 * You should have received a copy of the GNU Lesser General Public | 16 * You should have received a copy of the GNU Lesser General Public |
17 * License along with FFmpeg; if not, write to the Free Software | 17 * License along with FFmpeg; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 /*! | 21 /** |
22 * \file libtheoraenc.c | 22 * @file libtheoraenc.c |
23 * \brief Theora encoder using libtheora. | 23 * @brief Theora encoder using libtheora. |
24 * \author Paul Richards <paul.richards@gmail.com> | 24 * @author Paul Richards <paul.richards@gmail.com> |
25 * | 25 * |
26 * A lot of this is copy / paste from other output codecs in | 26 * A lot of this is copy / paste from other output codecs in |
27 * libavcodec or pure guesswork (or both). | 27 * libavcodec or pure guesswork (or both). |
28 * | 28 * |
29 * I have used t_ prefixes on variables which are libtheora types | 29 * I have used t_ prefixes on variables which are libtheora types |
47 int uv_hshift; | 47 int uv_hshift; |
48 int uv_vshift; | 48 int uv_vshift; |
49 int keyframe_mask; | 49 int keyframe_mask; |
50 } TheoraContext; | 50 } TheoraContext; |
51 | 51 |
52 /*! | 52 /** Concatenates an ogg_packet into the extradata. */ |
53 Concatenates an ogg_packet into the extradata. | |
54 */ | |
55 static int concatenate_packet(unsigned int* offset, | 53 static int concatenate_packet(unsigned int* offset, |
56 AVCodecContext* avc_context, | 54 AVCodecContext* avc_context, |
57 const ogg_packet* packet) | 55 const ogg_packet* packet) |
58 { | 56 { |
59 const char* message = NULL; | 57 const char* message = NULL; |
356 avc_context->extradata_size = 0; | 354 avc_context->extradata_size = 0; |
357 | 355 |
358 return 0; | 356 return 0; |
359 } | 357 } |
360 | 358 |
361 /*! AVCodec struct exposed to libavcodec */ | 359 /** AVCodec struct exposed to libavcodec */ |
362 AVCodec libtheora_encoder = { | 360 AVCodec libtheora_encoder = { |
363 .name = "libtheora", | 361 .name = "libtheora", |
364 .type = AVMEDIA_TYPE_VIDEO, | 362 .type = AVMEDIA_TYPE_VIDEO, |
365 .id = CODEC_ID_THEORA, | 363 .id = CODEC_ID_THEORA, |
366 .priv_data_size = sizeof(TheoraContext), | 364 .priv_data_size = sizeof(TheoraContext), |