Lines Matching refs:bih
353 BITMAPINFOHEADER *bih;
361 bih = &v->bmiHeader;
365 bih = &v->bmiHeader;
370 enum AVPixelFormat pix_fmt = dshow_pixfmt(bih->biCompression, bih->biBitCount);
372 enum AVCodecID codec_id = ff_codec_get_id(avformat_get_riff_video_tags(), bih->biCompression);
375 av_log(avctx, AV_LOG_INFO, " unknown compression type 0x%X", (int) bih->biCompression);
390 if (ctx->video_codec_id != ff_codec_get_id(avformat_get_riff_video_tags(), bih->biCompression))
394 ctx->pixel_format != dshow_pixfmt(bih->biCompression, bih->biBitCount)) {
411 bih->biWidth = ctx->requested_width;
412 bih->biHeight = ctx->requested_height;
755 BITMAPINFOHEADER *bih = NULL;
761 bih = &v->bmiHeader;
765 bih = &v->bmiHeader;
767 if (!bih) {
774 codec->width = bih->biWidth;
775 codec->height = bih->biHeight;
776 codec->codec_tag = bih->biCompression;
777 codec->pix_fmt = dshow_pixfmt(bih->biCompression, bih->biBitCount);
778 if (bih->biCompression == MKTAG('H', 'D', 'Y', 'C')) {
783 codec->codec_id = ff_codec_get_id(avformat_get_riff_video_tags(), bih->biCompression);
786 "Please report type 0x%X.\n", (int) bih->biCompression);
789 codec->bits_per_coded_sample = bih->biBitCount;
792 if (bih->biCompression == BI_RGB || bih->biCompression == BI_BITFIELDS) {
793 codec->bits_per_coded_sample = bih->biBitCount;