/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | adpcm.c | 91 static av_cold int adpcm_decode_init(AVCodecContext * avctx) argument 93 ADPCMDecodeContext *c = avctx->priv_data; 97 switch(avctx->codec->id) { 108 if (avctx->channels < min_channels || avctx->channels > max_channels) { 109 av_log(avctx, AV_LOG_ERROR, "Invalid number of channels\n"); 113 switch(avctx->codec->id) { 118 if (avctx->bits_per_coded_sample != 4) { 119 av_log(avctx, AV_LOG_ERROR, "Only 4-bit ADPCM IMA WAV files are supported\n"); 124 if (avctx 263 xa_decode(AVCodecContext *avctx, short *out, const unsigned char *in, ADPCMChannelStatus *left, ADPCMChannelStatus *right, int inc) argument 351 get_nb_samples(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int *coded_samples) argument 528 adpcm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | a64multienc.c | 45 static void to_meta_with_crop(AVCodecContext *avctx, AVFrame *p, int *dest) argument 49 int height = FFMIN(avctx->height, C64YRES); 50 int width = FFMIN(avctx->width , C64XRES); 71 static void render_charset(AVCodecContext *avctx, uint8_t *charset, argument 74 A64Context *c = avctx->priv_data; 163 static av_cold int a64multi_close_encoder(AVCodecContext *avctx) argument 165 A64Context *c = avctx->priv_data; 174 static av_cold int a64multi_init_encoder(AVCodecContext *avctx) argument 176 A64Context *c = avctx->priv_data; 180 if (avctx 242 a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) argument [all...] |
H A D | eamad.c | 60 static av_cold int decode_init(AVCodecContext *avctx) argument 62 MadContext *t = avctx->priv_data; 64 s->avctx = avctx; 65 avctx->pix_fmt = PIX_FMT_YUV420P; 66 if (avctx->idct_algo == FF_IDCT_AUTO) 67 avctx->idct_algo = FF_IDCT_EA; 68 dsputil_init(&s->dsp, avctx); 92 } else if (!(s->avctx->flags & CODEC_FLAG_GRAY)) { 108 } else if (!(s->avctx 233 decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 298 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | qtrle.c | 43 AVCodecContext *avctx; member in struct:QtrleContext 54 av_log (s->avctx, AV_LOG_INFO, "Problem: stream_ptr out of bounds (%d >= %d)\n", \ 61 av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \ 73 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 124 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 181 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 234 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 283 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 333 int pixel_limit = s->frame.linesize[0] * s->avctx->height; 375 static av_cold int qtrle_decode_init(AVCodecContext *avctx) argument 418 qtrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 527 qtrle_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | avs.c | 46 avs_decode_frame(AVCodecContext * avctx, argument 52 AvsContext *const avs = avctx->priv_data; 62 if (avctx->reget_buffer(avctx, p)) { 63 av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n"); 158 static av_cold int avs_decode_init(AVCodecContext * avctx) argument 160 avctx->pix_fmt = PIX_FMT_PAL8; 161 avcodec_set_dimensions(avctx, 318, 198); 165 static av_cold int avs_decode_end(AVCodecContext *avctx) argument 167 AvsContext *s = avctx [all...] |
H A D | flac.h | 94 * @param[out] avctx codec context to set basic stream parameters 98 void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, 103 * @param[in] avctx codec context containing the extradata. 108 int avpriv_flac_is_extradata_valid(AVCodecContext *avctx, 132 * @param avctx AVCodecContext to use as av_log() context 138 int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
|
H A D | imx_dump_header_bsf.c | 32 static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, argument 40 if (avctx->codec_id != CODEC_ID_MPEG2VIDEO) { 41 av_log(avctx, AV_LOG_ERROR, "imx bitstream filter only applies to mpeg2video codec\n");
|
H A D | ra144dec.c | 31 static av_cold int ra144_decode_init(AVCodecContext * avctx) argument 33 RA144Context *ractx = avctx->priv_data; 35 ractx->avctx = avctx; 40 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 43 avctx->coded_frame = &ractx->frame; 61 static int ra144_decode_frame(AVCodecContext * avctx, void *data, argument 75 RA144Context *ractx = avctx->priv_data; 80 if ((ret = avctx->get_buffer(avctx, [all...] |
H A D | g722enc.c | 39 /* We clip the value of avctx->trellis to prevent data type overflows and 44 static av_cold int g722_encode_init(AVCodecContext * avctx) argument 46 G722Context *c = avctx->priv_data; 48 if (avctx->channels != 1) { 49 av_log(avctx, AV_LOG_ERROR, "Only mono tracks are allowed.\n"); 57 if (avctx->trellis) { 58 int frontier = 1 << avctx->trellis; 68 if (avctx->frame_size) { 70 if (avctx->frame_size & 1 || avctx 105 g722_encode_close(AVCodecContext *avctx) argument 340 g722_encode_frame(AVCodecContext *avctx, uint8_t *dst, int buf_size, void *data) argument [all...] |
H A D | dpcm.c | 115 static av_cold int dpcm_decode_init(AVCodecContext *avctx) argument 117 DPCMContext *s = avctx->priv_data; 120 if (avctx->channels < 1 || avctx->channels > 2) { 121 av_log(avctx, AV_LOG_INFO, "invalid number of channels\n"); 125 s->channels = avctx->channels; 128 switch(avctx->codec->id) { 140 switch(avctx->codec_tag){ 152 av_log(avctx, AV_LOG_ERROR, "Unknown SOL subcodec\n"); 161 if (avctx 173 dpcm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | faxcompr.c | 126 static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb, argument 138 av_log(avctx, AV_LOG_ERROR, "Run overrun\n"); 144 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n"); 151 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n"); 159 static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb, argument 171 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n"); 180 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n"); 191 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n"); 200 av_log(avctx, AV_LOG_ERROR, "Run overrun\n"); 206 av_log(avctx, AV_LOG_ERRO 271 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 D | mpegaudio_parser.c | 41 AVCodecContext *avctx, 67 ret = avpriv_mpa_decode_header(avctx, state, &sr, &channels, &frame_size, &bit_rate); 78 avctx->sample_rate= sr; 79 avctx->channels = channels; 80 avctx->frame_size = frame_size; 81 avctx->bit_rate = bit_rate; 40 mpegaudio_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | ralf.c | 106 static av_cold int decode_close(AVCodecContext *avctx) argument 108 RALFContext *ctx = avctx->priv_data; 127 static av_cold int decode_init(AVCodecContext *avctx) argument 129 RALFContext *ctx = avctx->priv_data; 133 if (avctx->extradata_size < 24 || memcmp(avctx->extradata, "LSD:", 4)) { 134 av_log(avctx, AV_LOG_ERROR, "Extradata is not groovy, dude\n"); 138 ctx->version = AV_RB16(avctx->extradata + 4); 140 avpriv_request_sample(avctx, "Unknown version %X", ctx->version); 144 avctx 338 decode_block(AVCodecContext *avctx, GetBitContext *gb, int16_t *dst0, int16_t *dst1) argument 421 decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 515 decode_flush(AVCodecContext *avctx) argument [all...] |
H A D | mxpegdec.c | 45 static av_cold int mxpeg_decode_end(AVCodecContext *avctx) argument 47 MXpegDecodeContext *s = avctx->priv_data; 52 ff_mjpeg_decode_end(avctx); 64 static av_cold int mxpeg_decode_init(AVCodecContext *avctx) argument 66 MXpegDecodeContext *s = avctx->priv_data; 71 mxpeg_decode_end(avctx); 76 return ff_mjpeg_decode_init(avctx); 103 av_log(s->jpg.avctx, AV_LOG_ERROR, 113 av_log(s->jpg.avctx, AV_LOG_ERROR, 121 av_log(s->jpg.avctx, AV_LOG_ERRO 184 mxpeg_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |
H A D | g722enc.c | 42 /* We clip the value of avctx->trellis to prevent data type overflows and 47 static av_cold int g722_encode_close(AVCodecContext *avctx) argument 49 G722Context *c = avctx->priv_data; 59 static av_cold int g722_encode_init(AVCodecContext * avctx) argument 61 G722Context *c = avctx->priv_data; 64 if (avctx->channels != 1) { 65 av_log(avctx, AV_LOG_ERROR, "Only mono tracks are allowed.\n"); 73 if (avctx->trellis) { 74 int frontier = 1 << avctx->trellis; 88 if (avctx 352 g722_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | 4xm.c | 136 AVCodecContext *avctx; member in struct:FourXContext 351 uint16_t *end = start + stride * (f->avctx->height - h + 1) - (1 << log2w); 374 av_log(f->avctx, AV_LOG_ERROR, "wordstream overread\n"); 388 av_log(f->avctx, AV_LOG_ERROR, "bytestream overread\n"); 399 av_log(f->avctx, AV_LOG_ERROR, "wordstream overread\n"); 405 av_log(f->avctx, AV_LOG_ERROR, "wordstream overread\n"); 414 av_log(f->avctx, AV_LOG_ERROR, "mv out of pic\n"); 426 const int width = f->avctx->width; 427 const int height = f->avctx->height; 454 av_log(f->avctx, AV_LOG_ERRO 823 decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 959 decode_end(AVCodecContext *avctx) argument 977 decode_init(AVCodecContext *avctx) argument [all...] |
H A D | sgidec.c | 30 AVCodecContext *avctx; member in struct:SgiState 64 av_log(s->avctx, AV_LOG_ERROR, "Invalid pixel count.\n"); 102 av_log(s->avctx, AV_LOG_ERROR, "Invalid pixel count.\n"); 202 static int decode_frame(AVCodecContext *avctx, argument 206 SgiState *s = avctx->priv_data; 214 av_log(avctx, AV_LOG_ERROR, "buf_size too small (%d)\n", avpkt->size); 220 av_log(avctx, AV_LOG_ERROR, "bad magic number\n"); 232 av_log(avctx, AV_LOG_ERROR, "wrong channel number\n"); 238 av_log(avctx, AV_LOG_ERROR, "wrong dimension number\n"); 243 avctx 282 sgi_decode_init(AVCodecContext *avctx) argument [all...] |
H A D | imx_dump_header_bsf.c | 32 static int imx_dump_header(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, argument 40 if (avctx->codec_id != AV_CODEC_ID_MPEG2VIDEO) { 41 av_log(avctx, AV_LOG_ERROR, "imx bitstream filter only applies to mpeg2video codec\n");
|
H A D | samidec.c | 37 static int sami_paragraph_to_ass(AVCodecContext *avctx, const char *src) argument 39 SAMIContext *sami = avctx->priv_data; 114 static int sami_decode_frame(AVCodecContext *avctx, argument 119 SAMIContext *sami = avctx->priv_data; 121 if (ptr && avpkt->size > 0 && !sami_paragraph_to_ass(avctx, ptr)) { 122 int ts_start = av_rescale_q(avpkt->pts, avctx->time_base, (AVRational){1,100}); 124 av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1; 131 static av_cold int sami_init(AVCodecContext *avctx) argument 133 SAMIContext *sami = avctx->priv_data; 137 return ff_ass_subtitle_header_default(avctx); 140 sami_close(AVCodecContext *avctx) argument [all...] |
H A D | mlpdec.c | 130 AVCodecContext *avctx; member in struct:MLPDecodeContext 272 static av_cold int mlp_decode_init(AVCodecContext *avctx) argument 274 MLPDecodeContext *m = avctx->priv_data; 278 m->avctx = avctx; 296 if ((ret = ff_mlp_read_major_sync(m->avctx, &mh, gb)) != 0) 300 av_log(m->avctx, AV_LOG_ERROR, "invalid/unknown bits per sample\n"); 304 av_log(m->avctx, AV_LOG_ERROR, 310 av_log(m->avctx, AV_LOG_ERROR, 316 av_log(m->avctx, AV_LOG_ERRO 1073 AVCodecContext *avctx = m->avctx; local 1114 read_access_unit(AVCodecContext *avctx, void* data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | mdec.c | 39 AVCodecContext *avctx; member in struct:MDECContext 114 av_log(a->avctx, AV_LOG_ERROR, "ac-tex damaged at %d %d\n", a->mb_x, a->mb_y); 157 if (!(a->avctx->flags & CODEC_FLAG_GRAY)) { 163 static int decode_frame(AVCodecContext *avctx, argument 167 MDECContext * const a = avctx->priv_data; 173 if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0) 207 static av_cold int decode_init(AVCodecContext *avctx) argument 209 MDECContext * const a = avctx->priv_data; 211 a->mb_width = (avctx->coded_width + 15) / 16; 212 a->mb_height = (avctx 231 decode_init_thread_copy(AVCodecContext *avctx) argument 240 decode_end(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/ |
H A D | dshow.c | 246 dshow_cycle_devices(AVFormatContext *avctx, ICreateDevEnum *devenum, argument 249 struct dshow_ctx *ctx = avctx->priv_data; 265 av_log(avctx, AV_LOG_ERROR, "Could not enumerate %s devices.\n", 293 av_log(avctx, AV_LOG_INFO, " \"%s\"\n", buf); 308 av_log(avctx, AV_LOG_ERROR, "Could not find %s device.\n", 325 dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, argument 328 struct dshow_ctx *ctx = avctx->priv_data; 375 av_log(avctx, AV_LOG_INFO, " unknown compression type 0x%X", (int) bih->biCompression); 377 av_log(avctx, AV_LOG_INFO, " vcodec=%s", codec->name); 380 av_log(avctx, AV_LOG_INF 471 dshow_set_audio_buffer_size(AVFormatContext *avctx, IPin *pin) argument 518 dshow_cycle_pins(AVFormatContext *avctx, enum dshowDeviceType devtype, IBaseFilter *device_filter, IPin **ppin) argument 632 dshow_list_device_options(AVFormatContext *avctx, ICreateDevEnum *devenum, enum dshowDeviceType devtype) argument 649 dshow_open_device(AVFormatContext *avctx, ICreateDevEnum *devenum, enum dshowDeviceType devtype) argument 733 dshow_add_device(AVFormatContext *avctx, enum dshowDeviceType devtype) argument 827 parse_device_name(AVFormatContext *avctx) argument 864 dshow_read_header(AVFormatContext *avctx) argument [all...] |
H A D | fbdev_dec.c | 65 static av_cold int fbdev_read_header(AVFormatContext *avctx) argument 67 FBDevContext *fbdev = avctx->priv_data; 72 if (!(st = avformat_new_stream(avctx, NULL))) 77 if (avctx->flags & AVFMT_FLAG_NONBLOCK) 80 if ((fbdev->fd = avpriv_open(avctx->filename, flags)) == -1) { 82 av_log(avctx, AV_LOG_ERROR, 84 avctx->filename, av_err2str(ret)); 90 av_log(avctx, AV_LOG_ERROR, 97 av_log(avctx, AV_LOG_ERROR, 105 av_log(avctx, AV_LOG_ERRO 145 fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt) argument 198 fbdev_read_close(AVFormatContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | cinedec.c | 83 static int cine_read_header(AVFormatContext *avctx) argument 85 AVIOContext *pb = avctx->pb; 92 st = avformat_new_stream(avctx, NULL); 105 avpriv_request_sample(avctx, "uknown version %i", version); 129 avpriv_request_sample(avctx, "unsupported biBitCount %i", biBitCount); 142 avpriv_request_sample(avctx, "unknown bitmap compression"); 155 avpriv_request_sample(avctx, "short SETUP header"); 196 avpriv_request_sample(avctx, "unsupported biBitCount %i", biBitCount); 207 avpriv_request_sample(avctx, "unsupported biBitCount %i", biBitCount); 217 avpriv_request_sample(avctx, "unsupporte 252 cine_read_packet(AVFormatContext *avctx, AVPacket *pkt) argument 279 cine_read_seek(AVFormatContext *avctx, int stream_index, int64_t timestamp, int flags) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/arm/ |
H A D | dsputil_init_arm.c | 76 void dsputil_init_arm(DSPContext* c, AVCodecContext *avctx) argument 78 const int high_bit_depth = avctx->bits_per_raw_sample > 8; 83 if (!avctx->lowres && avctx->bits_per_raw_sample <= 8) { 84 if(avctx->idct_algo == FF_IDCT_AUTO || 85 avctx->idct_algo == FF_IDCT_ARM){ 90 } else if (avctx->idct_algo == FF_IDCT_SIMPLEARM){ 120 if (HAVE_ARMV5TE) ff_dsputil_init_armv5te(c, avctx); 121 if (HAVE_ARMV6) ff_dsputil_init_armv6(c, avctx); 122 if (HAVE_IWMMXT) ff_dsputil_init_iwmmxt(c, avctx); [all...] |