pesintta/vdr-plugin-vaapidevice

ColorBalance sizeof ?

9000h opened this issue · 2 comments

9000h commented

sizeof(VAProcFilterParameterBufferColorBalance), colorbalance_cap_n, &cbal_param, &filter_buf_id);

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

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

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