Searched refs:codec (Results 101 - 125 of 291) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dswfdec.c103 vst->codec->codec_type = CODEC_TYPE_VIDEO;
104 vst->codec->codec_id = codec_get_id(swf_codec_tags, get_byte(pb));
106 vst->codec->time_base = (AVRational){ 256, swf->frame_rate };
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);
125 ast->codec->sample_rate = 11025 << (sample_rate_code-1);
126 av_set_pts_info(ast, 64, 1, ast->codec->sample_rate);
133 if (st->codec->codec_type == CODEC_TYPE_VIDEO && st->id == ch_id) {
143 if (st->codec
[all...]
H A Dlmlm4.c65 st->codec->codec_type = CODEC_TYPE_VIDEO;
66 st->codec->codec_id = CODEC_ID_MPEG4;
72 st->codec->codec_type = CODEC_TYPE_AUDIO;
73 st->codec->codec_id = CODEC_ID_MP2;
H A Dtxd.c46 st->codec->codec_type = CODEC_TYPE_VIDEO;
47 st->codec->codec_id = CODEC_ID_TXD;
48 st->codec->time_base.den = 5;
49 st->codec->time_base.num = 1;
H A Dmpc.c100 st->codec->codec_type = CODEC_TYPE_AUDIO;
101 st->codec->codec_id = CODEC_ID_MUSEPACK7;
102 st->codec->channels = 2;
103 st->codec->bits_per_coded_sample = 16;
105 st->codec->extradata_size = 16;
106 st->codec->extradata = av_mallocz(st->codec->extradata_size+FF_INPUT_BUFFER_PADDING_SIZE);
107 get_buffer(s->pb, st->codec->extradata, 16);
108 st->codec->sample_rate = mpc_rate[st->codec
[all...]
H A Dpsxstr.c172 st->codec->codec_type = CODEC_TYPE_VIDEO;
173 st->codec->codec_id = CODEC_ID_MDEC;
174 st->codec->codec_tag = 0; /* no fourcc */
175 st->codec->width = AV_RL16(&sector[0x28]);
176 st->codec->height = AV_RL16(&sector[0x2A]);
219 st->codec->codec_type = CODEC_TYPE_AUDIO;
220 st->codec->codec_id = CODEC_ID_ADPCM_XA;
221 st->codec->codec_tag = 0; /* no fourcc */
222 st->codec->channels = (fmt&1)?2:1;
223 st->codec
[all...]
H A Dsiff.c76 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;
120 st->codec->codec_type = CODEC_TYPE_VIDEO;
121 st->codec->codec_id = CODEC_ID_VB;
122 st->codec->codec_tag = MKTAG('V', 'B', 'V', '1');
123 st->codec
[all...]
H A Dipmovie.c551 st->codec->codec_type = CODEC_TYPE_VIDEO;
552 st->codec->codec_id = CODEC_ID_INTERPLAY_VIDEO;
553 st->codec->codec_tag = 0; /* no fourcc */
554 st->codec->width = ipmovie->video_width;
555 st->codec->height = ipmovie->video_height;
558 st->codec->palctrl = &ipmovie->palette_control;
566 st->codec->codec_type = CODEC_TYPE_AUDIO;
567 st->codec->codec_id = ipmovie->audio_type;
568 st->codec->codec_tag = 0; /* no tag */
569 st->codec
[all...]
H A Draw.c76 st->codec->codec_type = CODEC_TYPE_VIDEO;
78 st->codec->codec_type = CODEC_TYPE_AUDIO;
80 st->codec->codec_id = id;
82 switch(st->codec->codec_type) {
84 st->codec->sample_rate = ap->sample_rate;
85 if(ap->channels) st->codec->channels = ap->channels;
86 else st->codec->channels = 1;
87 av_set_pts_info(st, 64, 1, st->codec->sample_rate);
94 st->codec->width = ap->width;
95 st->codec
[all...]
H A Davidec.c321 handler = get_le32(pb); /* codec tag */
359 av_freep(&s->streams[0]->codec->extradata);
389 st->codec->stream_codec_tag= handler;
452 st->codec->width=avih_width;
453 st->codec->height=avih_height;
454 st->codec->codec_type = CODEC_TYPE_VIDEO;
455 st->codec->codec_id = CODEC_ID_AMV;
460 st->codec->width = get_le32(pb);
461 st->codec->height = (int32_t)get_le32(pb);
463 st->codec
[all...]
H A Delectronicarts.c408 st->codec->codec_type = CODEC_TYPE_VIDEO;
409 st->codec->codec_id = ea->video_codec;
410 st->codec->codec_tag = 0; /* no fourcc */
411 st->codec->time_base = ea->time_base;
412 st->codec->width = ea->width;
413 st->codec->height = ea->height;
422 st->codec->codec_type = CODEC_TYPE_AUDIO;
423 st->codec->codec_id = ea->audio_codec;
424 st->codec->codec_tag = 0; /* no tag */
425 st->codec
[all...]
H A Ddxa.c99 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;
116 st->codec->codec_type = CODEC_TYPE_VIDEO;
117 st->codec->codec_id = CODEC_ID_DXA;
118 st->codec->width = w;
119 st->codec->height = h;
127 st->codec
[all...]
H A Dgxfenc.c32 AVCodecContext *codec; member in struct:GXFStreamContext
115 if (ctx->codec->height == gxf_lines_tab[i].height) {
188 if (ctx->codec->height == 512 || ctx->codec->height == 608)
190 else if (ctx->codec->height == 480)
197 (float)ctx->codec->bit_rate, ctx->p_per_gop, ctx->b_per_i_or_p,
198 ctx->codec->pix_fmt == PIX_FMT_YUV422P ? 2 : 1, ctx->first_gop_closed == 1,
199 starting_line, ctx->codec->height / 16);
236 if (stream->codec->codec_id != CODEC_ID_MPEG2VIDEO) {
240 if (stream->codec
[all...]
H A Dwc3movie.c248 st->codec->codec_type = CODEC_TYPE_VIDEO;
249 st->codec->codec_id = CODEC_ID_XAN_WC3;
250 st->codec->codec_tag = 0; /* no fourcc */
251 st->codec->width = wc3->width;
252 st->codec->height = wc3->height;
255 st->codec->palctrl = &wc3->palette_control;
262 st->codec->codec_type = CODEC_TYPE_AUDIO;
263 st->codec->codec_id = CODEC_ID_PCM_S16LE;
264 st->codec->codec_tag = 1;
265 st->codec
[all...]
H A Daudiointerleave.c35 if (st->codec->codec_type == CODEC_TYPE_AUDIO)
53 if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
54 aic->sample_size = (st->codec->channels *
55 av_get_bits_per_sample(st->codec->codec_id)) / 8;
106 if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
125 if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
H A Dvocenc.c36 || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO)
50 AVCodecContext *enc = s->streams[0]->codec;
63 if (s->streams[0]->codec->channels > 1) {
H A Dutils.c379 st->codec->codec_id = CODEC_ID_MP3;
380 st->codec->codec_type = CODEC_TYPE_AUDIO;
382 st->codec->codec_id = CODEC_ID_AC3;
383 st->codec->codec_type = CODEC_TYPE_AUDIO;
385 st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
386 st->codec->codec_type = CODEC_TYPE_VIDEO;
388 st->codec->codec_id = CODEC_ID_MPEG4;
389 st->codec->codec_type = CODEC_TYPE_VIDEO;
391 st->codec->codec_id = CODEC_ID_H264;
392 st->codec
1904 AVCodec *codec; local
[all...]
H A Dassenc.c31 AVCodecContext *avctx= s->streams[0]->codec;
70 AVCodecContext *avctx= s->streams[0]->codec;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/codecs/
H A Dsnd-aoa-codec-onyx.c2 * Apple Onboard Audio driver for Onyx codec
9 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
12 * The Onyx codec has the following connections (listed by the bit
38 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
40 #include "snd-aoa-codec-onyx.h"
45 #define PFX "snd-aoa-codec-onyx: "
51 struct aoa_codec codec; member in struct:onyx
64 #define codec_to_onyx(c) container_of(c, struct onyx, codec)
786 onyx->codec.gpio->methods->all_amps_off(onyx->codec
867 onyx_init_codec(struct aoa_codec *codec) argument
989 onyx_exit_codec(struct aoa_codec *codec) argument
[all...]
H A Dsnd-aoa-codec-tas.c2 * Apple Onboard Audio driver for tas codec
12 * - This codec driver doesn't honour the 'connected'
18 * the input. This should also be a codec-dependent
19 * flag, maybe the codec should have 3 different
50 * codec to refine the transfer_info items in the
55 * a 'clock group id' value so the codec can
72 MODULE_DESCRIPTION("tas codec driver for snd-aoa");
74 #include "snd-aoa-codec-tas.h"
75 #include "snd-aoa-codec-tas-gain-table.h"
76 #include "snd-aoa-codec
84 struct aoa_codec codec; member in struct:tas
103 codec_to_tas(struct aoa_codec *codec) argument
800 tas_init_codec(struct aoa_codec *codec) argument
873 tas_exit_codec(struct aoa_codec *codec) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dac97_codec.h86 #define AC97_GP_RLBK 0x0400 /* Remote Loopback - Modem line codec */
87 #define AC97_GP_LLBK 0x0800 /* Local Loopback - Modem Line codec */
268 u16 (*codec_read) (struct ac97_codec *codec, u8 reg);
269 void (*codec_write) (struct ac97_codec *codec, u8 reg, u16 val);
271 /* Wait for codec-ready. Ok to sleep here. */
272 void (*codec_wait) (struct ac97_codec *codec);
275 void (*codec_unregister) (struct ac97_codec *codec);
294 int (*read_mixer) (struct ac97_codec *codec, int oss_channel);
295 void (*write_mixer)(struct ac97_codec *codec, int oss_channel,
297 int (*recmask_io) (struct ac97_codec *codec, in
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/
H A Dffmpeg.c268 AVFifoBuffer fifo; /* for compression: one audio fifo per codec */
396 av_free(s->streams[j]->codec);
459 st->codec = avcodec_alloc_context();
460 memcpy(st->codec, ic->streams[i]->codec, sizeof(AVCodecContext));
463 if (st->codec->codec_type == CODEC_TYPE_AUDIO && audio_stream_copy)
465 else if (st->codec->codec_type == CODEC_TYPE_VIDEO && video_stream_copy)
468 if(!st->codec->thread_count)
469 st->codec->thread_count = 1;
470 if(st->codec
1556 AVCodecContext *codec, *icodec; local
1940 AVCodec *codec = output_codecs[i]; local
1961 AVCodec *codec = input_codecs[i]; local
2766 AVCodec *codec; local
3025 AVCodec *codec; local
3159 AVCodec *codec; local
[all...]
H A Doutput_example.c70 c = st->codec;
84 AVCodec *codec; local
86 c = st->codec;
89 codec = avcodec_find_encoder(c->codec_id);
90 if (!codec) {
91 fprintf(stderr, "codec not found\n");
96 if (avcodec_open(c, codec) < 0) {
97 fprintf(stderr, "could not open codec\n");
114 switch(st->codec->codec_id) {
153 c = st->codec;
255 AVCodec *codec; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/test/
H A Dutil.c13 function: utility functions for vorbis codec test suite.
24 #include <vorbis/codec.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/
H A Dac97_pcm.c244 * Changes the rate of the given input/output on the codec.
245 * If the codec doesn't support VAR, the rate must be 48000 (except
251 * if the codec supports them.
425 rates &= pcm->r[dbl].codec[cidx]->rates[idx];
445 struct snd_ac97 *codec; local
454 codec = bus->codec[i];
455 if (!codec)
457 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]);
458 avail_slots[1][i] = get_cslots(codec);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/opti9xx/
H A Dopti92x-ad1848.c1093 struct snd_opti93x *codec = dev_id; local
1096 status = snd_opti9xx_read(codec->chip, OPTi9XX_MC_REG(11));
1097 if ((status & OPTi93X_IRQ_PLAYBACK) && codec->playback_substream)
1098 snd_pcm_period_elapsed(codec->playback_substream);
1099 if ((status & OPTi93X_IRQ_CAPTURE) && codec->capture_substream) {
1100 snd_opti93x_overrange(codec);
1101 snd_pcm_period_elapsed(codec->capture_substream);
1103 outb(0x00, OPTi93X_PORT(codec, STATUS));
1246 static const char *snd_opti93x_chip_id(struct snd_opti93x *codec) argument
1248 switch (codec
1264 struct snd_opti93x *codec; local
1345 snd_opti93x_pcm(struct snd_opti93x *codec, int device, struct snd_pcm **rpcm) argument
1727 struct snd_opti93x *codec; local
1729 struct snd_cs4231 *codec; local
1732 struct snd_ad1848 *codec; local
[all...]

Completed in 407 milliseconds

1234567891011>>