| OLD | NEW |
| 1 /* | 1 /* |
| 2 * RV30/40 decoder common data declarations | 2 * RV30/40 decoder common data declarations |
| 3 * Copyright (c) 2007 Mike Melanson, Konstantin Shishkov | 3 * Copyright (c) 2007 Mike Melanson, Konstantin Shishkov |
| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 int rv30; ///< indicates which RV variasnt is currently decod
ed | 104 int rv30; ///< indicates which RV variasnt is currently decod
ed |
| 105 int rpr; ///< one field size in RV30 slice header | 105 int rpr; ///< one field size in RV30 slice header |
| 106 | 106 |
| 107 int cur_pts, last_pts, next_pts; | 107 int cur_pts, last_pts, next_pts; |
| 108 | 108 |
| 109 uint16_t *cbp_luma; ///< CBP values for luma subblocks | 109 uint16_t *cbp_luma; ///< CBP values for luma subblocks |
| 110 uint8_t *cbp_chroma; ///< CBP values for chroma subblocks | 110 uint8_t *cbp_chroma; ///< CBP values for chroma subblocks |
| 111 int *deblock_coefs; ///< deblock coefficients for each macroblock | 111 int *deblock_coefs; ///< deblock coefficients for each macroblock |
| 112 | 112 |
| 113 /** 8x8 block available flags (for MV prediction) */ | 113 /** 8x8 block available flags (for MV prediction) */ |
| 114 DECLARE_ALIGNED_8(uint32_t, avail_cache)[3*4]; | 114 DECLARE_ALIGNED(8, uint32_t, avail_cache)[3*4]; |
| 115 | 115 |
| 116 int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, Slice
Info *si); | 116 int (*parse_slice_header)(struct RV34DecContext *r, GetBitContext *gb, Slice
Info *si); |
| 117 int (*decode_mb_info)(struct RV34DecContext *r); | 117 int (*decode_mb_info)(struct RV34DecContext *r); |
| 118 int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_
t *dst); | 118 int (*decode_intra_types)(struct RV34DecContext *r, GetBitContext *gb, int8_
t *dst); |
| 119 void (*loop_filter)(struct RV34DecContext *r, int row); | 119 void (*loop_filter)(struct RV34DecContext *r, int row); |
| 120 }RV34DecContext; | 120 }RV34DecContext; |
| 121 | 121 |
| 122 /** | 122 /** |
| 123 * common decoding functions | 123 * common decoding functions |
| 124 */ | 124 */ |
| 125 int ff_rv34_get_start_offset(GetBitContext *gb, int blocks); | 125 int ff_rv34_get_start_offset(GetBitContext *gb, int blocks); |
| 126 int ff_rv34_decode_init(AVCodecContext *avctx); | 126 int ff_rv34_decode_init(AVCodecContext *avctx); |
| 127 int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPa
cket *avpkt); | 127 int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPa
cket *avpkt); |
| 128 int ff_rv34_decode_end(AVCodecContext *avctx); | 128 int ff_rv34_decode_end(AVCodecContext *avctx); |
| 129 | 129 |
| 130 #endif /* AVCODEC_RV34_H */ | 130 #endif /* AVCODEC_RV34_H */ |
| OLD | NEW |