annotate raw.h @ 8130:c45366b01126 libavcodec

ARM: fix j_rev_dct_ARM This is a bugfix for ARMv4 assembly implementation of 'j_rev_dct' function. The problem was in the incorrect partially empty row detection. Even if the first two coefficients in the row were nonzero, it handled this just like the case with only the first nonzero coefficient. Now this function produces exactly the same output as the stripped down reference C version of 'j_rev_dct' (with the nested checks like 'if (d6) { if (d2) { ...' always evaluated as true, avoiding shortcut branches).
author mru
date Wed, 12 Nov 2008 20:23:36 +0000
parents 76f6a08c9fe6
children 04423b2f6e0b
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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
27 #ifndef AVCODEC_RAW_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
28 #define AVCODEC_RAW_H
5264
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 {
8023
76f6a08c9fe6 Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
cehoyos
parents: 7760
diff changeset
33 enum PixelFormat pix_fmt;
5264
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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
39 #endif /* AVCODEC_RAW_H */