/third_party/ffmpeg/libswresample/ |
D | audioconvert.c | 54 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_U8 , *(const uint8_t*)pi) 55 CONV_FUNC(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<8) 56 CONV_FUNC(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80U)<<24) 57 CONV_FUNC(AV_SAMPLE_FMT_S64, int64_t, AV_SAMPLE_FMT_U8 , (uint64_t)((*(const uint8_t*)pi - 0x80U))<… 58 CONV_FUNC(AV_SAMPLE_FMT_FLT, float , AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80)*(1.0f/ (1<<7)… 59 CONV_FUNC(AV_SAMPLE_FMT_DBL, double , AV_SAMPLE_FMT_U8 , (*(const uint8_t*)pi - 0x80)*(1.0 / (1<<7)… 60 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S16, (*(const int16_t*)pi>>8) + 0x80) 66 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S32, (*(const int32_t*)pi>>24) + 0x80) 72 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_S64, (*(const int64_t*)pi>>56) + 0x80) 78 CONV_FUNC(AV_SAMPLE_FMT_U8 , uint8_t, AV_SAMPLE_FMT_FLT, av_clip_uint8( lrintf(*(const float*)pi *… [all …]
|
D | dither.c | 93 if(out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1.0/(1LL<< 7); in swri_dither_init() 97 if(in_fmt == AV_SAMPLE_FMT_S32 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<24; in swri_dither_init() 98 if(in_fmt == AV_SAMPLE_FMT_S16 && out_fmt == AV_SAMPLE_FMT_U8 ) scale = 1<<8; in swri_dither_init()
|
/third_party/ffmpeg/libavresample/ |
D | audio_convert.c | 192 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_U8, uint8_t, *(const uint8_t *)pi) 193 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S16, int16_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x8… 194 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x8… 195 CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x8… 196 CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x8… 197 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8)… 202 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t, (*(const int32_t *)pi >> 24… 207 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8( lrintf(*(co… 212 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_DBL, double, av_clip_uint8( lrint(*(con… in CONV_FUNC_GROUP() 225 SET_CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_U8) [all …]
|
D | options.c | 40 …le_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPL… 43 …ple_fmt), AV_OPT_TYPE_INT, { .i64 = AV_SAMPLE_FMT_S16 }, AV_SAMPLE_FMT_U8, AV_SAMPL… 46 …{"u8" , "8-bit unsigned integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_U8 }, INT_…
|
/third_party/ffmpeg/libavcodec/ |
D | ttaenc.c | 43 case AV_SAMPLE_FMT_U8: in tta_encode_init() 72 if (format == AV_SAMPLE_FMT_U8) { in get_sample() 213 .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_U8,
|
D | pcm.c | 610 PCM_CODEC (PCM_S8, AV_SAMPLE_FMT_U8, pcm_s8, "PCM signed 8-bit"); 623 PCM_CODEC (PCM_U8, AV_SAMPLE_FMT_U8, pcm_u8, "PCM unsigned 8-bit"); 633 PCM_DECODER(PCM_SGA, AV_SAMPLE_FMT_U8, pcm_sga, "PCM SGA");
|
D | ws-snd1.c | 48 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in ws_snd_decode_init()
|
D | hcom.c | 76 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in hcom_init()
|
D | vmdaudio.c | 92 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in vmdaudio_decode_init()
|
D | audiotoolboxenc.c | 244 : avctx->sample_fmt == AV_SAMPLE_FMT_U8 ? 0 in ffat_init_encoder() 634 AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NONE \
|
D | smacker.c | 580 avctx->sample_fmt = avctx->bits_per_coded_sample == 8 ? AV_SAMPLE_FMT_U8 : AV_SAMPLE_FMT_S16; in smka_decode_init() 630 if (bits == (avctx->sample_fmt == AV_SAMPLE_FMT_U8)) { in smka_decode_frame()
|
D | av3a_parser.c | 393 bitdepth = AV_SAMPLE_FMT_U8; in read_av3a_frame_header()
|
/third_party/ffmpeg/libavutil/ |
D | samplefmt.c | 35 … [AV_SAMPLE_FMT_U8] = { .name = "u8", .bits = 8, .planar = 0, .altform = AV_SAMPLE_FMT_U8P }, 41 … [AV_SAMPLE_FMT_U8P] = { .name = "u8p", .bits = 8, .planar = 1, .altform = AV_SAMPLE_FMT_U8 }, 244 int fill_char = (sample_fmt == AV_SAMPLE_FMT_U8 || in av_samples_set_silence()
|
D | samplefmt.h | 60 AV_SAMPLE_FMT_U8, ///< unsigned 8 bits enumerator
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 54 PUT_FUNC(u8, AV_SAMPLE_FMT_U8, uint8_t, av_clip_uint8 ( lrint(v_dbl * (1 << 7)) + 128)) 64 case AV_SAMPLE_FMT_U8: in PUT_FUNC() 171 AV_SAMPLE_FMT_U8, enumerator
|
/third_party/ffmpeg/libavfilter/ |
D | af_bs2b.c | 99 AV_SAMPLE_FMT_U8, in query_formats() enumerator 169 case AV_SAMPLE_FMT_U8: in config_output()
|
D | af_volume.c | 139 AV_SAMPLE_FMT_U8, in query_formats() 231 case AV_SAMPLE_FMT_U8: in volume_init()
|
D | af_atempo.c | 404 if (atempo->format == AV_SAMPLE_FMT_U8) { in yae_downmix() 795 if (atempo->format == AV_SAMPLE_FMT_U8) { in yae_overlap_add() 1008 AV_SAMPLE_FMT_U8, in query_formats() enumerator
|
D | f_reverse.c | 216 case AV_SAMPLE_FMT_U8: { in reverse_samples_packed()
|
/third_party/ffmpeg/libswresample/tests/ |
D | swresample.c | 50 case AV_SAMPLE_FMT_U8 : return ((const uint8_t*)p)[index]/127.0-1.0; in get() 69 case AV_SAMPLE_FMT_U8 : ((uint8_t*)p)[index]= av_clip_uint8 (lrint((v+1.0)*127)); break; in set() 98 AV_SAMPLE_FMT_U8, enumerator
|
/third_party/ffmpeg/libavformat/ |
D | uncodedframecrcenc.c | 95 case AV_SAMPLE_FMT_U8: in audio_frame_cksum()
|
/third_party/ffmpeg/doc/examples/ |
D | decode_audio.c | 49 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
|
D | resampling_audio.c | 40 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
|
D | demuxing_decoding.c | 206 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
|
/third_party/ffmpeg/libavutil/tests/ |
D | audio_fifo.c | 40 …{.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_p…
|