Lines Matching defs:pix_fmt
222 enum AVPixelFormat pix_fmt; ///< Stream pixel format
660 if (opengl_format_desc[i].fixel_format == opengl->pix_fmt) {
714 enum AVPixelFormat pix_fmt = opengl->pix_fmt;
717 if (pix_fmt == AV_PIX_FMT_RGB565 || pix_fmt == AV_PIX_FMT_BGR555 ||
718 pix_fmt == AV_PIX_FMT_BGR8 || pix_fmt == AV_PIX_FMT_RGB8)
719 pix_fmt = AV_PIX_FMT_RGB24;
720 else if (pix_fmt == AV_PIX_FMT_BGR565 || pix_fmt == AV_PIX_FMT_RGB555)
721 pix_fmt = AV_PIX_FMT_BGR24;
723 desc = av_pix_fmt_desc_get(pix_fmt);
773 static av_cold int opengl_compile_shaders(OpenGLContext *opengl, enum AVPixelFormat pix_fmt)
776 const char *fragment_shader_code = opengl_get_fragment_shader_code(pix_fmt);
780 av_get_pix_fmt_name(pix_fmt));
1001 if ((ret = opengl_compile_shaders(opengl, opengl->pix_fmt)) < 0)
1004 desc = av_pix_fmt_desc_get(opengl->pix_fmt);
1071 opengl->pix_fmt = st->codecpar->format;
1198 enum AVPixelFormat pix_fmt = h->streams[0]->codecpar->format;
1199 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt);