/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | eatgq.c | 39 AVCodecContext *avctx; member in struct:TgqContext 49 static av_cold int tgq_decode_init(AVCodecContext *avctx){ argument 50 TgqContext *s = avctx->priv_data; 51 s->avctx = avctx; 52 if(avctx->idct_algo==FF_IDCT_AUTO) 53 avctx->idct_algo=FF_IDCT_EA; 54 dsputil_init(&s->dsp, avctx); 56 avctx->time_base = (AVRational){1, 15}; 57 avctx 189 tgq_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 239 tgq_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | mdec.c | 37 AVCodecContext *avctx; member in struct:MDECContext 110 av_log(a->avctx, AV_LOG_ERROR, "ac-tex damaged at %d %d\n", a->mb_x, a->mb_y); 149 if(!(a->avctx->flags&CODEC_FLAG_GRAY)){ 155 static int decode_frame(AVCodecContext *avctx, argument 161 MDECContext * const a = avctx->priv_data; 167 ff_thread_release_buffer(avctx, p); 170 if(ff_thread_get_buffer(avctx, p) < 0){ 171 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 214 static av_cold void mdec_common_init(AVCodecContext *avctx){ argument 215 MDECContext * const a = avctx 226 decode_init(AVCodecContext *avctx) argument 243 decode_init_thread_copy(AVCodecContext *avctx) argument 255 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | smc.c | 47 AVCodecContext *avctx; member in struct:SmcContext 74 av_log(s->avctx, AV_LOG_INFO, "warning: block counter just went negative (this should not happen)\n"); \ 81 int width = s->avctx->width; 82 int height = s->avctx->height; 119 av_log(s->avctx, AV_LOG_INFO, "warning: MOV chunk size != encoded chunk size (%d != %d); using MOV chunk size\n", 123 total_blocks = ((s->avctx->width + 3) / 4) * ((s->avctx->height + 3) / 4); 130 av_log(s->avctx, AV_LOG_INFO, "SMC decoder just went out of bounds (row ptr = %d, height = %d)\n", 153 av_log(s->avctx, AV_LOG_INFO, "encountered repeat block opcode (%02X) but no blocks rendered yet\n", 161 (row_ptr - s->avctx 412 smc_decode_init(AVCodecContext *avctx) argument 424 smc_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 457 smc_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | zmbvenc.c | 44 AVCodecContext *avctx; member in struct:ZmbvEncContext 97 bw = FFMIN(ZMBV_BLOCK, c->avctx->width - x); 98 bh = FFMIN(ZMBV_BLOCK, c->avctx->height - y); 101 for(ty = FFMAX(y - c->range, 0); ty < FFMIN(y + c->range, c->avctx->height - bh); ty++){ 102 for(tx = FFMAX(x - c->range, 0); tx < FFMIN(x + c->range, c->avctx->width - bw); tx++){ 118 static int encode_frame(AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data) argument 120 ZmbvEncContext * const c = avctx->priv_data; 175 for(i = 0; i < avctx->height; i++){ 176 memcpy(c->work_buf + work_size, src, avctx->width); 178 work_size += avctx 246 encode_init(AVCodecContext *avctx) argument 313 encode_end(AVCodecContext *avctx) argument [all...] |
H A D | tiff.c | 40 AVCodecContext *avctx; member in struct:TiffContext 119 av_log(s->avctx, AV_LOG_ERROR, "Uncompressing failed (%lu of %lu) with error %d\n", outlen, (unsigned long)width * lines, ret); 135 av_log(s->avctx, AV_LOG_ERROR, "Error initializing LZW decoder\n"); 144 av_log(s->avctx, AV_LOG_ERROR, "Error allocating temporary buffer\n"); 148 av_log(s->avctx, AV_LOG_ERROR, "Uncompressed fax mode is not supported (yet)\n"); 163 ret = ff_ccitt_unpack(s->avctx, src2, size, dst, lines, stride, s->compr, s->fax_opts); 171 av_log(s->avctx, AV_LOG_ERROR, "Source data overread\n"); 196 av_log(s->avctx, AV_LOG_ERROR, "Copy went out of bounds\n"); 205 av_log(s->avctx, AV_LOG_ERROR, "Run went out of bounds\n"); 217 av_log(s->avctx, AV_LOG_ERRO 504 decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 621 tiff_init(AVCodecContext *avctx) argument 635 tiff_end(AVCodecContext *avctx) argument [all...] |
H A D | idcinvideo.c | 66 AVCodecContext *avctx; member in struct:IdcinContext 146 static av_cold int idcin_decode_init(AVCodecContext *avctx) argument 148 IdcinContext *s = avctx->priv_data; 152 s->avctx = avctx; 153 avctx->pix_fmt = PIX_FMT_PAL8; 156 if (s->avctx->extradata_size != HUFFMAN_TABLE_SIZE) { 157 av_log(s->avctx, AV_LOG_ERROR, " id CIN video: expected extradata size of %d\n", HUFFMAN_TABLE_SIZE); 162 histograms = (unsigned char *)s->avctx->extradata; 183 for (y = 0; y < (s->frame.linesize[0] * s->avctx 210 idcin_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 246 idcin_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | nellymoserdec.c | 49 AVCodecContext* avctx; member in struct:NellyMoserDecodeContext 118 static av_cold int decode_init(AVCodecContext * avctx) { argument 119 NellyMoserDecodeContext *s = avctx->priv_data; 121 s->avctx = avctx; 125 dsputil_init(&s->dsp, avctx); 127 if (avctx->request_sample_fmt == AV_SAMPLE_FMT_FLT) { 129 avctx->sample_fmt = AV_SAMPLE_FMT_FLT; 132 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 133 ff_fmt_convert_init(&s->fmt_conv, avctx); 153 decode_tag(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 207 decode_end(AVCodecContext * avctx) argument [all...] |
H A D | cscd.c | 138 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, argument 142 CamStudioContext *c = avctx->priv_data; 146 av_log(avctx, AV_LOG_ERROR, "coded frame too small\n"); 151 avctx->release_buffer(avctx, &c->pic); 155 if (avctx->get_buffer(avctx, &c->pic) < 0) { 156 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 165 av_log(avctx, AV_LOG_ERROR, "error during lzo decompression\n"); 172 av_log(avctx, AV_LOG_ERRO 220 decode_init(AVCodecContext *avctx) argument 249 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | lagarith.c | 49 AVCodecContext *avctx; member in struct:LagarithContext 147 av_log(rac->avctx, AV_LOG_ERROR, "Invalid probability encountered.\n"); 151 av_log(rac->avctx, AV_LOG_ERROR, "Integer overflow encountered in cumulative probability calculation.\n"); 157 av_log(rac->avctx, AV_LOG_ERROR, "Invalid probability run encountered.\n"); 168 av_log(rac->avctx, AV_LOG_ERROR, "All probabilities are 0!\n"); 186 av_log(rac->avctx, AV_LOG_ERROR, 261 TL = l->avctx->pix_fmt == PIX_FMT_YUV420P ? buf[-stride] : L; 330 av_log(l->avctx, AV_LOG_ERROR, "Too many zeros remaining.\n"); 381 rac.avctx = l->avctx; 456 lag_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 602 lag_decode_init(AVCodecContext *avctx) argument 612 lag_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | pamenc.c | 27 static int pam_encode_frame(AVCodecContext *avctx, unsigned char *outbuf, argument 30 PNMContext *s = avctx->priv_data; 37 if (buf_size < avpicture_get_size(avctx->pix_fmt, avctx->width, avctx->height) + 200) { 38 av_log(avctx, AV_LOG_ERROR, "encoded frame too large\n"); 50 h = avctx->height; 51 w = avctx->width; 52 switch (avctx->pix_fmt) { 88 if (avctx [all...] |
H A D | pcm.c | 35 static av_cold int pcm_encode_init(AVCodecContext *avctx) argument 37 avctx->frame_size = 0; 38 switch(avctx->codec->id) { 49 avctx->bits_per_coded_sample = av_get_bits_per_sample(avctx->codec->id); 50 avctx->block_align = avctx->channels * avctx->bits_per_coded_sample/8; 51 avctx->coded_frame= avcodec_alloc_frame(); 52 avctx 57 pcm_encode_close(AVCodecContext *avctx) argument 81 pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 206 pcm_decode_init(AVCodecContext * avctx) argument 257 pcm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | binkaudio.c | 68 static av_cold int decode_init(AVCodecContext *avctx) argument 70 BinkAudioContext *s = avctx->priv_data; 71 int sample_rate = avctx->sample_rate; 77 if (avctx->sample_rate < 22050) { 79 } else if (avctx->sample_rate < 44100) { 85 if (avctx->channels < 1 || avctx->channels > MAX_CHANNELS) { 86 av_log(avctx, AV_LOG_ERROR, "invalid number of channels: %d\n", avctx->channels); 89 avctx 268 decode_end(AVCodecContext *avctx) argument 287 decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | dxa.c | 53 static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst, argument 62 if (12ULL + ((avctx->width * avctx->height) >> 4) + AV_RB32(src + 0) + AV_RB32(src + 4) > srcsize) 66 data = code + ((avctx->width * avctx->height) >> 4); 70 for(j = 0; j < avctx->height; j += 4){ 71 for(i = 0; i < avctx->width; i += 4){ 81 if (i < -x || avctx->width - i - 4 < x || 82 j < -y || avctx->height - j - 4 < y) { 83 av_log(avctx, AV_LOG_ERRO 210 decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 328 decode_init(AVCodecContext *avctx) argument 349 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | xfacedec.c | 93 static av_cold int xface_decode_init(AVCodecContext *avctx) argument 95 if (avctx->width || avctx->height) { 96 if (avctx->width != XFACE_WIDTH || avctx->height != XFACE_HEIGHT) { 97 av_log(avctx, AV_LOG_ERROR, 99 avctx->width, avctx->height, XFACE_WIDTH, XFACE_HEIGHT); 104 avctx->width = XFACE_WIDTH; 105 avctx 111 xface_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |
H A D | anm.c | 38 static av_cold int decode_init(AVCodecContext *avctx) argument 40 AnmContext *s = avctx->priv_data; 43 avctx->pix_fmt = AV_PIX_FMT_PAL8; 49 bytestream2_init(&s->gb, avctx->extradata, avctx->extradata_size); 111 static int decode_frame(AVCodecContext *avctx, argument 115 AnmContext *s = avctx->priv_data; 120 if ((ret = ff_reget_buffer(avctx, s->frame)) < 0) 123 dst_end = s->frame->data[0] + s->frame->linesize[0]*avctx->height; 128 avpriv_request_sample(avctx, "Unknow 182 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | idcinvideo.c | 68 AVCodecContext *avctx; member in struct:IdcinContext 147 static av_cold int idcin_decode_init(AVCodecContext *avctx) argument 149 IdcinContext *s = avctx->priv_data; 153 s->avctx = avctx; 154 avctx->pix_fmt = AV_PIX_FMT_PAL8; 157 if (s->avctx->extradata_size != HUFFMAN_TABLE_SIZE) { 158 av_log(s->avctx, AV_LOG_ERROR, " id CIN video: expected extradata size of %d\n", HUFFMAN_TABLE_SIZE); 163 histograms = (unsigned char *)s->avctx->extradata; 182 for (y = 0; y < (frame->linesize[0] * s->avctx 211 idcin_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |
H A D | movtextenc.c | 38 static av_cold int mov_text_encode_init(AVCodecContext *avctx) argument 75 MovTextContext *s = avctx->priv_data; 77 avctx->extradata_size = sizeof text_sample_entry; 78 avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); 79 if (!avctx->extradata) 82 memcpy(avctx->extradata, text_sample_entry, avctx->extradata_size); 84 s->ass_ctx = ff_ass_split(avctx->subtitle_header); 110 static int mov_text_encode_frame(AVCodecContext *avctx, unsigne argument 149 mov_text_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | mpeg4video_parser.c | 76 static int mpeg4_decode_header(AVCodecParserContext *s1, AVCodecContext *avctx, argument 85 s->avctx = avctx; 88 if (avctx->extradata_size && pc->first_picture) { 89 init_get_bits(gb, avctx->extradata, avctx->extradata_size * 8); 95 if (s->width && (!avctx->width || !avctx->height || 96 !avctx->coded_width || !avctx 126 mpeg4video_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument [all...] |
H A D | mpegvideo_parser.c | 36 AVCodecContext *avctx, 68 if(!avctx->width || !avctx->height || !avctx->coded_width || !avctx->coded_height){ 69 ff_set_dimensions(avctx, pc->width, pc->height); 73 pc->frame_rate.den = avctx->time_base.den = ff_mpeg12_frame_rate_tab[frame_rate_index].num; 74 pc->frame_rate.num = avctx->time_base.num = ff_mpeg12_frame_rate_tab[frame_rate_index].den; 76 avctx->codec_id = AV_CODEC_ID_MPEG1VIDEO; 91 avctx 35 mpegvideo_extract_headers(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument 154 mpegvideo_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument 187 mpegvideo_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument [all...] |
H A D | libstagefright.cpp | 63 AVCodecContext *avctx; member in struct:StagefrightContext 91 CustomSource(AVCodecContext *avctx, sp<MetaData> meta) { argument 92 s = (StagefrightContext*)avctx->priv_data; 94 frame_size = (avctx->width * avctx->height * 3) / 2; 134 av_log(s->avctx, AV_LOG_ERROR, "Failed to acquire MediaBuffer\n"); 155 AVCodecContext *avctx = (AVCodecContext*)arg; local 156 StagefrightContext *s = (StagefrightContext*)avctx->priv_data; 157 const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(avctx->pix_fmt); 189 ret = ff_get_buffer(avctx, fram 256 Stagefright_init(AVCodecContext *avctx) argument 356 Stagefright_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 469 Stagefright_close(AVCodecContext *avctx) argument [all...] |
H A D | pgssubdec.c | 101 static void flush_cache(AVCodecContext *avctx) argument 103 PGSSubContext *ctx = avctx->priv_data; 137 static av_cold int init_decoder(AVCodecContext *avctx) argument 139 avctx->pix_fmt = AV_PIX_FMT_PAL8; 144 static av_cold int close_decoder(AVCodecContext *avctx) argument 146 flush_cache(avctx); 156 * @param avctx contains the current codec context 161 static int decode_rle(AVCodecContext *avctx, AVSubtitleRect *rect, argument 201 av_log(avctx, AV_LOG_ERROR, "Decoded %d pixels, when line should be %d pixels\n", 203 if (avctx 231 parse_object_segment(AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument 321 parse_palette_segment(AVCodecContext *avctx, const uint8_t *buf, int buf_size) argument 377 parse_presentation_segment(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int64_t pts) argument 487 display_end_segment(AVCodecContext *avctx, void *data, const uint8_t *buf, int buf_size) argument 592 decode(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument [all...] |
H A D | cllc.c | 32 AVCodecContext *avctx; member in struct:CLLCContext 60 av_log(ctx->avctx, AV_LOG_ERROR, 100 for (i = 0; i < ctx->avctx->width; i++) { 166 for (i = 0; i < ctx->avctx->width; i++) { 195 for (i = 0; i < ctx->avctx->width >> is_chroma; i++) { 213 AVCodecContext *avctx = ctx->avctx; local 236 av_log(ctx->avctx, AV_LOG_ERROR, 243 for (i = 0; i < avctx->height; i++) { 257 AVCodecContext *avctx local 301 AVCodecContext *avctx = ctx->avctx; local 354 cllc_decode_frame(AVCodecContext *avctx, void *data, int *got_picture_ptr, AVPacket *avpkt) argument 461 cllc_decode_close(AVCodecContext *avctx) argument 470 cllc_decode_init(AVCodecContext *avctx) argument [all...] |
H A D | vda_h264.c | 92 static int vda_old_h264_start_frame(AVCodecContext *avctx, argument 96 VDAContext *vda = avctx->internal->hwaccel_priv_data; 97 struct vda_context *vda_ctx = avctx->hwaccel_context; 107 static int vda_old_h264_decode_slice(AVCodecContext *avctx, argument 111 VDAContext *vda = avctx->internal->hwaccel_priv_data; 112 struct vda_context *vda_ctx = avctx->hwaccel_context; 141 static int vda_old_h264_end_frame(AVCodecContext *avctx) argument 143 H264Context *h = avctx->priv_data; 144 VDAContext *vda = avctx->internal->hwaccel_priv_data; 145 struct vda_context *vda_ctx = avctx 274 vda_h264_uninit(AVCodecContext *avctx) argument 318 vda_h264_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) argument 329 vda_h264_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) argument 358 vda_h264_end_frame(AVCodecContext *avctx) argument 405 ff_vda_default_init(AVCodecContext *avctx) argument 508 vda_h264_alloc_frame(AVCodecContext *avctx, AVFrame *frame) 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_ERROR, "invalid number of channels\n"); 127 switch(avctx->codec->id) { 139 switch(avctx->codec_tag){ 151 av_log(avctx, AV_LOG_ERROR, "Unknown SOL subcodec\n"); 160 if (avctx->codec->id == AV_CODEC_ID_SOL_DPCM && avctx 169 dpcm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/ |
H A D | decklink_enc.cpp | 226 static int decklink_setup_video(AVFormatContext *avctx, AVStream *st) argument 228 struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data; 233 av_log(avctx, AV_LOG_ERROR, "Only one video stream is supported!\n"); 238 av_log(avctx, AV_LOG_ERROR, "Unsupported pixel format!" 244 av_log(avctx, AV_LOG_ERROR, "Unsupported video size or framerate!" 250 av_log(avctx, AV_LOG_ERROR, "Could not enable video output!\n"); 276 static int decklink_setup_audio(AVFormatContext *avctx, AVStream *st) argument 278 struct decklink_cctx *cctx = (struct decklink_cctx *) avctx->priv_data; 283 av_log(avctx, AV_LOG_ERROR, "Only one audio stream is supported!\n"); 287 av_log(avctx, AV_LOG_ERRO 317 ff_decklink_write_trailer(AVFormatContext *avctx) argument 346 decklink_write_video_packet(AVFormatContext *avctx, AVPacket *pkt) argument 426 decklink_write_audio_packet(AVFormatContext *avctx, AVPacket *pkt) argument 449 ff_decklink_write_header(AVFormatContext *avctx) argument 572 ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt) argument [all...] |