[host] nvfbc: make diff map size configurable
This commit adds a new host configuration option, nvfbc:diffRes, which specifies the dimensions of every block in the diff map. This defaults to 128, meaning the default 128x128 block size. Since block sizes other than 128x128 is not guaranteed to be supported by NvFBC, the function NvFBCGetDiffMapBlockSize was introduced to query the support and output the actual block size used.
This commit is contained in:
1 parent
0603a55492
commit
4da0c64583
3 files changed
+92
-17
No files matched your search
@@ -60,6 +60,14 @@ bool NvFBCToSysCreate(
|
||||
);
|
||||
void NvFBCToSysRelease(NvFBCHandle * handle);
|
||||
|
||||
void NvFBCGetDiffMapBlockSize(
|
||||
int diffRes,
|
||||
enum DiffMapBlockSize * diffMapBlockSize,
|
||||
int * diffShift,
|
||||
void * privData,
|
||||
unsigned int privDataSize
|
||||
);
|
||||
|
||||
bool NvFBCToSysSetup(
|
||||
NvFBCHandle handle,
|
||||
enum BufferFormat format,
|
||||
|
||||
Reference in new issue
Block a user