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/
H A 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))<<56)
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_
[all...]
H A 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/
H A 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 - 0x80) << 8)
194 CONV_FUNC_GROUP(AV_SAMPLE_FMT_S32, int32_t, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) << 24)
195 CONV_FUNC_GROUP(AV_SAMPLE_FMT_FLT, float, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) * (1.0f / (1 << 7)))
196 CONV_FUNC_GROUP(AV_SAMPLE_FMT_DBL, double, AV_SAMPLE_FMT_U8, uint8_t, (*(const uint8_t *)pi - 0x80) * (1.0 / (1 << 7)))
197 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S16, int16_t, (*(const int16_t *)pi >> 8) + 0x80)
202 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_S32, int32_t, (*(const int32_t *)pi >> 24) + 0x80)
207 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_t, AV_SAMPLE_FMT_FLT, float, av_clip_uint8( lrintf(*(const float *)pi * (1 << 7)) + 0x80))
212 CONV_FUNC_GROUP(AV_SAMPLE_FMT_U8, uint8_
[all...]
H A Doptions.c40 { "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 },
43 { "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 },
46 {"u8" , "8-bit unsigned integer", 0, AV_OPT_TYPE_CONST, {.i64 = AV_SAMPLE_FMT_U8 }, INT_MIN, INT_MAX, PARAM, "internal_sample_fmt"},
/third_party/ffmpeg/libavcodec/
H A Dttaenc.c45 case AV_SAMPLE_FMT_U8: in tta_encode_init()
74 if (format == AV_SAMPLE_FMT_U8) { in get_sample()
215 .p.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_U8,
H A Ddfpwmenc.c118 .p.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NONE},
H A Dpcm.c614 PCM_CODEC (PCM_S8, AV_SAMPLE_FMT_U8, pcm_s8, "PCM signed 8-bit");
627 PCM_CODEC (PCM_U8, AV_SAMPLE_FMT_U8, pcm_u8, "PCM unsigned 8-bit");
637 PCM_DECODER(PCM_SGA, AV_SAMPLE_FMT_U8, pcm_sga, "PCM SGA");
H A Ddfpwmdec.c98 ctx->sample_fmt = AV_SAMPLE_FMT_U8; in dfpwm_dec_init()
H A Dhcom.c77 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in hcom_init()
H A Dws-snd1.c49 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in ws_snd_decode_init()
H A Daudiotoolboxenc.c241 : avctx->sample_fmt == AV_SAMPLE_FMT_U8 ? 0 in ffat_init_encoder()
634 AV_SAMPLE_FMT_U8, AV_SAMPLE_FMT_NONE \
H A Dav3a_parser.c393 bitdepth = AV_SAMPLE_FMT_U8; in read_av3a_frame_header()
H A Dvmdaudio.c93 avctx->sample_fmt = AV_SAMPLE_FMT_U8; in vmdaudio_decode_init()
/third_party/ffmpeg/libavutil/
H A Dsamplefmt.c37 [AV_SAMPLE_FMT_U8] = { .name = "u8", .bits = 8, .planar = 0, .altform = AV_SAMPLE_FMT_U8P },
43 [AV_SAMPLE_FMT_U8P] = { .name = "u8p", .bits = 8, .planar = 1, .altform = AV_SAMPLE_FMT_U8 },
253 int fill_char = (sample_fmt == AV_SAMPLE_FMT_U8 || in av_samples_set_silence()
H A Dsamplefmt.h57 AV_SAMPLE_FMT_U8, ///< unsigned 8 bits enumerator
/third_party/ffmpeg/libavresample/tests/
H A 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_sample()
171 AV_SAMPLE_FMT_U8,
/third_party/ffmpeg/libavfilter/
H A Daf_bs2b.c98 AV_SAMPLE_FMT_U8, in query_formats()
162 case AV_SAMPLE_FMT_U8: in config_output()
H A Daf_volume.c137 AV_SAMPLE_FMT_U8, in query_formats()
218 case AV_SAMPLE_FMT_U8: in volume_init()
H A Df_reverse.c200 case AV_SAMPLE_FMT_U8: { in reverse_samples_packed()
/third_party/ffmpeg/libswresample/tests/
H A 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,
/third_party/ffmpeg/doc/examples/
H A Dresampling_audio.c40 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
H A Ddecode_audio.c49 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
H A Ddemuxing_decoding.c206 { AV_SAMPLE_FMT_U8, "u8", "u8" }, in get_format_from_sample_fmt()
/third_party/ffmpeg/libavformat/
H A Duncodedframecrcenc.c96 case AV_SAMPLE_FMT_U8: in audio_frame_cksum()
/third_party/ffmpeg/libavutil/tests/
H A Daudio_fifo.c41 {.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_pch = 12},

Completed in 14 milliseconds

12