Searched refs:pb (Results 101 - 125 of 871) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/
H A Dasfdec.c106 static void get_str16(ByteIOContext *pb, char *buf, int buf_size)
111 len = get_le16(pb);
114 c = get_le16(pb);
123 static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size) argument
130 GET_UTF16(ch, (len -= 2) >= 0 ? get_le16(pb) : 0, break;)
134 url_fskip(pb, len);
147 static int get_value(ByteIOContext *pb, int type){ argument
149 case 2: return get_le32(pb);
150 case 3: return get_le32(pb);
151 case 4: return get_le64(pb);
187 ByteIOContext *pb = s->pb; local
646 ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb) argument
731 asf_read_frame_header(AVFormatContext *s, ByteIOContext *pb) argument
810 ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt) argument
[all...]
H A Dapc.c35 ByteIOContext *pb = s->pb; local
38 get_le32(pb); /* CRYO */
39 get_le32(pb); /* _APC */
40 get_le32(pb); /* 1.20 */
49 get_le32(pb); /* number of samples */
50 st->codec->sample_rate = get_le32(pb);
59 get_buffer(pb, st->codec->extradata, 2 * 4);
62 if (get_le32(pb))
77 if (av_get_packet(s->pb, pk
[all...]
H A Ddaud.c39 ByteIOContext *pb = s->pb; local
41 if (url_feof(pb))
43 size = get_be16(pb);
44 get_be16(pb); // unknown
45 ret = av_get_packet(pb, pkt, size);
60 put_be16(s->pb, pkt->size);
61 put_be16(s->pb, 0x8010); // unknown
62 put_buffer(s->pb, pkt->data, pkt->size);
63 put_flush_packet(s->pb);
[all...]
H A Dswfenc.c30 ByteIOContext *pb = s->pb; local
32 swf->tag_pos = url_ftell(pb);
36 put_le16(pb, 0);
37 put_le32(pb, 0);
39 put_le16(pb, 0);
46 ByteIOContext *pb = s->pb; local
50 pos = url_ftell(pb);
53 url_fseek(pb, sw
81 put_swf_rect(ByteIOContext *pb, int xmin, int xmax, int ymin, int ymax) argument
108 put_swf_line_edge(PutBitContext *pb, int dx, int dy) argument
137 put_swf_matrix(ByteIOContext *pb, int a, int b, int c, int d, int tx, int ty) argument
176 ByteIOContext *pb = s->pb; local
337 ByteIOContext *pb = s->pb; local
476 ByteIOContext *pb = s->pb; local
[all...]
H A Dwav.c42 ByteIOContext *pb = s->pb; local
45 put_tag(pb, "RIFF");
46 put_le32(pb, 0); /* file length */
47 put_tag(pb, "WAVE");
50 fmt = ff_start_tag(pb, "fmt ");
51 if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) {
57 ff_end_tag(pb, fmt);
60 && !url_is_streamed(s->pb)) {
61 fact = ff_start_tag(pb, "fac
80 ByteIOContext *pb = s->pb; local
94 ByteIOContext *pb = s->pb; local
142 find_tag(ByteIOContext *pb, uint32_t tag1) argument
186 ByteIOContext *pb = s->pb; local
240 find_guid(ByteIOContext *pb, const uint8_t guid1[16]) argument
356 ByteIOContext *pb = s->pb; local
[all...]
H A Dffmdec.c68 pos = url_ftell(s->pb);
94 if (url_feof(s->pb)) {
98 state = (state << 8) | get_byte(s->pb);
108 ByteIOContext *pb = s->pb; local
120 if (url_ftell(pb) == ffm->file_size)
121 url_fseek(pb, ffm->packet_size, SEEK_SET);
123 id = get_be16(pb); /* PACKET_ID */
127 fill_size = get_be16(pb);
128 ffm->dts = get_be64(pb);
173 ByteIOContext *pb = s->pb; local
186 ByteIOContext *pb = s->pb; local
201 ByteIOContext *pb = s->pb; local
259 ByteIOContext *pb = s->pb; local
[all...]
H A Dsoxdec.c47 ByteIOContext *pb = s->pb; local
58 if (get_le32(pb) == SOX_TAG) {
60 header_size = get_le32(pb);
61 url_fskip(pb, 8); /* sample count */
62 sample_rate = av_int2dbl(get_le64(pb));
63 st->codec->channels = get_le32(pb);
64 comment_size = get_le32(pb);
67 header_size = get_be32(pb);
68 url_fskip(pb,
[all...]
H A Danm.c82 ByteIOContext *pb = s->pb; local
86 url_fskip(pb, 4); /* magic number */
87 if (get_le16(pb) != MAX_PAGES) {
92 anm->nb_pages = get_le16(pb);
93 anm->nb_records = get_le32(pb);
94 url_fskip(pb, 2); /* max records per page */
95 anm->page_table_offset = get_le16(pb);
96 if (get_le32(pb) != ANIM_TAG)
106 st->codec->width = get_le16(pb);
180 ByteIOContext *pb = s->pb; local
[all...]
H A Dmpjpeg.c32 put_buffer(s->pb, buf1, strlen(buf1));
33 put_flush_packet(s->pb);
42 put_buffer(s->pb, buf1, strlen(buf1));
43 put_buffer(s->pb, pkt->data, pkt->size);
46 put_buffer(s->pb, buf1, strlen(buf1));
47 put_flush_packet(s->pb);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/
H A Dasfdec.c106 static void get_str16(ByteIOContext *pb, char *buf, int buf_size)
111 len = get_le16(pb);
114 c = get_le16(pb);
123 static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size) argument
130 GET_UTF16(ch, (len -= 2) >= 0 ? get_le16(pb) : 0, break;)
134 url_fskip(pb, len);
147 static int get_value(ByteIOContext *pb, int type){ argument
149 case 2: return get_le32(pb);
150 case 3: return get_le32(pb);
151 case 4: return get_le64(pb);
187 ByteIOContext *pb = s->pb; local
646 ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb) argument
731 asf_read_frame_header(AVFormatContext *s, ByteIOContext *pb) argument
810 ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt) argument
[all...]
H A Dapc.c35 ByteIOContext *pb = s->pb; local
38 get_le32(pb); /* CRYO */
39 get_le32(pb); /* _APC */
40 get_le32(pb); /* 1.20 */
49 get_le32(pb); /* number of samples */
50 st->codec->sample_rate = get_le32(pb);
59 get_buffer(pb, st->codec->extradata, 2 * 4);
62 if (get_le32(pb))
77 if (av_get_packet(s->pb, pk
[all...]
H A Ddaud.c39 ByteIOContext *pb = s->pb; local
41 if (url_feof(pb))
43 size = get_be16(pb);
44 get_be16(pb); // unknown
45 ret = av_get_packet(pb, pkt, size);
60 put_be16(s->pb, pkt->size);
61 put_be16(s->pb, 0x8010); // unknown
62 put_buffer(s->pb, pkt->data, pkt->size);
63 put_flush_packet(s->pb);
[all...]
H A Dswfenc.c30 ByteIOContext *pb = s->pb; local
32 swf->tag_pos = url_ftell(pb);
36 put_le16(pb, 0);
37 put_le32(pb, 0);
39 put_le16(pb, 0);
46 ByteIOContext *pb = s->pb; local
50 pos = url_ftell(pb);
53 url_fseek(pb, sw
81 put_swf_rect(ByteIOContext *pb, int xmin, int xmax, int ymin, int ymax) argument
108 put_swf_line_edge(PutBitContext *pb, int dx, int dy) argument
137 put_swf_matrix(ByteIOContext *pb, int a, int b, int c, int d, int tx, int ty) argument
176 ByteIOContext *pb = s->pb; local
337 ByteIOContext *pb = s->pb; local
476 ByteIOContext *pb = s->pb; local
[all...]
H A Dwav.c42 ByteIOContext *pb = s->pb; local
45 put_tag(pb, "RIFF");
46 put_le32(pb, 0); /* file length */
47 put_tag(pb, "WAVE");
50 fmt = ff_start_tag(pb, "fmt ");
51 if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) {
57 ff_end_tag(pb, fmt);
60 && !url_is_streamed(s->pb)) {
61 fact = ff_start_tag(pb, "fac
80 ByteIOContext *pb = s->pb; local
94 ByteIOContext *pb = s->pb; local
142 find_tag(ByteIOContext *pb, uint32_t tag1) argument
186 ByteIOContext *pb = s->pb; local
240 find_guid(ByteIOContext *pb, const uint8_t guid1[16]) argument
356 ByteIOContext *pb = s->pb; local
[all...]
H A Dffmdec.c68 pos = url_ftell(s->pb);
94 if (url_feof(s->pb)) {
98 state = (state << 8) | get_byte(s->pb);
108 ByteIOContext *pb = s->pb; local
120 if (url_ftell(pb) == ffm->file_size)
121 url_fseek(pb, ffm->packet_size, SEEK_SET);
123 id = get_be16(pb); /* PACKET_ID */
127 fill_size = get_be16(pb);
128 ffm->dts = get_be64(pb);
173 ByteIOContext *pb = s->pb; local
186 ByteIOContext *pb = s->pb; local
201 ByteIOContext *pb = s->pb; local
259 ByteIOContext *pb = s->pb; local
[all...]
H A Dsoxdec.c47 ByteIOContext *pb = s->pb; local
58 if (get_le32(pb) == SOX_TAG) {
60 header_size = get_le32(pb);
61 url_fskip(pb, 8); /* sample count */
62 sample_rate = av_int2dbl(get_le64(pb));
63 st->codec->channels = get_le32(pb);
64 comment_size = get_le32(pb);
67 header_size = get_be32(pb);
68 url_fskip(pb,
[all...]
H A Danm.c82 ByteIOContext *pb = s->pb; local
86 url_fskip(pb, 4); /* magic number */
87 if (get_le16(pb) != MAX_PAGES) {
92 anm->nb_pages = get_le16(pb);
93 anm->nb_records = get_le32(pb);
94 url_fskip(pb, 2); /* max records per page */
95 anm->page_table_offset = get_le16(pb);
96 if (get_le32(pb) != ANIM_TAG)
106 st->codec->width = get_le16(pb);
180 ByteIOContext *pb = s->pb; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavformat/
H A Dasfdec.c106 static void get_str16(ByteIOContext *pb, char *buf, int buf_size)
111 len = get_le16(pb);
114 c = get_le16(pb);
123 static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size) argument
130 GET_UTF16(ch, (len -= 2) >= 0 ? get_le16(pb) : 0, break;)
134 url_fskip(pb, len);
147 static int get_value(ByteIOContext *pb, int type){ argument
149 case 2: return get_le32(pb);
150 case 3: return get_le32(pb);
151 case 4: return get_le64(pb);
187 ByteIOContext *pb = s->pb; local
646 ff_asf_get_packet(AVFormatContext *s, ByteIOContext *pb) argument
731 asf_read_frame_header(AVFormatContext *s, ByteIOContext *pb) argument
810 ff_asf_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVPacket *pkt) argument
[all...]
H A Dapc.c35 ByteIOContext *pb = s->pb; local
38 get_le32(pb); /* CRYO */
39 get_le32(pb); /* _APC */
40 get_le32(pb); /* 1.20 */
49 get_le32(pb); /* number of samples */
50 st->codec->sample_rate = get_le32(pb);
59 get_buffer(pb, st->codec->extradata, 2 * 4);
62 if (get_le32(pb))
77 if (av_get_packet(s->pb, pk
[all...]
H A Ddaud.c39 ByteIOContext *pb = s->pb; local
41 if (url_feof(pb))
43 size = get_be16(pb);
44 get_be16(pb); // unknown
45 ret = av_get_packet(pb, pkt, size);
60 put_be16(s->pb, pkt->size);
61 put_be16(s->pb, 0x8010); // unknown
62 put_buffer(s->pb, pkt->data, pkt->size);
63 put_flush_packet(s->pb);
[all...]
H A Dswfenc.c30 ByteIOContext *pb = s->pb; local
32 swf->tag_pos = url_ftell(pb);
36 put_le16(pb, 0);
37 put_le32(pb, 0);
39 put_le16(pb, 0);
46 ByteIOContext *pb = s->pb; local
50 pos = url_ftell(pb);
53 url_fseek(pb, sw
81 put_swf_rect(ByteIOContext *pb, int xmin, int xmax, int ymin, int ymax) argument
108 put_swf_line_edge(PutBitContext *pb, int dx, int dy) argument
137 put_swf_matrix(ByteIOContext *pb, int a, int b, int c, int d, int tx, int ty) argument
176 ByteIOContext *pb = s->pb; local
337 ByteIOContext *pb = s->pb; local
476 ByteIOContext *pb = s->pb; local
[all...]
H A Dwav.c42 ByteIOContext *pb = s->pb; local
45 put_tag(pb, "RIFF");
46 put_le32(pb, 0); /* file length */
47 put_tag(pb, "WAVE");
50 fmt = ff_start_tag(pb, "fmt ");
51 if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) {
57 ff_end_tag(pb, fmt);
60 && !url_is_streamed(s->pb)) {
61 fact = ff_start_tag(pb, "fac
80 ByteIOContext *pb = s->pb; local
94 ByteIOContext *pb = s->pb; local
142 find_tag(ByteIOContext *pb, uint32_t tag1) argument
186 ByteIOContext *pb = s->pb; local
240 find_guid(ByteIOContext *pb, const uint8_t guid1[16]) argument
356 ByteIOContext *pb = s->pb; local
[all...]
H A Dffmdec.c68 pos = url_ftell(s->pb);
94 if (url_feof(s->pb)) {
98 state = (state << 8) | get_byte(s->pb);
108 ByteIOContext *pb = s->pb; local
120 if (url_ftell(pb) == ffm->file_size)
121 url_fseek(pb, ffm->packet_size, SEEK_SET);
123 id = get_be16(pb); /* PACKET_ID */
127 fill_size = get_be16(pb);
128 ffm->dts = get_be64(pb);
173 ByteIOContext *pb = s->pb; local
186 ByteIOContext *pb = s->pb; local
201 ByteIOContext *pb = s->pb; local
259 ByteIOContext *pb = s->pb; local
[all...]
H A Dsoxdec.c47 ByteIOContext *pb = s->pb; local
58 if (get_le32(pb) == SOX_TAG) {
60 header_size = get_le32(pb);
61 url_fskip(pb, 8); /* sample count */
62 sample_rate = av_int2dbl(get_le64(pb));
63 st->codec->channels = get_le32(pb);
64 comment_size = get_le32(pb);
67 header_size = get_be32(pb);
68 url_fskip(pb,
[all...]
H A Danm.c82 ByteIOContext *pb = s->pb; local
86 url_fskip(pb, 4); /* magic number */
87 if (get_le16(pb) != MAX_PAGES) {
92 anm->nb_pages = get_le16(pb);
93 anm->nb_records = get_le32(pb);
94 url_fskip(pb, 2); /* max records per page */
95 anm->page_table_offset = get_le16(pb);
96 if (get_le32(pb) != ANIM_TAG)
106 st->codec->width = get_le16(pb);
180 ByteIOContext *pb = s->pb; local
[all...]

Completed in 151 milliseconds

1234567891011>>