Commit Graph

29 Commits

Author SHA1 Message Date
wang-bin 3ca2f0d0c6 fix warnings 2016-05-24 22:31:43 +08:00
wang-bin 8595a4bc39 set color range for sws
this can fix output black rgb frame from yuv seems gray
2016-05-22 14:02:47 +08:00
wang-bin 4a14fe73a9 remove useless functions 2015-10-19 14:15:44 +08:00
wang-bin 2edbf5fe7e sws: user defined out buffer. fix out ptrs error 2015-10-12 12:56:32 +08:00
wang-bin 42e496b58a set alignment 16 to sws. remove AVPicture 2015-09-25 01:05:16 +08:00
wang-bin 8058ac5a46 no stl types that break abi
most algorithms and containers are fine. no std::string, exception
2015-09-13 22:48:32 +08:00
wang-bin 474917b4e3 check sws color space support 2015-03-30 20:50:33 +08:00
wang-bin 73062dc727 vs2010 error & warning 2015-03-29 23:53:03 +08:00
wang-bin 92c57fd68b move ImageConverter from public class to internal
use higher level VideoFrameConverter instead
2015-01-30 13:09:52 +08:00
wang-bin cbbe4ebbb3 make sws based converter public 2015-01-30 11:03:19 +08:00
wang-bin 8ffe5017a2 submodule update 2014-12-26 16:19:52 +08:00
wang-bin 6d13c53ba0 move non-public headers 2014-11-04 11:12:11 +08:00
wang-bin 74cba4bb09 fix wrong logging logic etc
log level takes affect for ffmpeg and libass log
TODO:
remove qDebug() in headers
2014-10-16 12:28:44 +08:00
wang-bin 3b1711472b a tool to create id 2014-09-10 15:11:09 +08:00
wang-bin 64c791949d mv some non-public headers to private or other places. rename AVCompat.h 2014-07-26 15:29:35 +08:00
wang-bin cbb78a20aa add prefix QtAV to all include to avoid potential build error
why it happens? e.g. meego toolchain
2014-03-18 12:44:47 +08:00
wang-bin 45545318ce video eq support: brightness, contrast, saturation
use swscale. so all video renderer get the same value.
TODO:
call setupColorspaceDetails() less. what if sws_ctx changes?
2013-12-14 01:27:42 +08:00
wang-bin 599ffaabe0 id 0 means invalid in factory 2013-12-01 02:35:33 +08:00
wang-bin 5f87499e5c add api to get plane data ptr and line size from ImageConverter 2013-11-09 18:47:07 +08:00
wang-bin 33c1341bce Q_EXPORT=>QTAV_EXPORT to avoid confliction that used in another lib 2013-10-19 00:42:51 +08:00
wang-bin f158f6dd8b less warnings 2013-05-13 00:41:21 +08:00
wang-bin 4cb42dc530 change the way to register a new class in factory 2013-02-20 12:16:34 +08:00
wang-bin 49c8b9f31e include prepost.h only when needed. avoid pragma too much 2013-02-09 18:06:36 +08:00
wang-bin 8dd03464c6 Add factory template which will be used in the future. ImageConverter
use it now
2013-02-08 21:18:14 +08:00
wang-bin d4c178dd4e License change to LGPL v2.1 2013-02-04 01:45:42 +08:00
wang-bin 23bc317106 misc: building, FFmpeg spell etc 2013-02-03 13:41:32 +08:00
wang-bin 25b67647ef image converter & decoder resize to renderer size, etc
resizing in ImageConverter is supported, we compare qt resizing with hwa
or ipp (color convertion and )resizing.
before this, resizing in ImageConverter will cause a crash when resizing
the renderer, because of the data of image changes in video thread when
it is painting in main thread. But locking is not enough, because the
data passed to renderer is ref which (address) may changed in video
thread's ImageConverter, so a copy of that data is required.
2013-01-27 00:48:46 +08:00
wang-bin 99fc9986ac update copyright date 2013-01-20 15:04:25 +08:00
wang-bin b9d196aba5 Add ImageConverter class so that we can use hwa support for convertion
Now only a converter based on FFMpeg swscale is implemented. Maybe the
interfaces are not good. It's ready for using ipp
TODO:
1. if in_fmt to out_fmt is not supported by hwa, then use ff(in base
class?)
2. move ImageConverter from decoder to video thread. decoder only do the
decoding
2013-01-14 00:41:26 +08:00