Does anyone knows the coefficients?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Does anyone knows the coefficients?
Which coefficients are you looking for? Is there some problem with the default parameters of the resizer on DM36x?
Regards,
anshuman
I use DM6437 sample code's coefficients 640x480 -> 320x240 :
#define gRDRV_reszFilter4TapHighQuality 0, 256, 0, 0, -6, 246, 16, 0, -7, \
219, 44, 0, -5, 179, 83, -1, -3, 130, 132, -3, -1, 83, 179, -5, 0, \
44, 219, -7, 0, 16, 246, -6
#define gRDRV_reszFilter7TapHighQuality -1, 19, 108, 112, 19, -1, 0, 0, \
0, 6, 88, 126, 37, -1, 0, 0, 0, 0, 61, 134, 61, 0, 0, 0, 0, -1, 37, \
126, 88, 6, 0, 0
the result size seems alright, just too bright.
perhaps apply appropriate coefficients may solve the problem?
Hi,
Generally, we have seen that the set co-efficients are good for normal resize operation. Do you mean that the resizer operation is making your output image look brighter than the input image? Can you please share your input as well as output YUV data?
BTW, just to confirm, is this question for DM6437 or DM36x?
Regards,
Anshuman
This question is for DM6437, and yes the output is brighter than input image ( preview image ).
Well, the input.txt and output.txt is a little big.
the data save as:
cb y cr y cb y cr y ...
unsigned char input[720*480*2];
unsigned char output[320*240*2];