[mythtv-firehose] mythtv branch master updated by jyavenard. v0.28-pre-1600-gbab9fb8

Git Repo Owner noreply at mythtv.org
Fri Jun 13 13:49:11 UTC 2014


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  bab9fb8d1dbe7360b43407d0040ceffcba6d6e55 (commit)
       via  a1313671dd3d4be8325713fd97f07f2f0eec8418 (commit)
       via  f75ae4b7d06d8c4d06b2676369664980156eb4e2 (commit)
       via  849b291cec5e3aedb617312017b2263ed9612b2f (commit)
      from  1582de655661622de08e23be13e38f06b1fab325 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bab9fb8d1dbe7360b43407d0040ceffcba6d6e55
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:42:00 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:44:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=bab9fb8d1dbe7360b43407d0040ceffcba6d6e55

Fix strides size calculation for YV12/NV12 frames when the dimensions are odd.
Make sure to get the very last chroma component for each row.



commit a1313671dd3d4be8325713fd97f07f2f0eec8418
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:39:37 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:44:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=a1313671dd3d4be8325713fd97f07f2f0eec8418

Add VAAPI vaDerive support, and re-add NV12 image format support
vaDerive provides a greater level of performance than vaGetImage, however there’s an added cost of having to convert NV12 into YV12 later which in practice negates the benefit.

Re-add NV12 support, but as least preferred format.



commit f75ae4b7d06d8c4d06b2676369664980156eb4e2
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:00:05 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:44:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f75ae4b7d06d8c4d06b2676369664980156eb4e2

Add NV12 format support to VideoFrame class, and fast NV12->YV12 format conversion
Include SSE optimised NV12->YV12 conversion routine.
SSE deinterleaver is 687% faster on my i7-2600 than the C version.

Add related unit tests and benchmarks



commit 849b291cec5e3aedb617312017b2263ed9612b2f
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Thu, 12 Jun 2014 11:06:29 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Fri, 13 Jun 2014 23:44:15 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=849b291cec5e3aedb617312017b2263ed9612b2f

Add ability to create video frames, where all lines will be X-bytes memory aligned.
This would create a frame, whose strides may not always match its width.
Disabled at present, as our rendering code doesn’t always properly display those (only Xv, Qt and VDPAU handle those properly). OpenGL being the most problematic.
For a YV12/YV420P frame to be properly aligned, a value of 64 needs to be used (so chroma planes are 16 bytes aligned).



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/libmythtv.pro                |    1 +
 mythtv/libs/libmythtv/mythframe.h                  |  150 ++---
 .../libs/libmythtv/test/test_copyframes/.gitignore |    5 +
 .../test/test_copyframes/test_copyframes.cpp       |    3 +
 .../test/test_copyframes/test_copyframes.h         |  692 ++++++++++++++++++++
 .../test/test_copyframes/test_copyframes.pro       |   67 ++
 mythtv/libs/libmythtv/vaapicontext.cpp             |  111 +++-
 mythtv/libs/libmythtv/vaapicontext.h               |    1 +
 mythtv/libs/libmythtv/videobuffers.cpp             |   25 +-
 mythtv/libs/libmythtv/videobuffers.h               |    3 +-
 10 files changed, 954 insertions(+), 104 deletions(-)
 create mode 100644 mythtv/libs/libmythtv/test/test_copyframes/.gitignore
 create mode 100644 mythtv/libs/libmythtv/test/test_copyframes/test_copyframes.cpp
 create mode 100644 mythtv/libs/libmythtv/test/test_copyframes/test_copyframes.h
 create mode 100644 mythtv/libs/libmythtv/test/test_copyframes/test_copyframes.pro

-- 



More information about the mythtv-firehose mailing list