-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 20140113 19:18, Andrzej Hajda wrote:
>>>>>>> It won't work, if I do that, after step 7, neither >>>>>>> OUPUT nor CAPTURE will poll return in my program. but >>>>>>> ./mfc-encode -m /dev/video1 -c h264,header_mode=1 work >>>>>>> normally, >>>>>> I am sorry, I didn't well test it, if I use ./mfc-encode >>>>>> -m /dev/video1 -c h264,header_mode=1 -d 1 then the size >>>>>> of demo.out is zero, but ./mfc-encode -d 1 -m /dev/video1 >>>>>> -c h264 will out a 158 bytes files. When duration is 2, >>>>>> with header_mode=1, the output file size is 228 >>>>>> bytes.Without it, the size is 228 too. I wonder whether >>>>>> it is the driver's problem, as I see this in dmesg [ >>>>>> 0.210000] Failed to declare coherent memory for MFC >>>>>> device (0 bytes at 0x43000000) As the driver is not ready >>>>>> to use in 3.13-rc6 as I reported before, I still use the >>>>>> 3.5 from manufacturer. >>>>> >>>>> I am the author of mfc-encode application, it was written >>>>> for the mainline kernel 3.8 and later, it should be >>>>> mentioned in the README.txt - I will update it. So it seems that the design my program is correct, just the driver's problem? >>>>> > Sadness, they doesn't offer any of them, even not any information > about it. And I can't compile the openmax from samsung. I will > report it later in sourceforge. >>> > >> I believe it is the best solution if you are interesting in >> fixing only MFC encoding. If your goal is wider I suggest to try >> linux-next kernel. There is basic(!) DT support for this board >> applied about month ago: https://lkml.org/lkml/2013/12/18/285 > I will try it, I wish the driver in -next is done, as I can never open the mfc encoder in 3.12. I have another problem with the data transporting way in v4l2-mfc-encoder, it use m.userptr, I think it is not need, as it has been mmap to bufs->addr before, just fill the bufs->addr is enough, and for mfc, the buffer type V4L2_MEMORY_MMAP, I think that it had better use m.mem_offset from v4l2 document, why it use userptr? >> Regards Andrzej > >>>>> >>>>> >>>>> >>>>> > > Thank you ayaka >>> >> > > > Thank you ayaka -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJS1AnoAAoJEPb4VsMIzTzi5aUH/j2MT0YlzhMYtBrzkCGL1niM iMJ7CprSTFZq8WLxb2OKN4/+WTwsbfEy3CAFmFtCXdhB7JeGeHLpj48vs5L7dtJt CTc1QPHuAVpWNaL6/mP1gXEWOWZDXjIr70f2rG0lGhiS+t0PVri8+mukyu81Oc+w AFFoWsuCAJgTKTT3qpWJEhHdEszHrrzfkOJoUa2PdITKZezhQHw4OBbsr1mVdfeJ UcdYiHHKF40bsglXVfj8BgQ5oM3/Dx3IWowR8kymGJDPB+E18+fk/wogxOdILOYY WQIC54t5dCdWV8rUVsEaWlHECm/BgHozPdLY6j6n0ou+VqFhlyDMwidcTZXGvKI= =/COC -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html