Home
last modified time | relevance | path

Searched refs:bs_code (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dflac.c53 int bs_code, sr_code, bps_code; in ff_flac_decode_frame_header() local
65 bs_code = get_bits(gb, 4); in ff_flac_decode_frame_header()
108 if (bs_code == 0) { in ff_flac_decode_frame_header()
112 } else if (bs_code == 6) { in ff_flac_decode_frame_header()
114 } else if (bs_code == 7) { in ff_flac_decode_frame_header()
117 fi->blocksize = ff_flac_blocksize_table[bs_code]; in ff_flac_decode_frame_header()
Dflacenc.c97 int bs_code[2]; member
480 frame->bs_code[0] = i; in init_frame()
481 frame->bs_code[1] = 0; in init_frame()
488 frame->bs_code[0] = 6; in init_frame()
489 frame->bs_code[1] = frame->blocksize-1; in init_frame()
491 frame->bs_code[0] = 7; in init_frame()
492 frame->bs_code[1] = frame->blocksize-1; in init_frame()
1042 if (s->frame.bs_code[0] == 6) in count_frame_header()
1044 else if (s->frame.bs_code[0] == 7) in count_frame_header()
1213 put_bits(&s->pb, 4, frame->bs_code[0]); in write_frame_header()
[all …]