Lines Matching +defs:code +defs:string
49 void ff_put_string(PutBitContext *pb, const char *string, int terminate_string)
51 while(*string){
52 put_bits(pb, 8, *string);
53 string++;
128 uint32_t code;
134 return (sa->code >> 1) - (sb->code >> 1);
149 * Sorting by VLCcode.code is sufficient, though not necessary.
156 uint32_t code;
174 code = codes[i].code;
176 av_dlog(NULL, "i=%d n=%d code=0x%x\n", i, n, code);
179 j = code >> (32 - table_nb_bits);
183 j = bitswap_32(code);
187 av_dlog(NULL, "%4x: code=%d n=%d\n", j, i, n);
199 code_prefix = code >> (32 - table_nb_bits);
202 codes[i].code = code << table_nb_bits;
207 code = codes[k].code;
208 if (code >> (32 - table_nb_bits) != code_prefix)
211 codes[k].code = code << table_nb_bits;
224 table[j][0] = index; //code
240 'bits' : table which gives the size (in bits) of each vlc code.
242 'codes' : table which gives the bit pattern of of each vlc code.
291 GET_DATA(buf[j].code, codes, i, codes_wrap, codes_size);\
293 buf[j].code = bitswap_32(buf[j].code);\
295 buf[j].code <<= 32 - buf[j].bits;\