/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/ |
H A D | rv20enc.c | 33 put_bits(&s->pb, 2, s->pict_type); //I 0 vs. 1 ? 34 put_bits(&s->pb, 1, 0); /* unknown bit */ 35 put_bits(&s->pb, 5, s->qscale); 37 put_sbits(&s->pb, 8, picture_number); //FIXME wrong, but correct is not known 41 put_bits(&s->pb, 1, s->no_rounding);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/ |
H A D | aiffdec.c | 50 static int get_tag(ByteIOContext *pb, uint32_t * tag) argument 54 if (url_feof(pb)) 57 *tag = get_le32(pb); 58 size = get_be32(pb); 73 url_fskip(s->pb, size); 77 res = get_buffer(s->pb, str, size); 86 static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, argument 96 codec->channels = get_be16(pb); 97 num_frames = get_be32(pb); 98 codec->bits_per_coded_sample = get_be16(pb); 180 ByteIOContext *pb = s->pb; local [all...] |
H A D | wv.c | 72 static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb) argument 79 wc->pos = url_ftell(pb); 80 tag = get_le32(pb); 83 size = get_le32(pb); 89 ver = get_le16(pb); 94 get_byte(pb); // track no 95 get_byte(pb); // track sub index 96 wc->samples = get_le32(pb); // total samples in file 97 wc->soff = get_le32(pb); // offset in samples of current block 98 get_buffer(pb, w 153 ByteIOContext *pb = s->pb; local [all...] |
H A D | cafdec.c | 56 ByteIOContext *pb = s->pb; local 68 st->codec->sample_rate = av_int2dbl(get_be64(pb)); 69 st->codec->codec_tag = get_be32(pb); 70 flags = get_be32(pb); 71 caf->bytes_per_packet = get_be32(pb); 73 caf->frames_per_packet = get_be32(pb); 74 st->codec->channels = get_be32(pb); 75 st->codec->bits_per_coded_sample = get_be32(pb); 96 ByteIOContext *pb local 132 ByteIOContext *pb = s->pb; local 167 ByteIOContext *pb = s->pb; local 182 ByteIOContext *pb = s->pb; local 289 ByteIOContext *pb = s->pb; local [all...] |
H A D | mpegenc.c | 88 PutBitContext pb; local 90 init_put_bits(&pb, buf, 128); 92 put_bits32(&pb, PACK_START_CODE); 94 put_bits(&pb, 2, 0x1); 96 put_bits(&pb, 4, 0x2); 98 put_bits(&pb, 3, (uint32_t)((timestamp >> 30) & 0x07)); 99 put_bits(&pb, 1, 1); 100 put_bits(&pb, 15, (uint32_t)((timestamp >> 15) & 0x7fff)); 101 put_bits(&pb, 1, 1); 102 put_bits(&pb, 1 124 PutBitContext pb; local 492 put_timestamp(ByteIOContext *pb, int id, int64_t timestamp) argument 614 put_padding_packet(AVFormatContext *ctx, ByteIOContext *pb,int packet_bytes) argument [all...] |
H A D | xa.c | 69 ByteIOContext *pb = s->pb; local 79 url_fskip(pb, 4); /* Skip the XA ID */ 80 xa->out_size = get_le32(pb); 81 url_fskip(pb, 2); /* Skip the tag */ 82 st->codec->channels = get_le16(pb); 83 st->codec->sample_rate = get_le32(pb); 85 st->codec->bit_rate = get_le32(pb) * 8; 86 st->codec->block_align = get_le16(pb); 87 st->codec->bits_per_coded_sample = get_le16(pb); 99 ByteIOContext *pb = s->pb; local [all...] |
H A D | rpl.c | 50 static int read_line(ByteIOContext * pb, char* line, int bufsize) argument 54 int b = get_byte(pb); 79 static int32_t read_line_and_int(ByteIOContext * pb, int* error) argument 83 *error |= read_line(pb, line, sizeof(line)); 113 ByteIOContext *pb = s->pb; local 132 error |= read_line(pb, line, sizeof(line)); // ARMovie 133 error |= read_line(pb, line, sizeof(line)); // movie name 135 error |= read_line(pb, line, sizeof(line)); // date/copyright 137 error |= read_line(pb, lin 277 ByteIOContext *pb = s->pb; local [all...] |
H A D | avidec.c | 90 static int get_riff(AVFormatContext *s, ByteIOContext *pb) argument 97 get_buffer(pb, header, 4); 98 avi->riff_end = get_le32(pb); /* RIFF chunk size */ 99 avi->riff_end += url_ftell(pb); /* RIFF chunk end */ 100 get_buffer(pb, header+4, 4); 116 ByteIOContext *pb = s->pb; local 117 int longs_pre_entry= get_le16(pb); 118 int index_sub_type = get_byte(pb); 119 int index_type = get_byte(pb); 232 ByteIOContext *pb = s->pb; local 267 ByteIOContext *pb = s->pb; local 683 ByteIOContext *pb = s->pb; local 952 ByteIOContext *pb = s->pb; local 1037 ByteIOContext *pb = s->pb; local [all...] |
H A D | bethsoftvid.c | 63 ByteIOContext *pb = s->pb; local 70 url_fseek(pb, 5, SEEK_CUR); 71 vid->nframes = get_le16(pb); 79 stream->codec->width = get_le16(pb); 80 stream->codec->height = get_le16(pb); 82 vid->bethsoft_global_delay = get_le16(pb); 83 get_le16(pb); 100 static int read_frame(BVID_DemuxContext *vid, ByteIOContext *pb, AVPacket *pkt, argument 115 position = url_ftell(pb) 177 ByteIOContext *pb = s->pb; local [all...] |
H A D | bink.c | 73 ByteIOContext *pb = s->pb; local 85 vst->codec->codec_tag = get_le32(pb); 87 bink->file_size = get_le32(pb) + 8; 88 vst->duration = get_le32(pb); 95 if (get_le32(pb) > bink->file_size) { 101 url_fskip(pb, 4); 103 vst->codec->width = get_le32(pb); 104 vst->codec->height = get_le32(pb); 106 fps_num = get_le32(pb); 180 ByteIOContext *pb = s->pb; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/ |
H A D | aiffdec.c | 50 static int get_tag(ByteIOContext *pb, uint32_t * tag) argument 54 if (url_feof(pb)) 57 *tag = get_le32(pb); 58 size = get_be32(pb); 73 url_fskip(s->pb, size); 77 res = get_buffer(s->pb, str, size); 86 static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, argument 96 codec->channels = get_be16(pb); 97 num_frames = get_be32(pb); 98 codec->bits_per_coded_sample = get_be16(pb); 180 ByteIOContext *pb = s->pb; local [all...] |
H A D | wv.c | 72 static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb) argument 79 wc->pos = url_ftell(pb); 80 tag = get_le32(pb); 83 size = get_le32(pb); 89 ver = get_le16(pb); 94 get_byte(pb); // track no 95 get_byte(pb); // track sub index 96 wc->samples = get_le32(pb); // total samples in file 97 wc->soff = get_le32(pb); // offset in samples of current block 98 get_buffer(pb, w 153 ByteIOContext *pb = s->pb; local [all...] |
H A D | cafdec.c | 56 ByteIOContext *pb = s->pb; local 68 st->codec->sample_rate = av_int2dbl(get_be64(pb)); 69 st->codec->codec_tag = get_be32(pb); 70 flags = get_be32(pb); 71 caf->bytes_per_packet = get_be32(pb); 73 caf->frames_per_packet = get_be32(pb); 74 st->codec->channels = get_be32(pb); 75 st->codec->bits_per_coded_sample = get_be32(pb); 96 ByteIOContext *pb local 132 ByteIOContext *pb = s->pb; local 167 ByteIOContext *pb = s->pb; local 182 ByteIOContext *pb = s->pb; local 289 ByteIOContext *pb = s->pb; local [all...] |
H A D | mpegenc.c | 88 PutBitContext pb; local 90 init_put_bits(&pb, buf, 128); 92 put_bits32(&pb, PACK_START_CODE); 94 put_bits(&pb, 2, 0x1); 96 put_bits(&pb, 4, 0x2); 98 put_bits(&pb, 3, (uint32_t)((timestamp >> 30) & 0x07)); 99 put_bits(&pb, 1, 1); 100 put_bits(&pb, 15, (uint32_t)((timestamp >> 15) & 0x7fff)); 101 put_bits(&pb, 1, 1); 102 put_bits(&pb, 1 124 PutBitContext pb; local 492 put_timestamp(ByteIOContext *pb, int id, int64_t timestamp) argument 614 put_padding_packet(AVFormatContext *ctx, ByteIOContext *pb,int packet_bytes) argument [all...] |
H A D | xa.c | 69 ByteIOContext *pb = s->pb; local 79 url_fskip(pb, 4); /* Skip the XA ID */ 80 xa->out_size = get_le32(pb); 81 url_fskip(pb, 2); /* Skip the tag */ 82 st->codec->channels = get_le16(pb); 83 st->codec->sample_rate = get_le32(pb); 85 st->codec->bit_rate = get_le32(pb) * 8; 86 st->codec->block_align = get_le16(pb); 87 st->codec->bits_per_coded_sample = get_le16(pb); 99 ByteIOContext *pb = s->pb; local [all...] |
H A D | rpl.c | 50 static int read_line(ByteIOContext * pb, char* line, int bufsize) argument 54 int b = get_byte(pb); 79 static int32_t read_line_and_int(ByteIOContext * pb, int* error) argument 83 *error |= read_line(pb, line, sizeof(line)); 113 ByteIOContext *pb = s->pb; local 132 error |= read_line(pb, line, sizeof(line)); // ARMovie 133 error |= read_line(pb, line, sizeof(line)); // movie name 135 error |= read_line(pb, line, sizeof(line)); // date/copyright 137 error |= read_line(pb, lin 277 ByteIOContext *pb = s->pb; local [all...] |
H A D | avidec.c | 90 static int get_riff(AVFormatContext *s, ByteIOContext *pb) argument 97 get_buffer(pb, header, 4); 98 avi->riff_end = get_le32(pb); /* RIFF chunk size */ 99 avi->riff_end += url_ftell(pb); /* RIFF chunk end */ 100 get_buffer(pb, header+4, 4); 116 ByteIOContext *pb = s->pb; local 117 int longs_pre_entry= get_le16(pb); 118 int index_sub_type = get_byte(pb); 119 int index_type = get_byte(pb); 232 ByteIOContext *pb = s->pb; local 267 ByteIOContext *pb = s->pb; local 683 ByteIOContext *pb = s->pb; local 952 ByteIOContext *pb = s->pb; local 1037 ByteIOContext *pb = s->pb; local [all...] |
H A D | bethsoftvid.c | 63 ByteIOContext *pb = s->pb; local 70 url_fseek(pb, 5, SEEK_CUR); 71 vid->nframes = get_le16(pb); 79 stream->codec->width = get_le16(pb); 80 stream->codec->height = get_le16(pb); 82 vid->bethsoft_global_delay = get_le16(pb); 83 get_le16(pb); 100 static int read_frame(BVID_DemuxContext *vid, ByteIOContext *pb, AVPacket *pkt, argument 115 position = url_ftell(pb) 177 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 D | aiffdec.c | 50 static int get_tag(ByteIOContext *pb, uint32_t * tag) argument 54 if (url_feof(pb)) 57 *tag = get_le32(pb); 58 size = get_be32(pb); 73 url_fskip(s->pb, size); 77 res = get_buffer(s->pb, str, size); 86 static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec, argument 96 codec->channels = get_be16(pb); 97 num_frames = get_be32(pb); 98 codec->bits_per_coded_sample = get_be16(pb); 180 ByteIOContext *pb = s->pb; local [all...] |
H A D | wv.c | 72 static int wv_read_block_header(AVFormatContext *ctx, ByteIOContext *pb) argument 79 wc->pos = url_ftell(pb); 80 tag = get_le32(pb); 83 size = get_le32(pb); 89 ver = get_le16(pb); 94 get_byte(pb); // track no 95 get_byte(pb); // track sub index 96 wc->samples = get_le32(pb); // total samples in file 97 wc->soff = get_le32(pb); // offset in samples of current block 98 get_buffer(pb, w 153 ByteIOContext *pb = s->pb; local [all...] |
H A D | cafdec.c | 56 ByteIOContext *pb = s->pb; local 68 st->codec->sample_rate = av_int2dbl(get_be64(pb)); 69 st->codec->codec_tag = get_be32(pb); 70 flags = get_be32(pb); 71 caf->bytes_per_packet = get_be32(pb); 73 caf->frames_per_packet = get_be32(pb); 74 st->codec->channels = get_be32(pb); 75 st->codec->bits_per_coded_sample = get_be32(pb); 96 ByteIOContext *pb local 132 ByteIOContext *pb = s->pb; local 167 ByteIOContext *pb = s->pb; local 182 ByteIOContext *pb = s->pb; local 289 ByteIOContext *pb = s->pb; local [all...] |
H A D | mpegenc.c | 88 PutBitContext pb; local 90 init_put_bits(&pb, buf, 128); 92 put_bits32(&pb, PACK_START_CODE); 94 put_bits(&pb, 2, 0x1); 96 put_bits(&pb, 4, 0x2); 98 put_bits(&pb, 3, (uint32_t)((timestamp >> 30) & 0x07)); 99 put_bits(&pb, 1, 1); 100 put_bits(&pb, 15, (uint32_t)((timestamp >> 15) & 0x7fff)); 101 put_bits(&pb, 1, 1); 102 put_bits(&pb, 1 124 PutBitContext pb; local 492 put_timestamp(ByteIOContext *pb, int id, int64_t timestamp) argument 614 put_padding_packet(AVFormatContext *ctx, ByteIOContext *pb,int packet_bytes) argument [all...] |
H A D | xa.c | 69 ByteIOContext *pb = s->pb; local 79 url_fskip(pb, 4); /* Skip the XA ID */ 80 xa->out_size = get_le32(pb); 81 url_fskip(pb, 2); /* Skip the tag */ 82 st->codec->channels = get_le16(pb); 83 st->codec->sample_rate = get_le32(pb); 85 st->codec->bit_rate = get_le32(pb) * 8; 86 st->codec->block_align = get_le16(pb); 87 st->codec->bits_per_coded_sample = get_le16(pb); 99 ByteIOContext *pb = s->pb; local [all...] |
H A D | rpl.c | 50 static int read_line(ByteIOContext * pb, char* line, int bufsize) argument 54 int b = get_byte(pb); 79 static int32_t read_line_and_int(ByteIOContext * pb, int* error) argument 83 *error |= read_line(pb, line, sizeof(line)); 113 ByteIOContext *pb = s->pb; local 132 error |= read_line(pb, line, sizeof(line)); // ARMovie 133 error |= read_line(pb, line, sizeof(line)); // movie name 135 error |= read_line(pb, line, sizeof(line)); // date/copyright 137 error |= read_line(pb, lin 277 ByteIOContext *pb = s->pb; local [all...] |
H A D | avidec.c | 90 static int get_riff(AVFormatContext *s, ByteIOContext *pb) argument 97 get_buffer(pb, header, 4); 98 avi->riff_end = get_le32(pb); /* RIFF chunk size */ 99 avi->riff_end += url_ftell(pb); /* RIFF chunk end */ 100 get_buffer(pb, header+4, 4); 116 ByteIOContext *pb = s->pb; local 117 int longs_pre_entry= get_le16(pb); 118 int index_sub_type = get_byte(pb); 119 int index_type = get_byte(pb); 232 ByteIOContext *pb = s->pb; local 267 ByteIOContext *pb = s->pb; local 683 ByteIOContext *pb = s->pb; local 952 ByteIOContext *pb = s->pb; local 1037 ByteIOContext *pb = s->pb; local [all...] |