Lines Matching refs:coded_samples
725 int buf_size, int *coded_samples, int *approx_nb_samples) in get_nb_samples() argument
733 *coded_samples = 0; in get_nb_samples()
788 *coded_samples = bytestream2_get_le32u(gb); in get_nb_samples()
789 nb_samples = FFMIN((buf_size - 8) * 2, *coded_samples); in get_nb_samples()
794 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()
795 *coded_samples -= *coded_samples % 28; in get_nb_samples()
800 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()
815 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()
819 *coded_samples = bytestream2_get_le32(gb); in get_nb_samples()
823 *coded_samples = bytestream2_get_be32(gb); in get_nb_samples()
826 *coded_samples -= *coded_samples % 28; in get_nb_samples()
909 *coded_samples = (avctx->codec->id == AV_CODEC_ID_ADPCM_THP_LE) ? in get_nb_samples()
938 if (has_coded_samples && (*coded_samples <= 0 || *coded_samples > nb_samples)) in get_nb_samples()
957 int nb_samples, coded_samples, approx_nb_samples, ret; in adpcm_decode_frame() local
961 nb_samples = get_nb_samples(avctx, &gb, buf_size, &coded_samples, &approx_nb_samples); in adpcm_decode_frame()
976 if (coded_samples) { in adpcm_decode_frame()
977 if (!approx_nb_samples && coded_samples != nb_samples) in adpcm_decode_frame()
979 frame->nb_samples = nb_samples = coded_samples; in adpcm_decode_frame()