annotate msrledec.h @ 12012:2d70a8b0ec8a libavcodec

Add missing mm_support call toff_h264_pred_init_x86. I'm not sure if this is supposed to be here, but it can't hurt.
author darkshikari
date Tue, 29 Jun 2010 12:28:06 +0000
parents c1ed557cd3b8
children fdafbcef52f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7885
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
1 /*
9684
c1ed557cd3b8 cosmetics: Fix some typos.
diego
parents: 7885
diff changeset
2 * Microsoft RLE decoder
7885
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
3 * Copyright (C) 2008 Konstantin Shishkov
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
4 *
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
5 * This file is part of FFmpeg.
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
6 *
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
11 *
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
15 * Lesser General Public License for more details.
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
16 *
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
20 */
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
21
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
22 #ifndef AVCODEC_MSRLEDEC_H
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
23 #define AVCODEC_MSRLEDEC_H
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
24
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
25 #include "avcodec.h"
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
26
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
27 /**
9684
c1ed557cd3b8 cosmetics: Fix some typos.
diego
parents: 7885
diff changeset
28 * Decodes stream in MS RLE format into frame.
7885
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
29 *
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
30 * @param avctx codec context
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
31 * @param pic destination frame
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
32 * @param depth bit depth
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
33 * @param data input stream
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
34 * @param data_size input size
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
35 */
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
36 int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
37 const uint8_t* data, int data_size);
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
38
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
39 #endif /* AVCODEC_MSRLEDEC_H */
f874e1d5cf07 Factorize out code used for MS RLE format decoding in different decoders.
kostya
parents:
diff changeset
40