Lines Matching defs:pix_fmt
193 static int compute_cmask(int plane_no, int interlaced, enum AVPixelFormat pix_fmt)
195 const int is_luma = (pix_fmt == AV_PIX_FMT_YUV420P) && !plane_no;
213 const int cmask = compute_cmask(plane_no, c->interlaced, c->avctx->pix_fmt);
707 switch (c->avctx->pix_fmt) {
898 avctx->pix_fmt = AV_PIX_FMT_GBRP;
902 avctx->pix_fmt = AV_PIX_FMT_GBRAP;
906 avctx->pix_fmt = AV_PIX_FMT_YUV420P;
911 avctx->pix_fmt = AV_PIX_FMT_YUV422P;
916 avctx->pix_fmt = AV_PIX_FMT_YUV444P;
922 avctx->pix_fmt = AV_PIX_FMT_YUV420P10;
927 avctx->pix_fmt = AV_PIX_FMT_YUV422P10;
932 avctx->pix_fmt = AV_PIX_FMT_GBRP10;
937 avctx->pix_fmt = AV_PIX_FMT_GBRAP10;
941 avctx->pix_fmt = AV_PIX_FMT_YUV420P;
946 avctx->pix_fmt = AV_PIX_FMT_YUV422P;
951 avctx->pix_fmt = AV_PIX_FMT_YUV444P;
957 avctx->pix_fmt = AV_PIX_FMT_YUV422P;
963 avctx->pix_fmt = AV_PIX_FMT_YUV422P;
969 avctx->pix_fmt = AV_PIX_FMT_YUV444P;
975 avctx->pix_fmt = AV_PIX_FMT_YUV444P;
981 avctx->pix_fmt = AV_PIX_FMT_GBRP;
986 avctx->pix_fmt = AV_PIX_FMT_GBRAP;
994 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &h_shift, &v_shift);