| FFmpeg
    | 
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "libavutil/qsort.h"#include "avcodec.h"#include "bytestream.h"#include "scpr.h"Go to the source code of this file.
| Functions | |
| static void | renew_table3 (uint32_t nsym, uint32_t *cntsum, uint16_t *freqs, uint16_t *freqs1, uint16_t *cnts, uint8_t *dectab) | 
| static void | reinit_tables3 (SCPRContext *s) | 
| static int | decode3 (GetByteContext *gb, RangeCoder *rc, uint32_t a, uint32_t b) | 
| static void | rescale (PixelModel3 *m, int *totfr) | 
| static int | add_symbol (PixelModel3 *m, int index, uint32_t symbol, int *totfr, int max) | 
| static int | decode_adaptive45 (PixelModel3 *m, int rccode, uint32_t *value, uint16_t *a, uint16_t *b, uint32_t *c, int max) | 
| static int | update_model6_to_7 (PixelModel3 *m) | 
| static void | calc_sum (PixelModel3 *m) | 
| static void | rescale_dec (PixelModel3 *m) | 
| static int | update_model5_to_6 (PixelModel3 *m, uint8_t value) | 
| static void | grow_dec (PixelModel3 *m) | 
| static int | add_dec (PixelModel3 *m, int sym, int f1, int f2) | 
| static void | incr_cntdec (PixelModel3 *m, int a) | 
| static int | decode_adaptive6 (PixelModel3 *m, uint32_t code, uint32_t *value, uint16_t *a, uint16_t *b) | 
| static int | cmpbytes (const void *p1, const void *p2) | 
| static int | update_model1_to_2 (PixelModel3 *m, uint32_t val) | 
| static int | update_model1_to_4 (PixelModel3 *m, uint32_t val) | 
| static int | update_model1_to_5 (PixelModel3 *m, uint32_t val) | 
| static int | decode_static1 (PixelModel3 *m, uint32_t val) | 
| static int | update_model2_to_6 (PixelModel3 *m, uint8_t value, int a4) | 
| static int | update_model2_to_3 (PixelModel3 *m, uint32_t val) | 
| static int | decode_static2 (PixelModel3 *m, uint32_t val) | 
| static int | update_model3_to_7 (PixelModel3 *m, uint8_t value) | 
| static int | decode_static3 (PixelModel3 *m, uint32_t val) | 
| static void | sync_code3 (GetByteContext *gb, RangeCoder *rc) | 
| static int | decode_value3 (SCPRContext *s, uint32_t max, uint32_t *cntsum, uint16_t *freqs1, uint16_t *freqs2, uint16_t *cnts, uint8_t *dectable, uint32_t *value) | 
| static void | calc_sum5 (PixelModel3 *m) | 
| static int | update_model4_to_5 (PixelModel3 *m, uint32_t value) | 
| static int | decode_unit3 (SCPRContext *s, PixelModel3 *m, uint32_t code, uint32_t *value) | 
| static int | decode_units3 (SCPRContext *s, uint32_t *red, uint32_t *green, uint32_t *blue, int *cx, int *cx1) | 
| static void | init_rangecoder3 (RangeCoder *rc, GetByteContext *gb) | 
| static int | decompress_i3 (AVCodecContext *avctx, uint32_t *dst, int linesize) | 
| static int | decompress_p3 (AVCodecContext *avctx, uint32_t *dst, int linesize, uint32_t *prev, int plinesize) | 
| 
 | static | 
Definition at line 33 of file scpr3.c.
Referenced by reinit_tables3().
| 
 | static | 
Definition at line 52 of file scpr3.c.
Referenced by decompress_i3().
| 
 | static | 
Definition at line 98 of file scpr3.c.
Referenced by decode_unit3(), and decode_value3().
| 
 | static | 
Definition at line 109 of file scpr3.c.
Referenced by add_symbol(), decode_adaptive45(), and update_model4_to_5().
| 
 | static | 
Definition at line 122 of file scpr3.c.
Referenced by decode_adaptive45().
| 
 | static | 
Definition at line 146 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 203 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 248 of file scpr3.c.
Referenced by update_model2_to_6(), and update_model5_to_6().
| 
 | static | 
Definition at line 260 of file scpr3.c.
Referenced by incr_cntdec(), and update_model5_to_6().
| 
 | static | 
Definition at line 294 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 368 of file scpr3.c.
Referenced by decode_adaptive6().
| 
 | static | 
Definition at line 377 of file scpr3.c.
Referenced by decode_adaptive6().
| 
 | static | 
Definition at line 394 of file scpr3.c.
Referenced by decode_adaptive6().
| 
 | static | 
Definition at line 419 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 474 of file scpr3.c.
Referenced by update_model1_to_4(), and update_model2_to_6().
| 
 | static | 
Definition at line 481 of file scpr3.c.
Referenced by decode_static1().
| 
 | static | 
Definition at line 498 of file scpr3.c.
Referenced by decode_static1(), and update_model1_to_5().
| 
 | static | 
Definition at line 524 of file scpr3.c.
Referenced by decode_static1().
| 
 | static | 
Definition at line 540 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 562 of file scpr3.c.
Referenced by decode_static2().
| 
 | static | 
Definition at line 621 of file scpr3.c.
Referenced by decode_static2().
| 
 | static | 
Definition at line 639 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 665 of file scpr3.c.
Referenced by decode_static3().
| 
 | static | 
Definition at line 705 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 722 of file scpr3.c.
Referenced by decode_unit3(), decode_value3(), and decompress_p3().
| 
 | static | 
Definition at line 731 of file scpr3.c.
Referenced by decode_unit3(), decompress_i3(), and decompress_p3().
| 
 | static | 
Definition at line 782 of file scpr3.c.
Referenced by update_model4_to_5().
| 
 | static | 
Definition at line 792 of file scpr3.c.
Referenced by decode_unit3().
| 
 | static | 
Definition at line 822 of file scpr3.c.
Referenced by decode_units3().
| 
 | static | 
Definition at line 891 of file scpr3.c.
Referenced by decompress_i3(), and decompress_p3().
| 
 | static | 
Definition at line 922 of file scpr3.c.
Referenced by decompress_i3(), and decompress_p3().
| 
 | static | 
Definition at line 928 of file scpr3.c.
Referenced by decode_frame().
| 
 | static | 
Definition at line 1011 of file scpr3.c.
Referenced by decode_frame().
 1.8.17
 1.8.17