|
FFmpeg
|
This file contains functions and data shared by both Indeo4 and Indeo5 decoders. More...
#include <inttypes.h>#include "libavutil/attributes.h"#include "libavutil/imgutils.h"#include "libavutil/timer.h"#include "avcodec.h"#include "get_bits.h"#include "internal.h"#include "mathops.h"#include "ivi.h"#include "ivi_dsp.h"Functions | |
| av_cold void | ff_ivi_init_static_vlc (void) |
| Initialize static codes used for macroblock and block decoding. | |
| int | ff_ivi_dec_huff_desc (GetBitContext *gb, int desc_coded, int which_tab, IVIHuffTab *huff_tab, AVCodecContext *avctx) |
| Decode a huffman codebook descriptor from the bitstream and select specified huffman table. More... | |
| av_cold int | ff_ivi_init_planes (AVCodecContext *avctx, IVIPlaneDesc *planes, const IVIPicConfig *cfg, int is_indeo4) |
| Initialize planes (prepares descriptors, allocates buffers etc). More... | |
| av_cold int | ff_ivi_init_tiles (IVIPlaneDesc *planes, int tile_width, int tile_height) |
| Initialize tile and macroblock descriptors. More... | |
| int | ff_ivi_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
| av_cold int | ff_ivi_decode_close (AVCodecContext *avctx) |
| Close Indeo5 decoder and clean up its context. | |
Variables | |
| const uint8_t | ff_ivi_vertical_scan_8x8 [64] |
| Scan patterns shared between indeo4 and indeo5. More... | |
| const uint8_t | ff_ivi_horizontal_scan_8x8 [64] |
| const uint8_t | ff_ivi_direct_scan_4x4 [16] |
| const RVMapDesc | ff_ivi_rvmap_tabs [9] |
| Run-value (RLE) tables. | |
This file contains functions and data shared by both Indeo4 and Indeo5 decoders.
| int ff_ivi_dec_huff_desc | ( | GetBitContext * | gb, |
| int | desc_coded, | ||
| int | which_tab, | ||
| IVIHuffTab * | huff_tab, | ||
| AVCodecContext * | avctx | ||
| ) |
Decode a huffman codebook descriptor from the bitstream and select specified huffman table.
| [in,out] | gb | the GetBit context |
| [in] | desc_coded | flag signalling if table descriptor was coded |
| [in] | which_tab | codebook purpose (IVI_MB_HUFF or IVI_BLK_HUFF) |
| [out] | huff_tab | pointer to the descriptor of the selected table |
| [in] | avctx | AVCodecContext pointer |
| av_cold int ff_ivi_init_planes | ( | AVCodecContext * | avctx, |
| IVIPlaneDesc * | planes, | ||
| const IVIPicConfig * | cfg, | ||
| int | is_indeo4 | ||
| ) |
Initialize planes (prepares descriptors, allocates buffers etc).
| [in,out] | planes | pointer to the array of the plane descriptors |
| [in] | cfg | pointer to the ivi_pic_config structure describing picture layout |
| [in] | is_indeo4 | flag signalling if it is Indeo 4 or not |
| av_cold int ff_ivi_init_tiles | ( | IVIPlaneDesc * | planes, |
| int | tile_width, | ||
| int | tile_height | ||
| ) |
Initialize tile and macroblock descriptors.
| [in,out] | planes | pointer to the array of the plane descriptors |
| [in] | tile_width | tile width |
| [in] | tile_height | tile height |
| const uint8_t ff_ivi_direct_scan_4x4[16] |
| const uint8_t ff_ivi_horizontal_scan_8x8[64] |
| const uint8_t ff_ivi_vertical_scan_8x8[64] |
Scan patterns shared between indeo4 and indeo5.
Common scan patterns (defined in ivi_common.c)
1.8.12