Home
last modified time | relevance | path

Searched refs:AV_SAMPLE_FMT_U8 (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libswresample/
Daudioconvert.c54 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 …]
Ddither.c93 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/
Daudio_convert.c192 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 …]
Doptions.c40 …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/
Dttaenc.c43 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,
Dpcm.c610 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");
Dws-snd1.c48 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in ws_snd_decode_init()
Dhcom.c76 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in hcom_init()
Dvmdaudio.c92 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in vmdaudio_decode_init()
Daudiotoolboxenc.c244 : avctx->sample_fmt == AV_SAMPLE_FMT_U8 ? 0 in ffat_init_encoder()
634 AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NONE \
Dsmacker.c580 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()
Dav3a_parser.c393 bitdepth = AV_SAMPLE_FMT_U8; in read_av3a_frame_header()
/third_party/ffmpeg/libavutil/
Dsamplefmt.c35 … [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()
Dsamplefmt.h60 AV_SAMPLE_FMT_U8, ///< unsigned 8 bits enumerator
/third_party/ffmpeg/libavresample/tests/
Davresample.c54 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/
Daf_bs2b.c99 AV_SAMPLE_FMT_U8, in query_formats() enumerator
169 case AV_SAMPLE_FMT_U8: in config_output()
Daf_volume.c139 AV_SAMPLE_FMT_U8, in query_formats()
231 case AV_SAMPLE_FMT_U8: in volume_init()
Daf_atempo.c404 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
Df_reverse.c216 case AV_SAMPLE_FMT_U8: { in reverse_samples_packed()
/third_party/ffmpeg/libswresample/tests/
Dswresample.c50 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/
Duncodedframecrcenc.c95 case AV_SAMPLE_FMT_U8: in audio_frame_cksum()
/third_party/ffmpeg/doc/examples/
Ddecode_audio.c49 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
Dresampling_audio.c40 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
Ddemuxing_decoding.c206 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
/third_party/ffmpeg/libavutil/tests/
Daudio_fifo.c40 …{.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_p…

12