Searched refs:adts_header (Results 1 – 5 of 5) sorted by relevance
101 guint8 *adts_header, codec_data[2]; in mpegpsmux_prepare_aac() local106 adts_header = g_malloc0 (7); in mpegpsmux_prepare_aac()123 adts_header[0] = 0xFF; in mpegpsmux_prepare_aac()126 adts_header[1] = 0xF1; in mpegpsmux_prepare_aac()128 adts_header[2] = obj_type << 6; in mpegpsmux_prepare_aac()130 adts_header[2] |= (rate_idx << 2); in mpegpsmux_prepare_aac()132 adts_header[2] |= (channels & 0x4) >> 2; in mpegpsmux_prepare_aac()134 adts_header[3] = (channels & 0x3) << 6; in mpegpsmux_prepare_aac()136 adts_header[3] |= (gst_buffer_get_size (out_buf) & 0x1800) >> 11; in mpegpsmux_prepare_aac()138 adts_header[4] = (out_size & 0x1FF8) >> 3; in mpegpsmux_prepare_aac()[all …]
95 guint8 adts_header[7] = { 0, }; in mpegtsmux_prepare_aac() local118 adts_header[0] = 0xFF; in mpegtsmux_prepare_aac()121 adts_header[1] = 0xF1; in mpegtsmux_prepare_aac()123 adts_header[2] = (obj_type - 1) << 6; in mpegtsmux_prepare_aac()125 adts_header[2] |= (rate_idx << 2); in mpegtsmux_prepare_aac()127 adts_header[2] |= (channels & 0x4) >> 2; in mpegtsmux_prepare_aac()129 adts_header[3] = (channels & 0x3) << 6; in mpegtsmux_prepare_aac()131 adts_header[3] |= (out_size & 0x1800) >> 11; in mpegtsmux_prepare_aac()133 adts_header[4] = (out_size & 0x1FF8) >> 3; in mpegtsmux_prepare_aac()135 adts_header[5] = (out_size & 0x7) << 5; in mpegtsmux_prepare_aac()[all …]
141 static guint8 adts_header[] = { variable155 size = sizeof (adts_header); in GST_START_TEST()157 gst_buffer_fill (header_buf, 0, adts_header, size); in GST_START_TEST()
64 OBJS-$(CONFIG_ADTS_HEADER) += adts_header.o mpeg4audio.o
213 "//third_party/ffmpeg/libavcodec/adts_header.c",