Lines Matching refs:code
95 uint16_t code; // VLC code with valid data in top-most bits member
146 #define JPG_MAKE_OFFSET(code,width,leading) \ argument
147 (((code<<leading) & JPG_MAKE_MASK(JPG_VLC_MAX_CODE_LEN)) >> (JPG_VLC_MAX_CODE_LEN-width))
407 offset = symbol_code->code << leading; in jpg_vlc_get_offset()
425 offset = symbol_code->code << leading; in jpg_vlc_decode_direct_symbols()
472 if ((((uint32_t)symbol_codes[i].code) & leading_mask) == leading_pattern) { in jpg_vlc_decode_direct()
481 if ((((uint32_t)symbol_codes[i].code) & leading_mask) == leading_pattern) { in jpg_vlc_decode_direct()
491 if ((((uint32_t)symbol_codes[i].code) & leading_mask) == leading_pattern) { in jpg_vlc_decode_direct()
500 next_leading_pattern = (uint32_t)symbol_codes[i].code & next_leading_mask; in jpg_vlc_decode_direct()
751 uint16_t code = 0; in tng__JPEG_process_huffman_tables() local
757 ctx->symbol_codes[0][table_id][huff_ind].code = code << ( 16 - code_size ); in tng__JPEG_process_huffman_tables()
759 code++; in tng__JPEG_process_huffman_tables()
761 code <<= 1; in tng__JPEG_process_huffman_tables()
797 code = 0; in tng__JPEG_process_huffman_tables()
802 ctx->symbol_codes[1][table_id][huff_ind].code = code << ( 16 - code_size ); in tng__JPEG_process_huffman_tables()
804 code++; in tng__JPEG_process_huffman_tables()
806 code <<= 1; in tng__JPEG_process_huffman_tables()