Lines Matching full:coded
67 uint8_t coded[AMR_CODED_MAX]; in decode_1_frame() local
69 if (lsx_readbuf(ft, &coded[0], (size_t)1) != 1) in decode_1_frame()
71 n = amr_block_size[(coded[0] >> 3) & 0x0F]; in decode_1_frame()
77 if (lsx_readbuf(ft, &coded[1], n) != n) in decode_1_frame()
79 AMR_CALL(p, AmrDecoderDecode, (p->state, coded, p->pcm, 0)); in decode_1_frame()
141 uint8_t coded; in amr_duration_frames() local
143 for (frames = 0; lsx_readbuf(ft, &coded, (size_t)1) == 1; ++frames) { in amr_duration_frames()
144 frame_size = amr_block_size[coded >> 3 & 15]; in amr_duration_frames()
272 uint8_t coded[AMR_CODED_MAX]; in encode_1_frame() local
273 int n = AMR_CALL_ENCODER(p, AmrEncoderEncode, (p->state, p->mode, p->pcm, coded, 1)); in encode_1_frame()
274 sox_bool result = lsx_writebuf(ft, coded, (size_t) (size_t) (unsigned)n) == (unsigned)n; in encode_1_frame()