• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:avctx

40     AVCodecContext *avctx;
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_ERROR, "Decoded only %i bytes of %i\n", pixels, width);
234 s->avctx->pix_fmt = PIX_FMT_MONOBLACK;
237 s->avctx->pix_fmt = PIX_FMT_PAL8;
240 s->avctx->pix_fmt = PIX_FMT_RGB24;
243 s->avctx->pix_fmt = PIX_FMT_GRAY16BE;
246 s->avctx->pix_fmt = PIX_FMT_RGBA;
249 s->avctx->pix_fmt = s->le ? PIX_FMT_RGB48LE : PIX_FMT_RGB48BE;
252 av_log(s->avctx, AV_LOG_ERROR,
257 if (s->width != s->avctx->width || s->height != s->avctx->height) {
258 if ((ret = av_image_check_size(s->width, s->height, 0, s->avctx)) < 0)
260 avcodec_set_dimensions(s->avctx, s->width, s->height);
263 s->avctx->release_buffer(s->avctx, &s->picture);
264 if ((ret = s->avctx->get_buffer(s->avctx, &s->picture)) < 0) {
265 av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
268 if (s->avctx->pix_fmt == PIX_FMT_PAL8) {
296 av_log(s->avctx, AV_LOG_DEBUG, "Unknown tiff type (%u) encountered\n", type);
330 av_log(s->avctx, AV_LOG_ERROR, "Tag referencing position outside the image\n");
344 av_log(s->avctx, AV_LOG_ERROR, "This format is not supported (bpp=%d, %d components)\n", s->bpp, count);
365 av_log(s->avctx, AV_LOG_ERROR,
391 av_log(s->avctx, AV_LOG_ERROR, "Deflate: ZLib not compiled in\n");
396 av_log(s->avctx, AV_LOG_ERROR, "JPEG compression is not supported\n");
399 av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
405 value = s->avctx->height;
407 av_log(s->avctx, AV_LOG_ERROR, "Incorrect value of rows per strip\n");
422 av_log(s->avctx, AV_LOG_ERROR, "Tag referencing position outside the image\n");
437 av_log(s->avctx, AV_LOG_ERROR, "Tag referencing position outside the image\n");
456 av_log(s->avctx, AV_LOG_ERROR, "Color mode %d is not supported\n", value);
462 av_log(s->avctx, AV_LOG_ERROR, "Unknown FillOrder value %d, trying default one\n", value);
486 av_log(s->avctx, AV_LOG_ERROR, "Planar format is not supported\n");
499 av_log(s->avctx, AV_LOG_DEBUG, "Unknown or unsupported tag %d/0X%0X\n", tag, tag);
504 static int decode_frame(AVCodecContext *avctx,
510 TiffContext * const s = avctx->priv_data;
528 av_log(avctx, AV_LOG_ERROR, "TIFF header not found\n");
538 av_log(avctx, AV_LOG_ERROR, "The answer to life, universe and everything is not correct!\n");
546 av_log(avctx, AV_LOG_ERROR, "IFD offset is greater than image size\n");
557 av_log(avctx, AV_LOG_ERROR, "Image data is missing\n");
565 av_log(avctx, AV_LOG_WARNING, "Image data size missing\n");
586 av_log(avctx, AV_LOG_ERROR, "Invalid strip size/offset\n");
621 static av_cold int tiff_init(AVCodecContext *avctx){
622 TiffContext *s = avctx->priv_data;
626 s->avctx = avctx;
628 avctx->coded_frame= (AVFrame*)&s->picture;
635 static av_cold int tiff_end(AVCodecContext *avctx)
637 TiffContext * const s = avctx->priv_data;
641 avctx->release_buffer(avctx, &s->picture);