/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavcodec/ |
H A D | flvenc.c | 28 align_put_bits(&s->pb); 30 put_bits(&s->pb, 17, 1); 31 put_bits(&s->pb, 5, (s->h263_flv-1)); /* 0: h263 escape codes 1: 11-bit escape codes */ 32 put_bits(&s->pb, 8, (((int64_t)s->picture_number * 30 * s->avctx->time_base.num) / //FIXME use timestamp 48 put_bits(&s->pb, 3, format); /* PictureSize */ 50 put_bits(&s->pb, 8, s->width); 51 put_bits(&s->pb, 8, s->height); 53 put_bits(&s->pb, 16, s->width); 54 put_bits(&s->pb, 16, s->height); 56 put_bits(&s->pb, 70 ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, int last) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavformat/ |
H A D | gxfenc.c | 116 static void gxf_write_padding(ByteIOContext *pb, int64_t to_pad) argument 119 put_byte(pb, 0); 123 static int64_t updatePacketSize(ByteIOContext *pb, int64_t pos) argument 128 size = url_ftell(pb) - pos; 130 gxf_write_padding(pb, 4 - size % 4); 131 size = url_ftell(pb) - pos; 133 curpos = url_ftell(pb); 134 url_fseek(pb, pos + 6, SEEK_SET); 135 put_be32(pb, size); 136 url_fseek(pb, curpo 140 updateSize(ByteIOContext *pb, int64_t pos) argument 151 gxf_write_packet_header(ByteIOContext *pb, GXFPktType type) argument 162 gxf_write_mpeg_auxiliary(ByteIOContext *pb, AVStream *st) argument 200 gxf_write_timecode_auxiliary(ByteIOContext *pb, GXFStreamContext *sc) argument 213 ByteIOContext *pb = s->pb; local 270 ByteIOContext *pb = s->pb; local 318 ByteIOContext *pb = s->pb; local 335 ByteIOContext *pb = s->pb; local 365 ByteIOContext *pb = s->pb; local 390 ByteIOContext *pb = s->pb; local 421 ByteIOContext *pb = s->pb; local 440 ByteIOContext *pb = s->pb; local 458 gxf_write_umf_media_mpeg(ByteIOContext *pb, AVStream *st) argument 481 gxf_write_umf_media_timecode(ByteIOContext *pb, GXFStreamContext *sc) argument 494 gxf_write_umf_media_dv(ByteIOContext *pb, GXFStreamContext *sc) argument 504 gxf_write_umf_media_audio(ByteIOContext *pb, GXFStreamContext *sc) argument 529 ByteIOContext *pb = s->pb; local 590 ByteIOContext *pb = s->pb; local 627 ByteIOContext *pb = s->pb; local 752 gxf_write_eos_packet(ByteIOContext *pb) argument 763 ByteIOContext *pb = s->pb; local 807 ByteIOContext *pb = s->pb; local 854 ByteIOContext *pb = s->pb; local [all...] |
H A D | adtsenc.c | 32 PutBitContext pb; local 60 init_put_bits(&pb, adts->pce_data, MAX_PCE_SIZE); 62 put_bits(&pb, 3, 5); //ID_PCE 63 adts->pce_size = (ff_copy_pce_data(&pb, &gb) + 3) / 8; 64 flush_put_bits(&pb); 87 PutBitContext pb; local 89 init_put_bits(&pb, buf, ADTS_HEADER_SIZE); 92 put_bits(&pb, 12, 0xfff); /* syncword */ 93 put_bits(&pb, 1, 0); /* ID */ 94 put_bits(&pb, 118 ByteIOContext *pb = s->pb; local [all...] |
H A D | soxenc.c | 43 ByteIOContext *pb = s->pb; local 56 put_tag(pb, ".SoX"); 57 put_le32(pb, sox->header_size); 58 put_le64(pb, 0); /* number of samples */ 59 put_le64(pb, av_dbl2int(enc->sample_rate)); 60 put_le32(pb, enc->channels); 61 put_le32(pb, comment_size); 63 put_tag(pb, "XoS."); 64 put_be32(pb, so 87 ByteIOContext *pb = s->pb; local 95 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.h | 29 int ff_flac_write_header(ByteIOContext *pb, AVCodecContext *codec,
|
H A D | ffmenc.c | 30 ByteIOContext *pb = s->pb; local 35 if (url_ftell(pb) % ffm->packet_size) 39 put_be16(pb, PACKET_ID); 40 put_be16(pb, fill_size); 41 put_be64(pb, ffm->dts); 45 put_be16(pb, h); 46 put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet); 47 put_flush_packet(pb); 87 ByteIOContext *pb local 231 ByteIOContext *pb = s->pb; local [all...] |
H A D | aiffenc.c | 34 ByteIOContext *pb = s->pb; local 46 put_tag(pb, "FORM"); 47 aiff->form = url_ftell(pb); 48 put_be32(pb, 0); /* file length */ 49 put_tag(pb, aifc ? "AIFC" : "AIFF"); 58 put_tag(pb, "FVER"); 59 put_be32(pb, 4); 60 put_be32(pb, 0xA2805140); 64 put_tag(pb, "COM 107 ByteIOContext *pb = s->pb; local 114 ByteIOContext *pb = s->pb; local [all...] |
H A D | flvenc.c | 140 static void put_amf_string(ByteIOContext *pb, const char *str) argument 143 put_be16(pb, len); 144 put_buffer(pb, str, len); 147 static void put_amf_double(ByteIOContext *pb, double d) argument 149 put_byte(pb, AMF_DATA_TYPE_NUMBER); 150 put_be64(pb, av_dbl2int(d)); 153 static void put_amf_bool(ByteIOContext *pb, int b) { argument 154 put_byte(pb, AMF_DATA_TYPE_BOOL); 155 put_byte(pb, !!b); 160 ByteIOContext *pb local 310 ByteIOContext *pb = s->pb; local 327 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.c | 30 static int flac_write_block_padding(ByteIOContext *pb, unsigned int n_padding_bytes, argument 33 put_byte(pb, last_block ? 0x81 : 0x01); 34 put_be24(pb, n_padding_bytes); 36 put_byte(pb, 0); 42 static int flac_write_block_comment(ByteIOContext *pb, AVMetadata *m, argument 59 put_buffer(pb, p0, len+4); 71 ret = ff_flac_write_header(s->pb, codec, 0); 75 ret = flac_write_block_comment(s->pb, s->metadata, 0, 84 flac_write_block_padding(s->pb, 8192, 1); 91 ByteIOContext *pb local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavformat/ |
H A D | gxfenc.c | 116 static void gxf_write_padding(ByteIOContext *pb, int64_t to_pad) argument 119 put_byte(pb, 0); 123 static int64_t updatePacketSize(ByteIOContext *pb, int64_t pos) argument 128 size = url_ftell(pb) - pos; 130 gxf_write_padding(pb, 4 - size % 4); 131 size = url_ftell(pb) - pos; 133 curpos = url_ftell(pb); 134 url_fseek(pb, pos + 6, SEEK_SET); 135 put_be32(pb, size); 136 url_fseek(pb, curpo 140 updateSize(ByteIOContext *pb, int64_t pos) argument 151 gxf_write_packet_header(ByteIOContext *pb, GXFPktType type) argument 162 gxf_write_mpeg_auxiliary(ByteIOContext *pb, AVStream *st) argument 200 gxf_write_timecode_auxiliary(ByteIOContext *pb, GXFStreamContext *sc) argument 213 ByteIOContext *pb = s->pb; local 270 ByteIOContext *pb = s->pb; local 318 ByteIOContext *pb = s->pb; local 335 ByteIOContext *pb = s->pb; local 365 ByteIOContext *pb = s->pb; local 390 ByteIOContext *pb = s->pb; local 421 ByteIOContext *pb = s->pb; local 440 ByteIOContext *pb = s->pb; local 458 gxf_write_umf_media_mpeg(ByteIOContext *pb, AVStream *st) argument 481 gxf_write_umf_media_timecode(ByteIOContext *pb, GXFStreamContext *sc) argument 494 gxf_write_umf_media_dv(ByteIOContext *pb, GXFStreamContext *sc) argument 504 gxf_write_umf_media_audio(ByteIOContext *pb, GXFStreamContext *sc) argument 529 ByteIOContext *pb = s->pb; local 590 ByteIOContext *pb = s->pb; local 627 ByteIOContext *pb = s->pb; local 752 gxf_write_eos_packet(ByteIOContext *pb) argument 763 ByteIOContext *pb = s->pb; local 807 ByteIOContext *pb = s->pb; local 854 ByteIOContext *pb = s->pb; local [all...] |
H A D | adtsenc.c | 32 PutBitContext pb; local 60 init_put_bits(&pb, adts->pce_data, MAX_PCE_SIZE); 62 put_bits(&pb, 3, 5); //ID_PCE 63 adts->pce_size = (ff_copy_pce_data(&pb, &gb) + 3) / 8; 64 flush_put_bits(&pb); 87 PutBitContext pb; local 89 init_put_bits(&pb, buf, ADTS_HEADER_SIZE); 92 put_bits(&pb, 12, 0xfff); /* syncword */ 93 put_bits(&pb, 1, 0); /* ID */ 94 put_bits(&pb, 118 ByteIOContext *pb = s->pb; local [all...] |
H A D | soxenc.c | 43 ByteIOContext *pb = s->pb; local 56 put_tag(pb, ".SoX"); 57 put_le32(pb, sox->header_size); 58 put_le64(pb, 0); /* number of samples */ 59 put_le64(pb, av_dbl2int(enc->sample_rate)); 60 put_le32(pb, enc->channels); 61 put_le32(pb, comment_size); 63 put_tag(pb, "XoS."); 64 put_be32(pb, so 87 ByteIOContext *pb = s->pb; local 95 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.h | 29 int ff_flac_write_header(ByteIOContext *pb, AVCodecContext *codec,
|
H A D | ffmenc.c | 30 ByteIOContext *pb = s->pb; local 35 if (url_ftell(pb) % ffm->packet_size) 39 put_be16(pb, PACKET_ID); 40 put_be16(pb, fill_size); 41 put_be64(pb, ffm->dts); 45 put_be16(pb, h); 46 put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet); 47 put_flush_packet(pb); 87 ByteIOContext *pb local 231 ByteIOContext *pb = s->pb; local [all...] |
H A D | aiffenc.c | 34 ByteIOContext *pb = s->pb; local 46 put_tag(pb, "FORM"); 47 aiff->form = url_ftell(pb); 48 put_be32(pb, 0); /* file length */ 49 put_tag(pb, aifc ? "AIFC" : "AIFF"); 58 put_tag(pb, "FVER"); 59 put_be32(pb, 4); 60 put_be32(pb, 0xA2805140); 64 put_tag(pb, "COM 107 ByteIOContext *pb = s->pb; local 114 ByteIOContext *pb = s->pb; local [all...] |
H A D | flvenc.c | 140 static void put_amf_string(ByteIOContext *pb, const char *str) argument 143 put_be16(pb, len); 144 put_buffer(pb, str, len); 147 static void put_amf_double(ByteIOContext *pb, double d) argument 149 put_byte(pb, AMF_DATA_TYPE_NUMBER); 150 put_be64(pb, av_dbl2int(d)); 153 static void put_amf_bool(ByteIOContext *pb, int b) { argument 154 put_byte(pb, AMF_DATA_TYPE_BOOL); 155 put_byte(pb, !!b); 160 ByteIOContext *pb local 310 ByteIOContext *pb = s->pb; local 327 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.c | 30 static int flac_write_block_padding(ByteIOContext *pb, unsigned int n_padding_bytes, argument 33 put_byte(pb, last_block ? 0x81 : 0x01); 34 put_be24(pb, n_padding_bytes); 36 put_byte(pb, 0); 42 static int flac_write_block_comment(ByteIOContext *pb, AVMetadata *m, argument 59 put_buffer(pb, p0, len+4); 71 ret = ff_flac_write_header(s->pb, codec, 0); 75 ret = flac_write_block_comment(s->pb, s->metadata, 0, 84 flac_write_block_padding(s->pb, 8192, 1); 91 ByteIOContext *pb local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/ffmpeg/libavformat/ |
H A D | gxfenc.c | 116 static void gxf_write_padding(ByteIOContext *pb, int64_t to_pad) argument 119 put_byte(pb, 0); 123 static int64_t updatePacketSize(ByteIOContext *pb, int64_t pos) argument 128 size = url_ftell(pb) - pos; 130 gxf_write_padding(pb, 4 - size % 4); 131 size = url_ftell(pb) - pos; 133 curpos = url_ftell(pb); 134 url_fseek(pb, pos + 6, SEEK_SET); 135 put_be32(pb, size); 136 url_fseek(pb, curpo 140 updateSize(ByteIOContext *pb, int64_t pos) argument 151 gxf_write_packet_header(ByteIOContext *pb, GXFPktType type) argument 162 gxf_write_mpeg_auxiliary(ByteIOContext *pb, AVStream *st) argument 200 gxf_write_timecode_auxiliary(ByteIOContext *pb, GXFStreamContext *sc) argument 213 ByteIOContext *pb = s->pb; local 270 ByteIOContext *pb = s->pb; local 318 ByteIOContext *pb = s->pb; local 335 ByteIOContext *pb = s->pb; local 365 ByteIOContext *pb = s->pb; local 390 ByteIOContext *pb = s->pb; local 421 ByteIOContext *pb = s->pb; local 440 ByteIOContext *pb = s->pb; local 458 gxf_write_umf_media_mpeg(ByteIOContext *pb, AVStream *st) argument 481 gxf_write_umf_media_timecode(ByteIOContext *pb, GXFStreamContext *sc) argument 494 gxf_write_umf_media_dv(ByteIOContext *pb, GXFStreamContext *sc) argument 504 gxf_write_umf_media_audio(ByteIOContext *pb, GXFStreamContext *sc) argument 529 ByteIOContext *pb = s->pb; local 590 ByteIOContext *pb = s->pb; local 627 ByteIOContext *pb = s->pb; local 752 gxf_write_eos_packet(ByteIOContext *pb) argument 763 ByteIOContext *pb = s->pb; local 807 ByteIOContext *pb = s->pb; local 854 ByteIOContext *pb = s->pb; local [all...] |
H A D | adtsenc.c | 32 PutBitContext pb; local 60 init_put_bits(&pb, adts->pce_data, MAX_PCE_SIZE); 62 put_bits(&pb, 3, 5); //ID_PCE 63 adts->pce_size = (ff_copy_pce_data(&pb, &gb) + 3) / 8; 64 flush_put_bits(&pb); 87 PutBitContext pb; local 89 init_put_bits(&pb, buf, ADTS_HEADER_SIZE); 92 put_bits(&pb, 12, 0xfff); /* syncword */ 93 put_bits(&pb, 1, 0); /* ID */ 94 put_bits(&pb, 118 ByteIOContext *pb = s->pb; local [all...] |
H A D | soxenc.c | 43 ByteIOContext *pb = s->pb; local 56 put_tag(pb, ".SoX"); 57 put_le32(pb, sox->header_size); 58 put_le64(pb, 0); /* number of samples */ 59 put_le64(pb, av_dbl2int(enc->sample_rate)); 60 put_le32(pb, enc->channels); 61 put_le32(pb, comment_size); 63 put_tag(pb, "XoS."); 64 put_be32(pb, so 87 ByteIOContext *pb = s->pb; local 95 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.h | 29 int ff_flac_write_header(ByteIOContext *pb, AVCodecContext *codec,
|
H A D | ffmenc.c | 30 ByteIOContext *pb = s->pb; local 35 if (url_ftell(pb) % ffm->packet_size) 39 put_be16(pb, PACKET_ID); 40 put_be16(pb, fill_size); 41 put_be64(pb, ffm->dts); 45 put_be16(pb, h); 46 put_buffer(pb, ffm->packet, ffm->packet_end - ffm->packet); 47 put_flush_packet(pb); 87 ByteIOContext *pb local 231 ByteIOContext *pb = s->pb; local [all...] |
H A D | aiffenc.c | 34 ByteIOContext *pb = s->pb; local 46 put_tag(pb, "FORM"); 47 aiff->form = url_ftell(pb); 48 put_be32(pb, 0); /* file length */ 49 put_tag(pb, aifc ? "AIFC" : "AIFF"); 58 put_tag(pb, "FVER"); 59 put_be32(pb, 4); 60 put_be32(pb, 0xA2805140); 64 put_tag(pb, "COM 107 ByteIOContext *pb = s->pb; local 114 ByteIOContext *pb = s->pb; local [all...] |
H A D | flvenc.c | 140 static void put_amf_string(ByteIOContext *pb, const char *str) argument 143 put_be16(pb, len); 144 put_buffer(pb, str, len); 147 static void put_amf_double(ByteIOContext *pb, double d) argument 149 put_byte(pb, AMF_DATA_TYPE_NUMBER); 150 put_be64(pb, av_dbl2int(d)); 153 static void put_amf_bool(ByteIOContext *pb, int b) { argument 154 put_byte(pb, AMF_DATA_TYPE_BOOL); 155 put_byte(pb, !!b); 160 ByteIOContext *pb local 310 ByteIOContext *pb = s->pb; local 327 ByteIOContext *pb = s->pb; local [all...] |
H A D | flacenc.c | 30 static int flac_write_block_padding(ByteIOContext *pb, unsigned int n_padding_bytes, argument 33 put_byte(pb, last_block ? 0x81 : 0x01); 34 put_be24(pb, n_padding_bytes); 36 put_byte(pb, 0); 42 static int flac_write_block_comment(ByteIOContext *pb, AVMetadata *m, argument 59 put_buffer(pb, p0, len+4); 71 ret = ff_flac_write_header(s->pb, codec, 0); 75 ret = flac_write_block_comment(s->pb, s->metadata, 0, 84 flac_write_block_padding(s->pb, 8192, 1); 91 ByteIOContext *pb local [all...] |