pesintta / vdr-plugin-vaapidevice

VDR VAAPIDevice Plug-in
9 stars 12 forks source link

ColorBalance sizeof ? #109

Closed 9000h closed 6 years ago

9000h commented 6 years ago

https://github.com/pesintta/vdr-plugin-vaapidevice/blob/38f9b210da66f17b946f627d98028f426e3b944d/video.c#L2515

I'm wondering if this should not be sizeof(cbal_param)

pesintta commented 6 years ago

I don't think so. The next parameter is the number of items in the buffer so the sizeof refers to the size of 1 element.

9000h commented 6 years ago

then I did misunderstood the documentation "a buffer for "num_elements" elements of "size" bytes" http://01org.github.io/libva_staging_doxygen/group__api__core.html#gaba254978bf0d32781f4a9e67f1fa7a78