OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005 Ole André Vadla Ravnås <oleavr@gmail.com> | 2 * Copyright (C) 2005 Ole André Vadla Ravnås <oleavr@gmail.com> |
3 * Copyright (C) 2008 Ramiro Polla <ramiro@lisha.ufsc.br> | 3 * Copyright (C) 2008 Ramiro Polla <ramiro@lisha.ufsc.br> |
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 28 matching lines...) Expand all Loading... |
39 | 39 |
40 void *swap_buf; | 40 void *swap_buf; |
41 int swap_buf_size; | 41 int swap_buf_size; |
42 | 42 |
43 int cur_index; | 43 int cur_index; |
44 int prev_index; | 44 int prev_index; |
45 | 45 |
46 AVFrame buf_ptrs [16]; | 46 AVFrame buf_ptrs [16]; |
47 AVPicture flipped_ptrs[16]; | 47 AVPicture flipped_ptrs[16]; |
48 | 48 |
49 DECLARE_ALIGNED_16(DCTELEM, dct_block)[64]; | 49 DECLARE_ALIGNED(16, DCTELEM, dct_block)[64]; |
50 | 50 |
51 GetBitContext gb; | 51 GetBitContext gb; |
52 ScanTable scantable; | 52 ScanTable scantable; |
53 DSPContext dsp; | 53 DSPContext dsp; |
54 VLC vlc; | 54 VLC vlc; |
55 | 55 |
56 /* Kept in the context so multithreading can have a constant to read from */ | 56 /* Kept in the context so multithreading can have a constant to read from */ |
57 int next_cur_index; | 57 int next_cur_index; |
58 int next_prev_index; | 58 int next_prev_index; |
59 } MimicContext; | 59 } MimicContext; |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 CODEC_ID_MIMIC, | 421 CODEC_ID_MIMIC, |
422 sizeof(MimicContext), | 422 sizeof(MimicContext), |
423 mimic_decode_init, | 423 mimic_decode_init, |
424 NULL, | 424 NULL, |
425 mimic_decode_end, | 425 mimic_decode_end, |
426 mimic_decode_frame, | 426 mimic_decode_frame, |
427 CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | 427 CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, |
428 .long_name = NULL_IF_CONFIG_SMALL("Mimic"), | 428 .long_name = NULL_IF_CONFIG_SMALL("Mimic"), |
429 .update_thread_context = ONLY_IF_THREADS_ENABLED(mimic_decode_update_thread_
context) | 429 .update_thread_context = ONLY_IF_THREADS_ENABLED(mimic_decode_update_thread_
context) |
430 }; | 430 }; |
OLD | NEW |