Hi, The Enhanced Video Renderer (EVR) turned out much more complicated than I imagined from what I've tried and saw as code. I may underestimated it a little bit, but I'm working on it. As my experimental code is very far from initial inclusion, I have a question. Can I submit the first patch to enable the "EVR infrastructure"? I refer to needed changes in configure, the new vo_evr.c and so on. Unfortunately VLC doesn't implement EVR at all. It just reads back from DXVA 2 and displays using other renderers. Right now the most complete implementation is in MPC-HC's source. I will write more information in the following days.
On 12/20/2010 03:04 PM, Georgi Petrov wrote:
Can I submit the first patch to enable the "EVR infrastructure"? I refer to needed changes in configure, the new vo_evr.c and so on.
Maybe you could get/create a branch for that. That would allow subsequent commits without breaking trunk.
On Mon, Dec 20, 2010 at 8:56 PM, Sebastian Krämer <mail@kraymer.de> wrote:
On 12/20/2010 03:04 PM, Georgi Petrov wrote:
Can I submit the first patch to enable the "EVR infrastructure"? I refer to needed changes in configure, the new vo_evr.c and so on.
Maybe you could get/create a branch for that. That would allow subsequent commits without breaking trunk.
Is this the recommended approach? I recall that when I was developing the D3D renderer I used to commit in the trunk. If so, how could I do it and do I have permissions? For me personally I think that committing in the trunk won't brake anything, because I compile and test the tree before each patch. It it even safer - if configure doesn't detect evr.h and evr9.h, my code won't compile anyway (and almost **nobody** has these files in his/her include path)...
On Mon, Dec 20, 2010 at 11:01:54PM +0200, Georgi Petrov wrote:
On Mon, Dec 20, 2010 at 8:56 PM, Sebastian Krämer <mail@kraymer.de> wrote:
On 12/20/2010 03:04 PM, Georgi Petrov wrote:
Can I submit the first patch to enable the "EVR infrastructure"? I refer to needed changes in configure, the new vo_evr.c and so on.
Maybe you could get/create a branch for that. That would allow subsequent commits without breaking trunk.
Is this the recommended approach? I recall that when I was developing the D3D renderer I used to commit in the trunk. If so, how could I do it and do I have permissions?
Developing on trunk is better, if you do not mind the overhead of ensuring that "intermediate" versions are of good enough code quality for SVN (even if basically nobody will have it enabled).
Developing on trunk is better, if you do not mind the overhead of ensuring that "intermediate" versions are of good enough code quality for SVN (even if basically nobody will have it enabled).
Thanks. I will submit the first patch in a day or two. It won't have any real EVR related code yet (it is way too soon, I'm actively experimenting myself), but it will enable the infrastructure for future commits.
Hi, I'm trying to transfer my EVR experiments from Visual Studio to MSYS/MinGW/MPlayer, but I ran into crazy header files problems that I can't resolve since 2 days. In short - I copied evr.h to mingw include directory and afterwards around 12 required header files from Windows SDK 7.1. In the end I have way too many conflicting types, missing declarations and errors. I seem completely unable to resolve all issues. I tried to hunt them one by one, but I end up with even more. May be I'm missing something vital? Can you point me to a source, where I can search help in this direction?
On Mon, 27 Dec 2010 12:01:54 +0200, Georgi Petrov wrote:
Hi,
I'm trying to transfer my EVR experiments from Visual Studio to MSYS/MinGW/MPlayer, but I ran into crazy header files problems that I can't resolve since 2 days. In short - I copied evr.h to mingw include directory and afterwards around 12 required header files from Windows SDK 7.1. In the end I have way too many conflicting types, missing declarations and errors. I seem completely unable to resolve all issues. I tried to hunt them one by one, but I end up with even more. May be I'm missing something vital? Can you point me to a source, where I can search help in this direction?
usually you just search for each missing decl and then what file its defined in and then include those? or just define them? sometimes you include file1.h and file2.h but file1.h automatically includes file2.h. so i guess watch for that as well. another idea might be to rename all of your functions to mp_functionname to eliminate any generic names from being duplicate. e.g. int video > int mp_video of course i might be wrong... at any rate, posting some make output or putting your code online might help. -compn
On Mon, Dec 27, 2010 at 12:01:54PM +0200, Georgi Petrov wrote:
I'm trying to transfer my EVR experiments from Visual Studio to MSYS/MinGW/MPlayer, but I ran into crazy header files problems that I can't resolve since 2 days. In short - I copied evr.h to mingw include directory and afterwards around 12 required header files from Windows SDK 7.1. In the end I have way too many conflicting types, missing declarations and errors. I seem completely unable to resolve all issues. I tried to hunt them one by one, but I end up with even more. May be I'm missing something vital? Can you point me to a source, where I can search help in this direction?
Have you checked if e.g. wine has such a header? Theirs are usually much less of a mess and can easily be changed to compile (almost) stand-alone. You could also write your own header, which has the advantage that you can also try to get it integrated into mingw/mingw-w64 so it would become easier to compile MPlayer with support for it...
participants (4)
-
compn -
Georgi Petrov -
Reimar Döffinger -
Sebastian Krämer