Searched refs:avctx (Results 401 - 425 of 1129) sorted by relevance

<<11121314151617181920>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Daudio_frame_queue.c28 av_cold void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq) argument
30 afq->avctx = avctx;
31 afq->remaining_delay = avctx->delay;
32 afq->remaining_samples = avctx->delay;
39 av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count);
57 afq->avctx->time_base,
58 (AVRational){ 1, afq->avctx->sample_rate });
61 av_log(afq->avctx, AV_LOG_WARNING, "Queue input is backward in time\n");
87 av_log(afq->avctx, AV_LOG_WARNIN
[all...]
H A Dmjpegdec.c95 if (s->avctx->debug & FF_DEBUG_PICT_INFO)
96 av_log(s->avctx, AV_LOG_INFO, "AVID: len:%d %d\n", len, len > 14 ? buf[12] : -1);
99 av_cold int ff_mjpeg_decode_init(AVCodecContext *avctx) argument
101 MJpegDecodeContext *s = avctx->priv_data;
110 s->avctx = avctx;
111 ff_blockdsp_init(&s->bdsp, avctx);
112 ff_hpeldsp_init(&s->hdsp, avctx->flags);
113 ff_idctdsp_init(&s->idsp, avctx);
121 s->org_height = avctx
1885 ff_mjpeg_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument
2230 ff_mjpeg_decode_end(AVCodecContext *avctx) argument
2262 decode_flush(AVCodecContext *avctx) argument
[all...]
H A Dgsm_parser.c38 static int gsm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, argument
47 switch (avctx->codec_id) {
53 s->block_size = avctx->block_align ? avctx->block_align
60 av_log(avctx, AV_LOG_ERROR, "Invalid codec_id\n");
H A Didctdsp.h95 void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx);
97 void ff_idctdsp_init_alpha(IDCTDSPContext *c, AVCodecContext *avctx,
99 void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx,
101 void ff_idctdsp_init_ppc(IDCTDSPContext *c, AVCodecContext *avctx,
103 void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
H A Dmjpega_dump_header_bsf.c33 static int mjpega_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, argument
41 if (avctx->codec_id != AV_CODEC_ID_MJPEG) {
42 av_log(avctx, AV_LOG_ERROR, "mjpega bitstream filter only applies to mjpeg codec\n");
77 av_log(avctx, AV_LOG_ERROR, "bitstream already formatted\n");
86 av_log(avctx, AV_LOG_ERROR, "could not find SOS marker in bitstream\n");
H A Dmovtextdec.c49 static int mov_text_init(AVCodecContext *avctx) { argument
56 return ff_ass_subtitle_header_default(avctx);
59 static int mov_text_decode_frame(AVCodecContext *avctx, argument
90 avctx->time_base,
93 avctx->time_base,
H A Drv10.c233 av_log(s->avctx, AV_LOG_ERROR, "chroma dc error\n");
256 av_log(s->avctx, AV_LOG_ERROR, "marker missing\n");
260 av_dlog(s->avctx, "pict_type=%d pb_frame=%d\n", s->pict_type, pb_frame);
263 avpriv_request_sample(s->avctx, "pb frame");
269 av_log(s->avctx, AV_LOG_ERROR, "Invalid qscale value: 0\n");
279 av_dlog(s->avctx, "DC:%d %d %d\n", s->last_dc[0],
324 av_log(s->avctx, AV_LOG_ERROR, "unknown frame type\n");
329 av_log(s->avctx, AV_LOG_ERROR, "low delay B\n");
333 av_log(s->avctx, AV_LOG_ERROR, "early B-frame\n");
338 av_log(s->avctx, AV_LOG_ERRO
461 rv10_decode_init(AVCodecContext *avctx) argument
539 rv10_decode_end(AVCodecContext *avctx) argument
547 rv10_decode_packet(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int buf_size2) argument
689 get_slice_offset(AVCodecContext *avctx, const uint8_t *buf, int n) argument
697 rv10_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument
[all...]
H A Dfaxcompr.c126 static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb, argument
139 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
145 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
152 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
160 static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb, argument
171 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n");
182 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
193 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
202 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
208 av_log(avctx, AV_LOG_ERRO
279 ff_ccitt_unpack(AVCodecContext *avctx, const uint8_t *src, int srcsize, uint8_t *dst, int height, int stride, enum TiffCompr compr, int opts) argument
[all...]
H A Dpnmdec.c39 static int pnm_decode_frame(AVCodecContext *avctx, void *data, argument
44 PNMContext * const s = avctx->priv_data;
54 if ((ret = ff_pnm_decode_header(avctx, s)) < 0)
57 if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
61 avctx->bits_per_raw_sample = av_log2(s->maxval) + 1;
63 switch (avctx->pix_fmt) {
67 n = avctx->width * 8;
74 n = avctx->width * 6;
81 n = avctx->width * 4;
86 n = avctx
[all...]
H A Dratecontrol.c48 snprintf(s->avctx->stats_out, 256,
67 static double get_fps(AVCodecContext *avctx) argument
69 return 1.0 / av_q2d(avctx->time_base) / FFMAX(avctx->ticks_per_frame, 1);
133 if (!s->avctx->rc_max_available_vbv_use && s->avctx->rc_buffer_size) {
134 if (s->avctx->rc_max_rate) {
135 s->avctx->rc_max_available_vbv_use = av_clipf(s->avctx->rc_max_rate/(s->avctx
[all...]
H A Dg726.c308 static av_cold int g726_encode_init(AVCodecContext *avctx) argument
310 G726Context* c = avctx->priv_data;
312 if (avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL &&
313 avctx->sample_rate != 8000) {
314 av_log(avctx, AV_LOG_ERROR, "Sample rates other than 8kHz are not "
319 av_assert0(avctx->sample_rate > 0);
321 if(avctx->channels != 1){
322 av_log(avctx, AV_LOG_ERROR, "Only mono is supported\n");
326 if (avctx->bit_rate)
327 c->code_size = (avctx
342 g726_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument
401 g726_decode_init(AVCodecContext *avctx) argument
426 g726_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument
460 g726_decode_flush(AVCodecContext *avctx) argument
[all...]
H A Dmetasound.c67 int isampf = tctx->avctx->sample_rate / 1000;
68 int ibps = tctx->avctx->bit_rate / (1000 * tctx->avctx->channels);
77 if (tctx->avctx->channels == 1) {
87 if (tctx->avctx->channels == 1)
105 pgain_base = tctx->avctx->channels == 2 ? 25000.0 : 20000.0;
126 if (tctx->avctx->channels == 1)
134 if (tctx->avctx->channels == 1)
164 static int metasound_read_bitstream(AVCodecContext *avctx, TwinVQContext *tctx, argument
169 int channels = tctx->avctx
271 metasound_decode_init(AVCodecContext *avctx) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264_mp4toannexb_bsf.c57 AVCodecContext *avctx, const char *args,
68 if (!avctx->extradata || avctx->extradata_size < 6) {
79 const uint8_t *extradata = avctx->extradata+4;
105 extradata+2+unit_size > avctx->extradata+avctx->extradata_size) {
130 av_log(avctx, AV_LOG_WARNING, "Warning: SPS NALU missing or invalid. The resulting stream may not play.\n");
132 av_log(avctx, AV_LOG_WARNING, "Warning: PPS NALU missing or invalid. The resulting stream may not play.\n");
134 av_free(avctx->extradata);
135 avctx
56 h264_mp4toannexb_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) argument
[all...]
H A Dproresdec.c101 static av_cold int decode_init(AVCodecContext *avctx) argument
103 ProresContext *ctx = avctx->priv_data;
108 avctx->bits_per_raw_sample = PRORES_BITS_PER_SAMPLE;
111 avctx->coded_frame = &ctx->picture;
126 const int data_size, AVCodecContext *avctx)
133 av_log(avctx, AV_LOG_ERROR, "frame data too small\n");
139 av_log(avctx, AV_LOG_ERROR,
146 if (width != avctx->width || height != avctx->height) {
147 av_log(avctx, AV_LOG_ERRO
125 decode_frame_header(ProresContext *ctx, const uint8_t *buf, const int data_size, AVCodecContext *avctx) argument
233 decode_picture_header(ProresContext *ctx, const uint8_t *buf, const int data_size, AVCodecContext *avctx) argument
504 decode_slice(AVCodecContext *avctx, void *tdata) argument
602 decode_picture(ProresContext *ctx, int pic_num, AVCodecContext *avctx) argument
636 decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
685 decode_close(AVCodecContext *avctx) argument
[all...]
H A Dws-snd1.c44 static av_cold int ws_snd_decode_init(AVCodecContext *avctx) argument
46 WSSndContext *s = avctx->priv_data;
48 if (avctx->channels != 1) {
49 av_log_ask_for_sample(avctx, "unsupported number of channels\n");
53 avctx->sample_fmt = AV_SAMPLE_FMT_U8;
56 avctx->coded_frame = &s->frame;
61 static int ws_snd_decode_frame(AVCodecContext *avctx, void *data, argument
64 WSSndContext *s = avctx->priv_data;
77 av_log(avctx, AV_LOG_ERROR, "packet is too small\n");
86 av_log(avctx, AV_LOG_ERRO
[all...]
H A Dflac.c35 int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb, argument
42 av_log(avctx, AV_LOG_ERROR + log_level_offset, "invalid sync code\n");
61 av_log(avctx, AV_LOG_ERROR + log_level_offset,
69 av_log(avctx, AV_LOG_ERROR + log_level_offset,
78 av_log(avctx, AV_LOG_ERROR + log_level_offset,
86 av_log(avctx, AV_LOG_ERROR + log_level_offset,
93 av_log(avctx, AV_LOG_ERROR + log_level_offset,
114 av_log(avctx, AV_LOG_ERROR + log_level_offset,
124 av_log(avctx, AV_LOG_ERROR + log_level_offset,
H A Dmimic.c36 AVCodecContext *avctx; member in struct:__anon1948
112 static av_cold int mimic_decode_init(AVCodecContext *avctx) argument
114 MimicContext *ctx = avctx->priv_data;
121 av_log(avctx, AV_LOG_ERROR, "error initializing vlc table\n");
124 dsputil_init(&ctx->dsp, avctx);
130 static int mimic_decode_update_thread_context(AVCodecContext *avctx, const AVCodecContext *avctx_from) argument
132 MimicContext *dst = avctx->priv_data, *src = avctx_from->priv_data;
134 if (avctx == avctx_from) return 0;
268 av_log(ctx->avctx, AV_LOG_ERROR,
296 dst->data[0] = src->data[0]+( ctx->avctx
303 mimic_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
403 mimic_decode_end(AVCodecContext *avctx) argument
[all...]
H A Dmjpega_dump_header_bsf.c33 static int mjpega_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, argument
41 if (avctx->codec_id != CODEC_ID_MJPEG) {
42 av_log(avctx, AV_LOG_ERROR, "mjpega bitstream filter only applies to mjpeg codec\n");
77 av_log(avctx, AV_LOG_ERROR, "bitstream already formatted\n");
86 av_log(avctx, AV_LOG_ERROR, "could not find SOS marker in bitstream\n");
H A Drv10.c229 av_log(s->avctx, AV_LOG_ERROR, "chroma dc error\n");
250 if(!marker) av_log(s->avctx, AV_LOG_ERROR, "marker missing\n");
253 av_dlog(s->avctx, "pict_type=%d pb_frame=%d\n", s->pict_type, pb_frame);
256 av_log(s->avctx, AV_LOG_ERROR, "pb frame not supported\n");
262 av_log(s->avctx, AV_LOG_ERROR, "error, qscale:0\n");
272 av_dlog(s->avctx, "DC:%d %d %d\n", s->last_dc[0],
308 av_log(s->avctx, AV_LOG_ERROR, "unknown frame type\n");
313 av_log(s->avctx, AV_LOG_ERROR, "early B pix\n");
318 av_log(s->avctx, AV_LOG_ERROR, "reserved bit set\n");
324 av_log(s->avctx, AV_LOG_ERRO
424 rv10_decode_init(AVCodecContext *avctx) argument
495 rv10_decode_end(AVCodecContext *avctx) argument
503 rv10_decode_packet(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int buf_size2) argument
637 get_slice_offset(AVCodecContext *avctx, const uint8_t *buf, int n) argument
643 rv10_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
[all...]
H A Dtta.c59 AVCodecContext *avctx; member in struct:TTAContext
201 av_log(s->avctx, AV_LOG_ERROR, "CRC error\n");
208 static av_cold int tta_decode_init(AVCodecContext * avctx) argument
210 TTAContext *s = avctx->priv_data;
212 s->avctx = avctx;
215 if (avctx->extradata_size < 30)
218 init_get_bits(&s->gb, avctx->extradata, avctx->extradata_size * 8);
221 if (avctx
322 tta_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument
462 tta_decode_close(AVCodecContext *avctx) argument
[all...]
H A Deatgv.c41 AVCodecContext *avctx; member in struct:TgvContext
53 static av_cold int tgv_decode_init(AVCodecContext *avctx){ argument
54 TgvContext *s = avctx->priv_data;
55 s->avctx = avctx;
56 avctx->time_base = (AVRational){1, 15};
57 avctx->pix_fmt = PIX_FMT_PAL8;
139 unsigned char *frame0_end = s->last_frame.data[0] + s->avctx->width*s->last_frame.linesize[0];
197 (s->avctx->height/4) * (s->avctx
243 tgv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
327 tgv_decode_end(AVCodecContext *avctx) argument
[all...]
H A Dgifdec.c59 AVCodecContext* avctx; member in struct:GifState
80 av_dlog(s->avctx, "gif: image x=%d y=%d w=%d h=%d\n", left, top, width, height);
166 av_dlog(s->avctx, "gif: ext_code=0x%x len=%d\n", ext_code, ext_len);
182 av_dlog(s->avctx, "gif: gce_flags=%x delay=%d tcolor=%d disposal=%d\n",
197 av_dlog(s->avctx, "gif: ext_len1=%d\n", ext_len);
234 av_dlog(s->avctx, "gif: screen_w=%d screen_h=%d bpp=%d global_palette=%d\n",
252 av_dlog(s->avctx, "gif: code=%02x '%c'\n", code, code);
271 static av_cold int gif_decode_init(AVCodecContext *avctx) argument
273 GifState *s = avctx->priv_data;
275 s->avctx
284 gif_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
318 gif_decode_close(AVCodecContext *avctx) argument
[all...]
H A Dmlpdec.c122 AVCodecContext *avctx; member in struct:MLPDecodeContext
232 static av_cold int mlp_decode_init(AVCodecContext *avctx) argument
234 MLPDecodeContext *m = avctx->priv_data;
238 m->avctx = avctx;
241 dsputil_init(&m->dsp, avctx);
244 avctx->coded_frame = &m->frame;
259 if ((ret = ff_mlp_read_major_sync(m->avctx, &mh, gb)) != 0)
263 av_log(m->avctx, AV_LOG_ERROR, "invalid/unknown bits per sample\n");
267 av_log(m->avctx, AV_LOG_ERRO
914 AVCodecContext *avctx = m->avctx; local
957 read_access_unit(AVCodecContext *avctx, void* data, int *got_frame_ptr, AVPacket *avpkt) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Da64.c35 AVCodecContext *avctx = s->streams[0]->codec; local
45 switch (avctx->codec->id) {
48 header[3] = AV_RB32(avctx->extradata+0);
53 header[3] = AV_RB32(avctx->extradata+0);
67 AVCodecContext *avctx = s->streams[0]->codec; local
78 switch (avctx->codec->id) {
90 if(avctx->extradata) {
92 lifetime = AV_RB32(avctx->extradata + 0);
93 frame_count = AV_RB32(avctx->extradata + 4);
94 charset_size = AV_RB32(avctx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavdevice/
H A Dfbdev.c98 av_cold static int fbdev_read_header(AVFormatContext *avctx, argument
101 FBDevContext *fbdev = avctx->priv_data;
108 av_log(avctx, AV_LOG_ERROR, "Could not parse framerate '%s'.\n", fbdev->framerate);
112 if (!(st = avformat_new_stream(avctx, NULL)))
117 if (avctx->flags & AVFMT_FLAG_NONBLOCK)
120 if ((fbdev->fd = open(avctx->filename, flags)) == -1) {
122 av_log(avctx, AV_LOG_ERROR,
124 avctx->filename, strerror(ret));
130 av_log(avctx, AV_LOG_ERROR,
137 av_log(avctx, AV_LOG_ERRO
185 fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt) argument
237 fbdev_read_close(AVFormatContext *avctx) argument
[all...]

Completed in 207 milliseconds

<<11121314151617181920>>