OLD | NEW |
1 /* | 1 /* |
2 * VC3/DNxHD encoder structure definitions and prototypes | 2 * VC3/DNxHD encoder structure definitions and prototypes |
3 * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot
com> | 3 * Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot
com> |
4 * | 4 * |
5 * VC-3 encoder funded by the British Broadcasting Corporation | 5 * VC-3 encoder funded by the British Broadcasting Corporation |
6 * | 6 * |
7 * This file is part of FFmpeg. | 7 * This file is part of FFmpeg. |
8 * | 8 * |
9 * FFmpeg is free software; you can redistribute it and/or | 9 * FFmpeg is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Lesser General Public | 10 * modify it under the terms of the GNU Lesser General Public |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 uint32_t *slice_size; | 48 uint32_t *slice_size; |
49 uint32_t *slice_offs; | 49 uint32_t *slice_offs; |
50 | 50 |
51 struct DNXHDEncContext *thread[MAX_THREADS]; | 51 struct DNXHDEncContext *thread[MAX_THREADS]; |
52 | 52 |
53 unsigned dct_y_offset; | 53 unsigned dct_y_offset; |
54 unsigned dct_uv_offset; | 54 unsigned dct_uv_offset; |
55 int interlaced; | 55 int interlaced; |
56 int cur_field; | 56 int cur_field; |
57 | 57 |
58 DECLARE_ALIGNED_16(DCTELEM, blocks)[8][64]; | 58 DECLARE_ALIGNED(16, DCTELEM, blocks)[8][64]; |
59 | 59 |
60 int (*qmatrix_c) [64]; | 60 int (*qmatrix_c) [64]; |
61 int (*qmatrix_l) [64]; | 61 int (*qmatrix_l) [64]; |
62 uint16_t (*qmatrix_l16)[2][64]; | 62 uint16_t (*qmatrix_l16)[2][64]; |
63 uint16_t (*qmatrix_c16)[2][64]; | 63 uint16_t (*qmatrix_c16)[2][64]; |
64 | 64 |
65 unsigned frame_bits; | 65 unsigned frame_bits; |
66 uint8_t *src[3]; | 66 uint8_t *src[3]; |
67 | 67 |
68 uint32_t *vlc_codes; | 68 uint32_t *vlc_codes; |
(...skipping 13 matching lines...) Expand all Loading... |
82 | 82 |
83 RCCMPEntry *mb_cmp; | 83 RCCMPEntry *mb_cmp; |
84 RCEntry (*mb_rc)[8160]; | 84 RCEntry (*mb_rc)[8160]; |
85 | 85 |
86 void (*get_pixels_8x4_sym)(DCTELEM */*align 16*/, const uint8_t *, int); | 86 void (*get_pixels_8x4_sym)(DCTELEM */*align 16*/, const uint8_t *, int); |
87 } DNXHDEncContext; | 87 } DNXHDEncContext; |
88 | 88 |
89 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx); | 89 void ff_dnxhd_init_mmx(DNXHDEncContext *ctx); |
90 | 90 |
91 #endif /* AVCODEC_DNXHDENC_H */ | 91 #endif /* AVCODEC_DNXHDENC_H */ |
OLD | NEW |