Write a question encountered by Transform Filter

zhaozj2021-02-16  62

Very simple feature change the brightness of the AVI picture

Base class Select CTransinplaceFilter everything OK!

The base class selects the picture of the CTRANSFORMFILTER output is incorrect.

HRESULT DECIDEBUFFERSIZE (IMEMALLOCATOR * PALLOC, Allocator_Properties * Pprop) {

AM_MEDIA_TYPE MT; HRESULT HR = M_POUTPUT-> ConnectionMediatype (& MT);

...

BitmapInfoHeader * pbmi = header (mt.pbformat);

Pprop-> CBPREFIX = 1; // Plus this problem solved but did not understand why pprop-> cbuffer = dibsize (* pbmi) 1; // Try to find problems also solved but did not understand why}

Don't understand! Bullying I am a novice ....

转载请注明原文地址:https://www.9cbs.com/read-18348.html

New Post(0)