Searched refs:vlc (Results 1 - 25 of 78) sorted by relevance

1234

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Ddv_tablegen.h39 uint32_t vlc; member in struct:dv_vlc_pair
63 dv_vlc_map[dv_vlc_run[i]][dv_vlc_level[i]].vlc =
72 dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
73 (dv_vlc_map[i-1][0].vlc << (dv_vlc_map[0][j].size));
81 dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
82 (dv_vlc_map[i-1][0].vlc << (dv_vlc_map[0][j].size));
86 dv_vlc_map[i][((uint16_t)(-j))&0x1ff].vlc =
87 dv_vlc_map[i][j].vlc |
[all...]
H A Dbitstream.c99 static int alloc_table(VLC *vlc, int size, int use_static) argument
102 index = vlc->table_size;
103 vlc->table_size += size;
104 if (vlc->table_size > vlc->table_allocated) {
107 vlc->table_allocated += (1 << vlc->bits);
108 vlc->table = av_realloc(vlc->table,
109 sizeof(VLC_TYPE) * 2 * vlc
151 build_table(VLC *vlc, int table_nb_bits, int nb_codes, VLCcode *codes, int flags) argument
258 ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes, const void *bits, int bits_wrap, int bits_size, const void *codes, int codes_wrap, int codes_size, const void *symbols, int symbols_wrap, int symbols_size, int flags) argument
321 ff_free_vlc(VLC *vlc) argument
[all...]
H A Dhuffman.h42 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
H A Ddv_tablegen.c33 "{0x%"PRIx32", %"PRId8"}", data[i].vlc, data[i].size)
H A Dhuffman.c55 static int build_huff_tree(VLC *vlc, Node *nodes, int head, int flags) argument
64 return ff_init_vlc_sparse(vlc, 9, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0);
72 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, argument
107 if(build_huff_tree(vlc, nodes, nb_codes*2-2, flags) < 0){
H A Drl.h47 VLC vlc; ///< decoding only deprecated FIXME remove member in struct:RLTable
63 INIT_VLC_STATIC(&rl.vlc, 9, rl.n + 1,\
H A Dsmacker.c176 * Store large tree as Libav's vlc codes
183 VLC vlc[2]; local
207 memset(&vlc[0], 0, sizeof(VLC));
208 memset(&vlc[1], 0, sizeof(VLC));
213 res = init_vlc(&vlc[0], SMKTREE_BITS, tmp1.length,
226 res = init_vlc(&vlc[1], SMKTREE_BITS, tmp2.length,
249 ctx.v1 = &vlc[0];
250 ctx.v2 = &vlc[1];
269 if(vlc[0].table)
270 ff_free_vlc(&vlc[
597 VLC vlc[4]; local
[all...]
H A Dmsmpeg4data.h45 VLC vlc; /* decoding: vlc */ member in struct:MVTable
H A Dmimic.c55 VLC vlc; member in struct:__anon1948
119 if(init_vlc(&ctx->vlc, 11, FF_ARRAY_ELEMS(huffbits),
121 av_log(avctx, AV_LOG_ERROR, "error initializing vlc table\n");
194 uint32_t vlc, num_bits; local
198 vlc = get_vlc2(&ctx->gb, ctx->vlc.table, ctx->vlc.bits, 3);
199 if(!vlc) /* end-of-block code */
201 if(vlc == -1)
204 /* pos_add and num_bits are coded in the vlc cod
[all...]
H A Dsvq3.c214 int run, level, sign, vlc, limit; local
219 for (; (vlc = svq3_get_ue_golomb(gb)) != 0; index++) {
221 if (vlc == INVALID_VLC)
224 sign = (vlc & 0x1) - 1;
225 vlc = (vlc + 1) >> 1;
228 if (vlc < 3) {
230 level = vlc;
231 } else if (vlc < 4) {
235 run = (vlc
441 uint32_t vlc; local
[all...]
H A Dget_bits.h206 * read mpeg1 dc style vlc (sign bit + mantisse with no MSB).
384 #define init_vlc(vlc, nb_bits, nb_codes, \
388 ff_init_vlc_sparse(vlc, nb_bits, nb_codes, \
393 int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
400 void ff_free_vlc(VLC *vlc);
402 #define INIT_VLC_STATIC(vlc, bits, a,b,c,d,e,f,g, static_size) do { \
404 (vlc)->table = table; \
405 (vlc)->table_allocated = static_size; \
406 init_vlc(vlc, bits, a,b,c,d,e,f,g, INIT_VLC_USE_NEW_STATIC); \
411 * If the vlc cod
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Ddv_tablegen.h40 uint32_t vlc; member in struct:dv_vlc_pair
64 dv_vlc_map[ff_dv_vlc_run[i]][ff_dv_vlc_level[i]].vlc =
73 dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
74 (dv_vlc_map[i-1][0].vlc << (dv_vlc_map[0][j].size));
82 dv_vlc_map[i][j].vlc = dv_vlc_map[0][j].vlc |
83 (dv_vlc_map[i-1][0].vlc << (dv_vlc_map[0][j].size));
87 dv_vlc_map[i][((uint16_t)(-j))&0x1ff].vlc =
88 dv_vlc_map[i][j].vlc |
[all...]
H A Dbitstream.c105 static int alloc_table(VLC *vlc, int size, int use_static) argument
107 int index = vlc->table_size;
109 vlc->table_size += size;
110 if (vlc->table_size > vlc->table_allocated) {
113 vlc->table_allocated += (1 << vlc->bits);
114 vlc->table = av_realloc_f(vlc->table, vlc
160 build_table(VLC *vlc, int table_nb_bits, int nb_codes, VLCcode *codes, int flags) argument
280 VLC localvlc, *vlc; local
356 ff_free_vlc(VLC *vlc) argument
[all...]
H A Dcllc.c39 static int read_code_table(CLLCContext *ctx, GetBitContext *gb, VLC *vlc) argument
58 vlc->table = NULL;
76 return ff_init_vlc_sparse(vlc, 7, count, bits, 1, 1,
85 VLC *vlc, uint8_t *outbuf)
103 GET_VLC(code, bits, gb, vlc[0].table, 7, 2);
112 GET_VLC(code, bits, gb, vlc[1].table, 7, 2);
119 GET_VLC(code, bits, gb, vlc[2].table, 7, 2);
126 GET_VLC(code, bits, gb, vlc[3].table, 7, 2);
154 int *top_left, VLC *vlc, uint8_t *outbuf)
168 GET_VLC(code, bits, gb, vlc
84 read_argb_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf) argument
153 read_rgb24_component_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf) argument
183 read_yuv_component_line(CLLCContext *ctx, GetBitContext *gb, int *top_left, VLC *vlc, uint8_t *outbuf, int is_chroma) argument
218 VLC vlc[4]; local
262 VLC vlc[3]; local
307 VLC vlc[2]; local
[all...]
H A Ddv_tablegen.c30 "{0x%"PRIx32", %"PRId8"}", data[i].vlc, data[i].size)
H A Dhuffman.h43 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int nb_bits,
H A Drl.h47 VLC vlc; ///< decoding only deprecated FIXME remove member in struct:RLTable
63 INIT_VLC_STATIC(&rl.vlc, 9, rl.n + 1,\
H A Dsmacker.c177 * Store large tree as FFmpeg's vlc codes
184 VLC vlc[2] = { { 0 } }; local
221 res = init_vlc(&vlc[0], SMKTREE_BITS, tmp1.length,
231 if (!vlc[0].table) {
242 res = init_vlc(&vlc[1], SMKTREE_BITS, tmp2.length,
252 if (!vlc[1].table) {
265 ctx.v1 = &vlc[0];
266 ctx.v2 = &vlc[1];
296 if(vlc[0].table)
297 ff_free_vlc(&vlc[
630 VLC vlc[4] = { { 0 } }; local
[all...]
H A Dmpeg12.c73 INIT_VLC_STATIC(&rl.vlc, TEX_VLC_BITS, rl.n + 2,\
85 for (i = 0; i < rl->vlc.table_size; i++) {
86 int code = rl->vlc.table[i][0];
87 int len = rl->vlc.table[i][1];
H A Dmsmpeg4data.h45 VLC vlc; /* decoding: vlc */ member in struct:MVTable
H A Dmimic.c61 VLC vlc; member in struct:__anon3185
133 ff_free_vlc(&ctx->vlc);
148 if ((ret = init_vlc(&ctx->vlc, 11, FF_ARRAY_ELEMS(huffbits),
150 av_log(avctx, AV_LOG_ERROR, "error initializing vlc table\n");
242 uint32_t vlc, num_bits; local
246 vlc = get_vlc2(&ctx->gb, ctx->vlc.table, ctx->vlc.bits, 3);
247 if (!vlc) /* end-of-block code */
249 if (vlc
[all...]
H A Ddvenc.c93 static av_always_inline int dv_rl2vlc(int run, int level, int sign, uint32_t* vlc) argument
97 *vlc = dv_vlc_map[run][level].vlc | sign;
102 *vlc = dv_vlc_map[0][level].vlc | sign;
105 *vlc = 0xfe00 | (level << 1) | sign;
109 *vlc |= ((run < 16) ? dv_vlc_map[run-1][0].vlc :
134 static av_always_inline int dv_rl2vlc(int run, int l, int sign, uint32_t* vlc) argument
136 *vlc
167 uint32_t vlc = bi->partial_bit_buffer; local
[all...]
H A Dget_bits.h226 * read mpeg1 dc style vlc (sign bit + mantissa with no MSB).
456 #define init_vlc(vlc, nb_bits, nb_codes, \
460 ff_init_vlc_sparse(vlc, nb_bits, nb_codes, \
465 int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
470 void ff_free_vlc(VLC *vlc);
475 #define INIT_VLC_STATIC(vlc, bits, a, b, c, d, e, f, g, static_size) \
478 (vlc)->table = table; \
479 (vlc)->table_allocated = static_size; \
480 init_vlc(vlc, bits, a, b, c, d, e, f, g, INIT_VLC_USE_NEW_STATIC); \
484 * If the vlc cod
[all...]
H A Dhuffman.c136 static int build_huff_tree(VLC *vlc, Node *nodes, int head, int flags, int nb_bits) argument
146 return ff_init_vlc_sparse(vlc, nb_bits, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0);
154 int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int nb_bits, argument
192 if (build_huff_tree(vlc, nodes, nb_codes * 2 - 2, flags, nb_bits) < 0) {
H A Dhuffyuv.h67 int vlc_n; // number of vlc codes (FFMIN(1<<bps, MAX_VLC_N))
84 VLC vlc[8]; //Y,U,V,A,YY,YU,YV,AA member in struct:HYuvContext

Completed in 236 milliseconds

1234