OLD | NEW |
1 /* | 1 /* |
2 * H26L/H264/AVC/JVT/14496-10/... encoder/decoder | 2 * H26L/H264/AVC/JVT/14496-10/... encoder/decoder |
3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> | 3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 }; | 190 }; |
191 | 191 |
192 static const PMbInfo p_sub_mb_type_info[4]={ | 192 static const PMbInfo p_sub_mb_type_info[4]={ |
193 {MB_TYPE_16x16|MB_TYPE_P0L0 , 1}, | 193 {MB_TYPE_16x16|MB_TYPE_P0L0 , 1}, |
194 {MB_TYPE_16x8 |MB_TYPE_P0L0 , 2}, | 194 {MB_TYPE_16x8 |MB_TYPE_P0L0 , 2}, |
195 {MB_TYPE_8x16 |MB_TYPE_P0L0 , 2}, | 195 {MB_TYPE_8x16 |MB_TYPE_P0L0 , 2}, |
196 {MB_TYPE_8x8 |MB_TYPE_P0L0 , 4}, | 196 {MB_TYPE_8x8 |MB_TYPE_P0L0 , 4}, |
197 }; | 197 }; |
198 | 198 |
199 static const PMbInfo b_mb_type_info[23]={ | 199 static const PMbInfo b_mb_type_info[23]={ |
200 {MB_TYPE_DIRECT2 , 1, }, | 200 {MB_TYPE_DIRECT2|MB_TYPE_L0L1 , 1, }, |
201 {MB_TYPE_16x16|MB_TYPE_P0L0 , 1, }, | 201 {MB_TYPE_16x16|MB_TYPE_P0L0 , 1, }, |
202 {MB_TYPE_16x16 |MB_TYPE_P0L1 , 1, }, | 202 {MB_TYPE_16x16 |MB_TYPE_P0L1 , 1, }, |
203 {MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1 , 1, }, | 203 {MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1 , 1, }, |
204 {MB_TYPE_16x8 |MB_TYPE_P0L0 |MB_TYPE_P1L0 , 2, }, | 204 {MB_TYPE_16x8 |MB_TYPE_P0L0 |MB_TYPE_P1L0 , 2, }, |
205 {MB_TYPE_8x16 |MB_TYPE_P0L0 |MB_TYPE_P1L0 , 2, }, | 205 {MB_TYPE_8x16 |MB_TYPE_P0L0 |MB_TYPE_P1L0 , 2, }, |
206 {MB_TYPE_16x8 |MB_TYPE_P0L1 |MB_TYPE_P1L1, 2, }, | 206 {MB_TYPE_16x8 |MB_TYPE_P0L1 |MB_TYPE_P1L1, 2, }, |
207 {MB_TYPE_8x16 |MB_TYPE_P0L1 |MB_TYPE_P1L1, 2, }, | 207 {MB_TYPE_8x16 |MB_TYPE_P0L1 |MB_TYPE_P1L1, 2, }, |
208 {MB_TYPE_16x8 |MB_TYPE_P0L0 |MB_TYPE_P1L1, 2, }, | 208 {MB_TYPE_16x8 |MB_TYPE_P0L0 |MB_TYPE_P1L1, 2, }, |
209 {MB_TYPE_8x16 |MB_TYPE_P0L0 |MB_TYPE_P1L1, 2, }, | 209 {MB_TYPE_8x16 |MB_TYPE_P0L0 |MB_TYPE_P1L1, 2, }, |
210 {MB_TYPE_16x8 |MB_TYPE_P0L1|MB_TYPE_P1L0 , 2, }, | 210 {MB_TYPE_16x8 |MB_TYPE_P0L1|MB_TYPE_P1L0 , 2, }, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 static const uint8_t dequant8_coeff_init[6][6]={ | 253 static const uint8_t dequant8_coeff_init[6][6]={ |
254 {20,18,32,19,25,24}, | 254 {20,18,32,19,25,24}, |
255 {22,19,35,21,28,26}, | 255 {22,19,35,21,28,26}, |
256 {26,23,42,24,33,31}, | 256 {26,23,42,24,33,31}, |
257 {28,25,45,26,35,33}, | 257 {28,25,45,26,35,33}, |
258 {32,28,51,30,40,38}, | 258 {32,28,51,30,40,38}, |
259 {36,32,58,34,46,43}, | 259 {36,32,58,34,46,43}, |
260 }; | 260 }; |
261 | 261 |
262 #endif /* AVCODEC_H264DATA_H */ | 262 #endif /* AVCODEC_H264DATA_H */ |
OLD | NEW |