summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2009-01-20 08:34:30 -0800
committerAaron Plattner <aplattner@nvidia.com>2009-01-20 08:34:30 -0800
commit39524688c3d20fb7c62263eb994bf7c805546f24 (patch)
treeb437656c3cae1214c275f6aa1a63da5d5f7ffa8f
parentd516bac6ff000b139174cbe75e03722089011df8 (diff)
vdpinfo-0.0.5
-rw-r--r--Makefile2
-rw-r--r--vdpinfo.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index c097f45..e12115a 100644
--- a/Makefile
+++ b/Makefile
@@ -9,4 +9,4 @@ vdpinfo: vdpinfo.o
$(CXX) -o $@ $^ $(LDFLAGS)
clean:
- rm -f *.o $(PROGRAMS)
+ rm -f *.o $(PROGRAMS) *~
diff --git a/vdpinfo.cpp b/vdpinfo.cpp
index 7acd92f..af805d8 100644
--- a/vdpinfo.cpp
+++ b/vdpinfo.cpp
@@ -334,19 +334,19 @@ void queryDecoderCaps(VDPDeviceImpl *device)
{
VdpStatus rv;
printf("\nDecoder capabilities:\n\n");
- printf("name level ref width height\n");
+ printf("name level macbs width height\n");
printf("------------------------------------\n");
for(int x=0; x<decoder_profile_count; ++x)
{
VdpBool is_supported = false;
- uint32_t max_level, max_references, max_width, max_height;
+ uint32_t max_level, max_macroblocks, max_width, max_height;
rv = device->DecoderQueryCapabilities(device->device, decoder_profiles[x].id,
- &is_supported, &max_level, &max_references, &max_width, &max_height);
+ &is_supported, &max_level, &max_macroblocks, &max_width, &max_height);
if(rv == VDP_STATUS_OK && is_supported)
{
- printf("%-16s %2i %2i %5i %5i\n", decoder_profiles[x].name,
- max_level, max_references, max_width, max_height);
+ printf("%-16s %2i %5i %5i %5i\n", decoder_profiles[x].name,
+ max_level, max_macroblocks, max_width, max_height);
}
}
}