Lines Matching refs:auds
317 memset (&(audpad->auds), 0, sizeof (gst_riff_strf_auds)); in gst_avi_mux_pad_reset()
739 avipad->parent.hdr.rate = avipad->auds.rate; in gst_avi_mux_audsink_set_fields()
742 avipad->max_audio_chunk = avipad->auds.blockalign = in gst_avi_mux_audsink_set_fields()
747 avipad->parent.hdr.rate = avipad->auds.av_bps / avipad->auds.blockalign; in gst_avi_mux_audsink_set_fields()
748 avipad->parent.hdr.samplesize = avipad->auds.blockalign; in gst_avi_mux_audsink_set_fields()
849 avipad->auds.channels = channels; in gst_avi_mux_audsink_set_caps()
850 avipad->auds.rate = rate; in gst_avi_mux_audsink_set_caps()
875 avipad->auds.blockalign = 8; in gst_avi_mux_audsink_set_caps()
876 avipad->auds.bits_per_sample = 8; in gst_avi_mux_audsink_set_caps()
879 avipad->auds.blockalign = 16; in gst_avi_mux_audsink_set_caps()
880 avipad->auds.bits_per_sample = 16; in gst_avi_mux_audsink_set_caps()
883 avipad->auds.blockalign = 24; in gst_avi_mux_audsink_set_caps()
884 avipad->auds.bits_per_sample = 24; in gst_avi_mux_audsink_set_caps()
887 avipad->auds.blockalign = 32; in gst_avi_mux_audsink_set_caps()
888 avipad->auds.bits_per_sample = 32; in gst_avi_mux_audsink_set_caps()
896 avipad->auds.format = GST_RIFF_WAVE_FORMAT_PCM; in gst_avi_mux_audsink_set_caps()
898 avipad->auds.blockalign /= 8; in gst_avi_mux_audsink_set_caps()
899 avipad->auds.blockalign *= avipad->auds.channels; in gst_avi_mux_audsink_set_caps()
900 avipad->auds.av_bps = avipad->auds.blockalign * avipad->auds.rate; in gst_avi_mux_audsink_set_caps()
906 avipad->valid_bits_per_sample = avipad->auds.bits_per_sample; in gst_avi_mux_audsink_set_caps()
917 avipad->auds.format = 0; in gst_avi_mux_audsink_set_caps()
919 avipad->auds.blockalign = 1; in gst_avi_mux_audsink_set_caps()
920 avipad->auds.av_bps = 0; in gst_avi_mux_audsink_set_caps()
921 avipad->auds.bits_per_sample = 16; in gst_avi_mux_audsink_set_caps()
936 avipad->auds.format = GST_RIFF_WAVE_FORMAT_MPEGL3; in gst_avi_mux_audsink_set_caps()
940 avipad->auds.format = GST_RIFF_WAVE_FORMAT_MPEGL12; in gst_avi_mux_audsink_set_caps()
977 avipad->auds.format = GST_RIFF_WAVE_FORMAT_AAC; in gst_avi_mux_audsink_set_caps()
986 avipad->auds.format = GST_RIFF_WAVE_FORMAT_VORBIS3; in gst_avi_mux_audsink_set_caps()
988 avipad->auds.format = GST_RIFF_WAVE_FORMAT_A52; in gst_avi_mux_audsink_set_caps()
990 avipad->auds.format = GST_RIFF_WAVE_FORMAT_ALAW; in gst_avi_mux_audsink_set_caps()
991 avipad->auds.bits_per_sample = 8; in gst_avi_mux_audsink_set_caps()
992 avipad->auds.blockalign = avipad->auds.channels; in gst_avi_mux_audsink_set_caps()
993 avipad->auds.av_bps = avipad->auds.blockalign * avipad->auds.rate; in gst_avi_mux_audsink_set_caps()
995 avipad->auds.format = GST_RIFF_WAVE_FORMAT_MULAW; in gst_avi_mux_audsink_set_caps()
996 avipad->auds.bits_per_sample = 8; in gst_avi_mux_audsink_set_caps()
997 avipad->auds.blockalign = avipad->auds.channels; in gst_avi_mux_audsink_set_caps()
998 avipad->auds.av_bps = avipad->auds.blockalign * avipad->auds.rate; in gst_avi_mux_audsink_set_caps()
1007 avipad->auds.format = GST_RIFF_WAVE_FORMAT_WMAV1; in gst_avi_mux_audsink_set_caps()
1010 avipad->auds.format = GST_RIFF_WAVE_FORMAT_WMAV2; in gst_avi_mux_audsink_set_caps()
1017 if (avipad->auds.format != 0) { in gst_avi_mux_audsink_set_caps()
1019 avipad->auds.blockalign = block_align; in gst_avi_mux_audsink_set_caps()
1022 avipad->auds.av_bps = bitrate / 8; in gst_avi_mux_audsink_set_caps()
1028 if (!avipad->auds.format) in gst_avi_mux_audsink_set_caps()
1031 avipad->parent.hdr.fcc_handler = avipad->auds.format; in gst_avi_mux_audsink_set_caps()
1427 hdl &= gst_byte_writer_put_uint16_le (&bw, audpad->auds.format); in gst_avi_mux_riff_get_avi_header()
1428 hdl &= gst_byte_writer_put_uint16_le (&bw, audpad->auds.channels); in gst_avi_mux_riff_get_avi_header()
1429 hdl &= gst_byte_writer_put_uint32_le (&bw, audpad->auds.rate); in gst_avi_mux_riff_get_avi_header()
1430 hdl &= gst_byte_writer_put_uint32_le (&bw, audpad->auds.av_bps); in gst_avi_mux_riff_get_avi_header()
1431 hdl &= gst_byte_writer_put_uint16_le (&bw, audpad->auds.blockalign); in gst_avi_mux_riff_get_avi_header()
1432 hdl &= gst_byte_writer_put_uint16_le (&bw, audpad->auds.bits_per_sample); in gst_avi_mux_riff_get_avi_header()
1438 hdl &= gst_byte_writer_put_uint32_le (&bw, audpad->auds.format); in gst_avi_mux_riff_get_avi_header()
1589 if (audiopad->auds.format == GST_RIFF_WAVE_FORMAT_PCM) { in gst_avi_mux_write_avix_index()
1685 if (audiopad->auds.format == GST_RIFF_WAVE_FORMAT_PCM) { in gst_avi_mux_add_index()
1686 audiopad->samples += size / audiopad->auds.blockalign; in gst_avi_mux_add_index()
1936 if (!audpad->auds.av_bps) { in gst_avi_mux_stop_file()
1938 audpad->auds.av_bps = in gst_avi_mux_stop_file()
1943 audpad->auds.av_bps = GST_ROUND_UP_8 (audpad->auds.av_bps - 4); in gst_avi_mux_stop_file()
1948 audpad->auds.av_bps = 0; in gst_avi_mux_stop_file()
1953 audpad->auds.blockalign = audpad->max_audio_chunk; in gst_avi_mux_stop_file()
1954 if (audpad->auds.blockalign == 0) in gst_avi_mux_stop_file()
1955 audpad->auds.blockalign = 1; in gst_avi_mux_stop_file()
1958 avipad->hdr.rate = audpad->auds.av_bps / audpad->auds.blockalign; in gst_avi_mux_stop_file()
1959 avimux->avi_hdr.max_bps += audpad->auds.av_bps; in gst_avi_mux_stop_file()
2181 audpad->auds.channels, audpad->gst_positions, in gst_avi_mux_do_buffer()