Searched refs:ast (Results 1 - 19 of 19) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dnuv.c54 * \param ast video stream of which to change parameters
59 AVStream *ast, int myth) {
95 if (ast) {
96 ast->codec->codec_tag = get_le32(pb);
97 ast->codec->sample_rate = get_le32(pb);
98 ast->codec->bits_per_coded_sample = get_le32(pb);
99 ast->codec->channels = get_le32(pb);
100 ast->codec->codec_id =
101 wav_codec_get_id(ast->codec->codec_tag,
102 ast
58 get_codec_data(ByteIOContext *pb, AVStream *vst, AVStream *ast, int myth) argument
130 AVStream *vst = NULL, *ast = NULL; local
[all...]
H A Dmvi.c42 AVStream *ast, *vst; local
45 ast = av_new_stream(s, 0);
46 if (!ast)
64 ast->codec->sample_rate = get_le16(pb);
79 av_set_pts_info(ast, 64, 1, ast->codec->sample_rate);
80 ast->codec->codec_type = CODEC_TYPE_AUDIO;
81 ast->codec->codec_id = CODEC_ID_PCM_U8;
82 ast->codec->channels = 1;
83 ast
[all...]
H A Drpl.c115 AVStream *vst = NULL, *ast = NULL; local
183 ast = av_new_stream(s, 0);
184 if (!ast)
186 ast->codec->codec_type = CODEC_TYPE_AUDIO;
187 ast->codec->codec_tag = audio_format;
188 ast->codec->sample_rate = read_line_and_int(pb, &error); // audio bitrate
189 ast->codec->channels = read_line_and_int(pb, &error); // number of audio channels
190 ast->codec->bits_per_coded_sample = read_line_and_int(pb, &error); // audio bits per sample
193 if (ast->codec->bits_per_coded_sample == 0)
194 ast
[all...]
H A Davidec.c125 AVIStream *ast; local
138 ast = st->priv_data;
174 av_add_index_entry(st, pos, ast->cum_len / FFMAX(1, ast->sample_size), len, 0, key ? AVINDEX_KEYFRAME : 0);
176 if(ast->sample_size)
177 ast->cum_len += len;
179 ast->cum_len ++;
210 AVIStream *ast = st->priv_data; local
212 int max= ast->sample_size;
215 if(n != 1 || ast
252 AVIStream *ast = NULL; local
673 AVIStream *ast = st->priv_data; local
720 AVIStream *ast= st->priv_data; local
825 AVIStream *ast; local
906 AVIStream *ast; local
[all...]
H A Drmdec.c94 AVStream *st, RMStream *ast, int read_all)
125 ast->coded_framesize = coded_framesize = get_be32(pb); /* coded frame size */
129 ast->sub_packet_h = sub_packet_h = get_be16(pb); /* 1 */
131 ast->sub_packet_size = sub_packet_size = get_be16(pb); /* sub packet size */
154 ast->audio_framesize = st->codec->block_align;
157 if(ast->audio_framesize >= UINT_MAX / sub_packet_h){
158 av_log(s, AV_LOG_ERROR, "ast->audio_framesize * sub_packet_h too large\n");
162 av_new_packet(&ast->pkt, ast->audio_framesize * sub_packet_h);
185 ast
93 rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb, AVStream *st, RMStream *ast, int read_all) argument
576 ff_rm_parse_packet(AVFormatContext *s, ByteIOContext *pb, AVStream *st, RMStream *ast, int len, AVPacket *pkt, int *seq, int *flags, int64_t *timestamp) argument
675 ff_rm_retrieve_cache(AVFormatContext *s, ByteIOContext *pb, AVStream *st, RMStream *ast, AVPacket *pkt) argument
711 RMStream *ast; local
[all...]
H A Dswfdec.c86 AVStream *vst = NULL, *ast = NULL, *st = 0; local
108 } else if ((tag == TAG_STREAMHEAD || tag == TAG_STREAMHEAD2) && !ast) {
114 ast = av_new_stream(s, -1); /* -1 to avoid clash with video stream ch_id */
115 if (!ast)
117 swf->audio_stream_index = ast->index;
118 ast->codec->channels = 1 + (v&1);
119 ast->codec->codec_type = CODEC_TYPE_AUDIO;
120 ast->codec->codec_id = codec_get_id(swf_audio_codec_tags, (v>>4) & 15);
121 ast->need_parsing = AVSTREAM_PARSE_FULL;
125 ast
[all...]
H A Dsiff.c72 AVStream *ast; local
73 ast = av_new_stream(s, 0);
74 if (!ast)
76 ast->codec->codec_type = CODEC_TYPE_AUDIO;
77 ast->codec->codec_id = CODEC_ID_PCM_U8;
78 ast->codec->channels = 1;
79 ast->codec->bits_per_coded_sample = c->bits;
80 ast->codec->sample_rate = c->rate;
81 ast->codec->frame_size = c->block_align;
82 av_set_pts_info(ast, 1
[all...]
H A Dsmacker.c103 AVStream *st, *ast[7]; local
176 ast[i] = av_new_stream(s, 0);
177 smk->indexes[i] = ast[i]->index;
178 ast[i]->codec->codec_type = CODEC_TYPE_AUDIO;
179 ast[i]->codec->codec_id = (smk->rates[i] & SMK_AUD_PACKED) ? CODEC_ID_SMACKAUDIO : CODEC_ID_PCM_U8;
180 ast[i]->codec->codec_tag = MKTAG('S', 'M', 'K', 'A');
181 ast[i]->codec->channels = (smk->rates[i] & SMK_AUD_STEREO) ? 2 : 1;
182 ast[i]->codec->sample_rate = smk->rates[i] & 0xFFFFFF;
183 ast[i]->codec->bits_per_coded_sample = (smk->rates[i] & SMK_AUD_16BITS) ? 16 : 8;
184 if(ast[
[all...]
H A Ddxa.c51 AVStream *st, *ast; local
96 ast = av_new_stream(s, 0);
97 if (!ast)
99 get_wav_header(pb, ast->codec, fsize);
108 if(ast->codec->block_align)
109 c->bpc = ((c->bpc + ast->codec->block_align - 1) / ast->codec->block_align) * ast->codec->block_align;
H A Ddv.c41 AVStream* ast[4]; member in struct:DVDemuxContext
212 if (!c->ast[i]) {
213 c->ast[i] = av_new_stream(c->fctx, 0);
214 if (!c->ast[i])
216 av_set_pts_info(c->ast[i], 64, 1, 30000);
217 c->ast[i]->codec->codec_type = CODEC_TYPE_AUDIO;
218 c->ast[i]->codec->codec_id = CODEC_ID_PCM_S16LE;
223 c->audio_pkt[i].stream_index = c->ast[i]->index;
226 c->ast[i]->codec->sample_rate = dv_audio_frequency[freq];
227 c->ast[
[all...]
H A Ddvenc.c40 AVStream *ast[2]; /* stereo audio streams */ member in struct:DVMuxContext
251 for (i = 0; i < c->n_ast && st != c->ast[i]; i++);
297 c->ast[0] = c->ast[1] = NULL;
308 c->ast[c->n_ast++] = s->streams[i];
319 if (c->ast[i] && (c->ast[i]->codec->codec_id != CODEC_ID_PCM_S16LE ||
320 c->ast[i]->codec->sample_rate != 48000 ||
321 c->ast[i]->codec->channels != 2))
340 if (c->ast[
[all...]
H A Dr3d.c89 AVStream *ast = av_new_stream(s, 1); local
90 ast->codec->codec_type = CODEC_TYPE_AUDIO;
91 ast->codec->codec_id = CODEC_ID_PCM_S32BE;
92 ast->codec->channels = tmp;
93 av_set_pts_info(ast, 32, 1, st->time_base.den);
H A Dnsvdec.c689 NSVStream *ast;
709 NSVStream *ast = st->priv_data;
710 if(ast){
711 av_free(ast->index_entries);
712 av_free(ast);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/dlm/
H A DMakefile2 dlm-y := ast.o \
H A Dlock.c68 #include "ast.h"
1725 int namelen, uint32_t parent_lkid, void *ast,
1762 if (!ast || !lksb)
1780 args->astaddr = ast;
2253 void (*ast) (void *astarg),
2276 error = set_lock_args(mode, lksb, flags, namelen, parent_lkid, ast,
1724 set_lock_args(int mode, struct dlm_lksb *lksb, uint32_t flags, int namelen, uint32_t parent_lkid, void *ast, void *astarg, void *bast, struct dlm_args *args) argument
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ocfs2/dlm/
H A Ddlmlock.c135 /* for the recovery lock, we can't allow the ast
138 * with LKM_NOQUEUE so we do not need the ast in
174 /* either queue the ast or release it */
262 "mastered by %u; got lock, manually granting (no ast)\n",
394 newlock->ast = NULL;
548 const char *name, int namelen, dlm_astlockfunc_t *ast,
607 if (lock->lksb != lksb || lock->ast != ast ||
610 mlog(ML_ERROR, "new args: lksb=%p, ast=%p, bast=%p, "
611 "astdata=%p\n", lksb, ast, bas
546 dlmlock(struct dlm_ctxt *dlm, int mode, struct dlm_lockstatus *lksb, int flags, const char *name, int namelen, dlm_astlockfunc_t *ast, void *data, dlm_bastlockfunc_t *bast) argument
[all...]
H A Ddlmapi.h186 dlm_astlockfunc_t *ast,
H A Ddlmast.c58 /* Should be called as an ast gets queued to see if the new
63 * Only the ast should be sent.
103 mlog(ML_ERROR, "ast list not empty!! pending=%d, newlevel=%d\n",
109 mlog(0, "lock has an ast getting flushed right now\n");
115 /* check to see if this ast obsoletes the bast */
129 * ast because *both* an ast and a bast were reserved
224 fn = lock->ast;
248 * go do the ast over there */
295 mlog(ML_ERROR, "Invalid name length in proxy ast handle
[all...]
H A Ddlmcommon.h308 // ast and bast must be callable while holding a spinlock!
309 dlm_astlockfunc_t *ast; member in struct:dlm_lock

Completed in 133 milliseconds