annotate raw.h @ 5479:943c732c905d libavcodec

use dsputil for float to signed 16-bit sample conversion
author jbr
date Sat, 04 Aug 2007 20:59:22 +0000
parents 810df021dbef
children 1d83e9c34641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5264
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
1 /*
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
2 * Raw Video Codec
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
3 * Copyright (c) 2001 Fabrice Bellard.
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
4 *
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
5 * This file is part of FFmpeg.
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
6 *
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
11 *
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
15 * Lesser General Public License for more details.
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
16 *
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
20 */
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
21
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
22 /**
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
23 * @file raw.h
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
24 * Raw Video Codec
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
25 */
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
26
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
27 #ifndef AVCODEC_RAW_H
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
28 #define AVCODEC_RAW_H
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
29
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
30 #include "avcodec.h"
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
31
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
32 typedef struct PixelFormatTag {
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
33 int pix_fmt;
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
34 unsigned int fourcc;
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
35 } PixelFormatTag;
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
36
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
37 extern const PixelFormatTag ff_raw_pixelFormatTags[];
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
38
810df021dbef split rawvideo encoder and decoder in their own files
aurel
parents:
diff changeset
39 #endif /* AVCODEC_RAW_H */