Home
last modified time | relevance | path

Searched refs:adts_header (Results 1 – 5 of 5) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/
Dmpegpsmux_aac.c85 guint8 *adts_header, codec_data[2]; in mpegpsmux_prepare_aac() local
90 adts_header = g_malloc0 (7); in mpegpsmux_prepare_aac()
107 adts_header[0] = 0xFF; in mpegpsmux_prepare_aac()
110 adts_header[1] = 0xF1; in mpegpsmux_prepare_aac()
112 adts_header[2] = obj_type << 6; in mpegpsmux_prepare_aac()
114 adts_header[2] |= (rate_idx << 2); in mpegpsmux_prepare_aac()
116 adts_header[2] |= (channels & 0x4) >> 2; in mpegpsmux_prepare_aac()
118 adts_header[3] = (channels & 0x3) << 6; in mpegpsmux_prepare_aac()
120 adts_header[3] |= (gst_buffer_get_size (out_buf) & 0x1800) >> 11; in mpegpsmux_prepare_aac()
122 adts_header[4] = (out_size & 0x1FF8) >> 3; in mpegpsmux_prepare_aac()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstbasetsmuxaac.c83 guint8 adts_header[7] = { 0, }; in gst_base_ts_mux_prepare_aac_adts() local
99 adts_header[0] = 0xFF; in gst_base_ts_mux_prepare_aac_adts()
102 adts_header[1] = 0xF1 | (is_mpeg2 ? 0x8 : 0x0); in gst_base_ts_mux_prepare_aac_adts()
104 adts_header[2] = (obj_type_profile - 1) << 6; in gst_base_ts_mux_prepare_aac_adts()
106 adts_header[2] |= (rate_idx << 2); in gst_base_ts_mux_prepare_aac_adts()
108 adts_header[2] |= (channels & 0x4) >> 2; in gst_base_ts_mux_prepare_aac_adts()
110 adts_header[3] = (channels & 0x3) << 6; in gst_base_ts_mux_prepare_aac_adts()
112 adts_header[3] |= (out_size & 0x1800) >> 11; in gst_base_ts_mux_prepare_aac_adts()
114 adts_header[4] = (out_size & 0x1FF8) >> 3; in gst_base_ts_mux_prepare_aac_adts()
116 adts_header[5] = (out_size & 0x7) << 5; in gst_base_ts_mux_prepare_aac_adts()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dfaad.c141 static guint8 adts_header[] = { variable
155 size = sizeof (adts_header); in GST_START_TEST()
157 gst_buffer_fill (header_buf, 0, adts_header, size); in GST_START_TEST()
/third_party/ffmpeg/libavcodec/
DMakefile65 OBJS-$(CONFIG_ADTS_HEADER) += adts_header.o mpeg4audio.o
/third_party/ffmpeg/
DBUILD.gn102 "//third_party/ffmpeg/libavcodec/adts_header.c",