Lines Matching refs:pix_fmt

80         avctx->pix_fmt = avpriv_pix_fmt_find(PIX_FMT_LIST_MOV,
83 avctx->pix_fmt = avpriv_pix_fmt_find(PIX_FMT_LIST_AVI,
86 avctx->pix_fmt = avpriv_pix_fmt_find(PIX_FMT_LIST_RAW, avctx->codec_tag);
87 else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample)
88 avctx->pix_fmt = avpriv_pix_fmt_find(PIX_FMT_LIST_AVI,
91 desc = av_pix_fmt_desc_get(avctx->pix_fmt);
113 if (avctx->pix_fmt == AV_PIX_FMT_MONOWHITE ||
114 avctx->pix_fmt == AV_PIX_FMT_MONOBLACK)
116 else if (avctx->pix_fmt == AV_PIX_FMT_PAL8)
126 avctx->pix_fmt == AV_PIX_FMT_YUYV422)
201 desc = av_pix_fmt_desc_get(avctx->pix_fmt);
212 context->frame_size = av_image_get_buffer_size(avctx->pix_fmt,
216 context->frame_size = av_image_get_buffer_size(avctx->pix_fmt,
221 context->frame_size = av_image_get_buffer_size(avctx->pix_fmt, avctx->width,
348 len = context->frame_size - (avctx->pix_fmt==AV_PIX_FMT_PAL8 ? AVPALETTE_SIZE : 0);
356 buf, avctx->pix_fmt,
362 if (avctx->pix_fmt == AV_PIX_FMT_PAL8) {
391 if ((avctx->pix_fmt==AV_PIX_FMT_RGB24 ||
392 avctx->pix_fmt==AV_PIX_FMT_BGR24 ||
393 avctx->pix_fmt==AV_PIX_FMT_GRAY8 ||
394 avctx->pix_fmt==AV_PIX_FMT_RGB555LE ||
395 avctx->pix_fmt==AV_PIX_FMT_RGB555BE ||
396 avctx->pix_fmt==AV_PIX_FMT_RGB565LE ||
397 avctx->pix_fmt==AV_PIX_FMT_MONOWHITE ||
398 avctx->pix_fmt==AV_PIX_FMT_MONOBLACK ||
399 avctx->pix_fmt==AV_PIX_FMT_PAL8) &&
403 if (avctx->pix_fmt == AV_PIX_FMT_NV12 && avctx->codec_tag == MKTAG('N', 'V', '1', '2') &&
412 if (avctx->pix_fmt == AV_PIX_FMT_PAL8 && buf_size < context->frame_size) {
421 if (avctx->pix_fmt == AV_PIX_FMT_BGR24 &&
440 avctx->pix_fmt == AV_PIX_FMT_YUYV422) {
451 avctx->pix_fmt == AV_PIX_FMT_RGBA64BE) {