AV_SAMPLE_FMT_U8 49 doc/examples/decode_audio.c { AV_SAMPLE_FMT_U8, "u8", "u8" }, AV_SAMPLE_FMT_U8 206 doc/examples/demuxing_decoding.c { AV_SAMPLE_FMT_U8, "u8", "u8" }, AV_SAMPLE_FMT_U8 40 doc/examples/resampling_audio.c { AV_SAMPLE_FMT_U8, "u8", "u8" }, AV_SAMPLE_FMT_U8 244 libavcodec/audiotoolboxenc.c : avctx->sample_fmt == AV_SAMPLE_FMT_U8 ? 0 AV_SAMPLE_FMT_U8 201 libavcodec/dpcm.c avctx->sample_fmt = AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 80 libavcodec/hcom.c avctx->sample_fmt = AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 162 libavcodec/mf_utils.c case 8: return AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 601 libavcodec/pcm.c PCM_CODEC (PCM_S8, AV_SAMPLE_FMT_U8, pcm_s8, "PCM signed 8-bit"); AV_SAMPLE_FMT_U8 614 libavcodec/pcm.c PCM_CODEC (PCM_U8, AV_SAMPLE_FMT_U8, pcm_u8, "PCM unsigned 8-bit"); AV_SAMPLE_FMT_U8 624 libavcodec/smacker.c avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16; AV_SAMPLE_FMT_U8 675 libavcodec/smacker.c if (bits == (avctx->sample_fmt == AV_SAMPLE_FMT_U8)) { AV_SAMPLE_FMT_U8 175 libavcodec/tta.c case 1: avctx->sample_fmt = AV_SAMPLE_FMT_U8; break; AV_SAMPLE_FMT_U8 43 libavcodec/ttaenc.c case AV_SAMPLE_FMT_U8: AV_SAMPLE_FMT_U8 72 libavcodec/ttaenc.c if (format == AV_SAMPLE_FMT_U8) { AV_SAMPLE_FMT_U8 1533 libavcodec/utils.c [AV_SAMPLE_FMT_U8 ] = { AV_CODEC_ID_PCM_U8, AV_CODEC_ID_PCM_U8 }, AV_SAMPLE_FMT_U8 92 libavcodec/vmdaudio.c avctx->sample_fmt = AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 48 libavcodec/ws-snd1.c avctx->sample_fmt = AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 918 libavdevice/dshow.c case AV_SAMPLE_FMT_U8: return AV_CODEC_ID_PCM_U8; AV_SAMPLE_FMT_U8 928 libavdevice/dshow.c case 8: return AV_SAMPLE_FMT_U8; AV_SAMPLE_FMT_U8 271 libavdevice/lavfi.c enum AVSampleFormat sample_fmts[] = { AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 404 libavfilter/af_atempo.c if (atempo->format == AV_SAMPLE_FMT_U8) { AV_SAMPLE_FMT_U8 795 libavfilter/af_atempo.c if (atempo->format == AV_SAMPLE_FMT_U8) { AV_SAMPLE_FMT_U8 1008 libavfilter/af_atempo.c AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 99 libavfilter/af_bs2b.c AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 169 libavfilter/af_bs2b.c case AV_SAMPLE_FMT_U8: AV_SAMPLE_FMT_U8 139 libavfilter/af_volume.c AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 231 libavfilter/af_volume.c case AV_SAMPLE_FMT_U8: AV_SAMPLE_FMT_U8 29 libavfilter/audio.h AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 216 libavfilter/f_reverse.c case AV_SAMPLE_FMT_U8: { AV_SAMPLE_FMT_U8 95 libavformat/uncodedframecrcenc.c case AV_SAMPLE_FMT_U8: AV_SAMPLE_FMT_U8 192 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_U8, uint8_t, *(const uint8_t *)pi) AV_SAMPLE_FMT_U8 193 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) << 8) AV_SAMPLE_FMT_U8 194 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) << 24) AV_SAMPLE_FMT_U8 195 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) * (1.0f / (1 << 7))) AV_SAMPLE_FMT_U8 196 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) * (1.0 / (1 << 7))) AV_SAMPLE_FMT_U8 197 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8) + 0x80) AV_SAMPLE_FMT_U8 202 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t, (*(const int32_t *)pi >> 24) + 0x80) AV_SAMPLE_FMT_U8 207 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8( lrintf(*(const float *)pi * (1 << 7)) + 0x80)) AV_SAMPLE_FMT_U8 212 libavresample/audio_convert.c CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8( lrint(*(const double *)pi * (1 << 7)) + 0x80)) AV_SAMPLE_FMT_U8 225 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_U8 226 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_U8 227 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_U8 228 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_U8 229 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_U8) AV_SAMPLE_FMT_U8 230 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S16) AV_SAMPLE_FMT_U8 235 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_S32) AV_SAMPLE_FMT_U8 240 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_FLT) AV_SAMPLE_FMT_U8 245 libavresample/audio_convert.c SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_DBL) AV_SAMPLE_FMT_U8 40 libavresample/options.c { "in_sample_fmt", "Input Sample Format", OFFSET(in_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NB-1, PARAM }, AV_SAMPLE_FMT_U8 43 libavresample/options.c { "out_sample_fmt", "Output Sample Format", OFFSET(out_sample_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NB-1, PARAM }, AV_SAMPLE_FMT_U8 46 libavresample/options.c {"u8" , "8-bit unsigned integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_U8 }, INT_MIN, INT_MAX, PARAM, "internal_sample_fmt"}, AV_SAMPLE_FMT_U8 54 libavresample/tests/avresample.c PUT_FUNC(u8, AV_SAMPLE_FMT_U8, uint8_t, av_clip_uint8 ( lrint(v_dbl * (1 << 7)) + 128)) AV_SAMPLE_FMT_U8 64 libavresample/tests/avresample.c case AV_SAMPLE_FMT_U8: AV_SAMPLE_FMT_U8 171 libavresample/tests/avresample.c AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8 35 libavutil/samplefmt.c [AV_SAMPLE_FMT_U8] = { .name = "u8", .bits = 8, .planar = 0, .altform = AV_SAMPLE_FMT_U8P }, AV_SAMPLE_FMT_U8 41 libavutil/samplefmt.c [AV_SAMPLE_FMT_U8P] = { .name = "u8p", .bits = 8, .planar = 1, .altform = AV_SAMPLE_FMT_U8 }, AV_SAMPLE_FMT_U8 244 libavutil/samplefmt.c int fill_char = (sample_fmt == AV_SAMPLE_FMT_U8 || AV_SAMPLE_FMT_U8 40 libavutil/tests/audio_fifo.c {.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_pch = 12}, AV_SAMPLE_FMT_U8 54 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_U8 , *(const uint8_t*)pi) AV_SAMPLE_FMT_U8 55 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<8) AV_SAMPLE_FMT_U8 56 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<24) AV_SAMPLE_FMT_U8 57 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_U8 , (uint64_t)((*(const uint8_t*)pi - 0x80U))<<56) AV_SAMPLE_FMT_U8 58 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_FLT, float , AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80)*(1.0f/ (1<<7))) AV_SAMPLE_FMT_U8 59 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80)*(1.0 / (1<<7))) AV_SAMPLE_FMT_U8 60 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S16, (*(const int16_t*)pi>>8) + 0x80) AV_SAMPLE_FMT_U8 66 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S32, (*(const int32_t*)pi>>24) + 0x80) AV_SAMPLE_FMT_U8 72 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S64, (*(const int64_t*)pi>>56) + 0x80) AV_SAMPLE_FMT_U8 78 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_FLT, av_clip_uint8( lrintf(*(const float*)pi * (1<<7)) + 0x80)) AV_SAMPLE_FMT_U8 84 libswresample/audioconvert.c CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_DBL, av_clip_uint8( lrint(*(const double*)pi * (1<<7)) + 0x80)) AV_SAMPLE_FMT_U8 94 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 95 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 96 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 97 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 98 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_DBL, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 99 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_S64, AV_SAMPLE_FMT_U8 ), AV_SAMPLE_FMT_U8 100 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_S16), AV_SAMPLE_FMT_U8 106 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_S32), AV_SAMPLE_FMT_U8 112 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_FLT), AV_SAMPLE_FMT_U8 118 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_DBL), AV_SAMPLE_FMT_U8 124 libswresample/audioconvert.c FMT_PAIR_FUNC(AV_SAMPLE_FMT_U8 , AV_SAMPLE_FMT_S64), AV_SAMPLE_FMT_U8 167 libswresample/audioconvert.c if (in_fmt == AV_SAMPLE_FMT_U8 || in_fmt == AV_SAMPLE_FMT_U8P) AV_SAMPLE_FMT_U8 93 libswresample/dither.c if(out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1.0/(1LL<< 7); AV_SAMPLE_FMT_U8 97 libswresample/dither.c if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<24; AV_SAMPLE_FMT_U8 98 libswresample/dither.c if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8; AV_SAMPLE_FMT_U8 50 libswresample/tests/swresample.c case AV_SAMPLE_FMT_U8 : return ((const uint8_t*)p)[index]/127.0-1.0; AV_SAMPLE_FMT_U8 69 libswresample/tests/swresample.c case AV_SAMPLE_FMT_U8 : ((uint8_t*)p)[index]= av_clip_uint8 (lrint((v+1.0)*127)); break; AV_SAMPLE_FMT_U8 98 libswresample/tests/swresample.c AV_SAMPLE_FMT_U8,