How to create global variable and access it in videodev.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Solved!

I used as example method pjmedia_vid_dev_refresh.
And I achieved buffer :-)

Does anybody know how to change YUV2 color space to RGB24 during streaming.
For preview I do this correctly in method(for color bar device)
cbar_factory_default_param
line
pj_memcpy(&param->fmt, &di->info.fmt[4], sizeof(param->fmt));		

0=YUV2, 4 = RGB24




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux