Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
61 user(s) are online (47 user(s) are browsing Forums)

Members: 0
Guests: 61

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 15 16 17 (18) 19 20 21 ... 30 »
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@joerg

That's done in AmigaStuff.c where all libraries are opened and closed, so its not a bug.

SWAPLONG and SWAPWORD should also be there, because it might be used by other things also. I use inline assembler instead of macro to do it.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Quote:
That's done in AmigaStuff.c where all libraries are opened and closed, so its not a bug.
IMHO using IAHI = IExec->GetInterface(...) in ao_ahi_dev.c but IExec->DropInterface(IAHI) in some other source file instead is a bug.

In case AmigaStuff.c gets the IAHI interface as well it's definitely a bug: Obtained twice (in AmigaStuff.c and in ao_ahi_dev.c) but only released once (in AmigaStuff.c).

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@joerg

Your right..

The code was commented out.


Edited by LiveForIt on 2014/4/26 16:47:37
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@LiveForIt

Quote:

SWAPLONG and SWAPWORD should also be there, because it might be used by other things also. I use inline assembler instead of macro to do it.


However you implement it if it's in a different object file, your adding function call overhead as it won't get inlined.

Macro in seperate file, fine.

Function in seperate file, not wrong, but not optimal.


Multiple static coppies would hardly matter in something as "bloated" as mplayer.



Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@broadblues

If it makes a difference I can move it, and call it by asm using macro, not function.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
@LiveForIt
Your new version(V2.1) works much better . Thank you

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@broadblues

I think it did make a difference, no more too slow message, nice.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Quote:
If it makes a difference I can move it, and call it by asm using macro, not function.
Since it's used for every 2 or 4 bytes of audio data it should make a difference for the AO speed if the audio data you get from FFmpeg is in little endian format and has to be converted. Simply move your functions from AmigaStuff.c to AmigaStuff.h as static inline uint32 SWAPLONG( uint32 i ) {...} and static inline uint16 SWAPWORD( uint16 i ) {...}.

Additionally your assembler code is quite bad, IIRC lwarx is extremely slow on some CPUs, but in any case your code requires writing the data from a register to memory and reading it back from memory into a register (even if it's in L1 cache most of the time it will get flushed to memory sometimes), the usual (((i & 0xFF000000) >> 24) | ((i & 0xFF0000) >> 8) | ((i & 0xFF00) << 8) | ((i & 0xFF) << 24)) can work directly on the data in registers instead and should be faster.

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
@LiveForIt
720HD videos are working very well on my X1000,playing is smooth
Windowmode works gooooooood
Maybe i will create a video of it and upload it to youtube
Watch this space

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@tommysammy

Thank you, now is just aspect ratio issue in full screen and that's it.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
@LiveForIt
I like the mouse wheel button support

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@tommysammy

Yes that's some code that comes from Basilisk II, I implemented that a long time ago.

Some of the things I have done here (learned) might find its way into Basilisk also.


Edited by LiveForIt on 2014/4/26 18:20:45
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@tommysammy

Quote:
I like the mouse wheel button support


Yep it was a nice idea, hopefully it will be implemented also in p96 driver

@LiveForIt

Using "cgx_wpa" driver the title window is incorrect, it still say;

"MPlayer xxxxx for MorphOS"

Maybe like the afxgroup release you can use the same title (+ the name of the file in playing) for all drivers

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@samo79

Should already work in my p96 driver, it uses cgx_common.c also as backed.

(have not tested my self)

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@LiveForIt

Do you mean in this public 2.1 ?
Actually mouse doesn't seems to work in your p96 driver

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@samo79

Quote:
Yep it was a nice idea


Don't know who’s idea it was, in cgx_common.c there was some code for MorphOS, but it was incomplete.
I guess FAB was going to do it, or it was removed at some point, don't know.

Quote:
Using "cgx_wpa" driver the title window is incorrect, it still say;

"MPlayer xxxxx for MorphOS"


I have not looked a lot that cgx_wpa, its kind of redundant, when you have vo_comp at least if you have composition.

Quote:
Maybe like the afxgroup release you can use the same title (+ the name of the file in playing) for all drivers


Maybe.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@samo79

Quote:
Do you mean in this public 2.1 ?
Actually mouse doesn't seems to work in your p96 driver


Yes 2.1 OK, then its broken and need fixing.
p96_pip has to be cleaned up anyway.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@LiveForIt

Quote:
Don't know who’s idea it was, in cgx_common.c there was some code for MorphOS, but it was incomplete.


Ah interesting, didn't know that

Quote:
I have not looked a lot that cgx_wpa, its kind of redundant, when you have vo_comp at least if you have composition


Well on my Sam440 this driver it's faster than compositing, so i use it as first alternative of p96

Quote:
Yes 2.1 OK, then its broken and need fixing.
p96_pip has to be cleaned up anyway.


Yes not so important aniway, all can be solved later with a proper collaboration, pratically all things from all side are mostly done so just need to create a single version with the best feature of all the current 3 separated binaries

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
@LiveForIt
Video is ready for download.
Will do it tomorrow

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Not too shy to talk
Not too shy to talk


See User information
liveforit, I was excited today to download your latest version with ARexx support enabled. I tested it with VideoClipper, and it works great when controlled by that program. The composition mode allows me to play 720p videos on my X1000, and now with VideoClipper I can use your mplayer version to preview the clips before cutting. Appreciate the effort made in this project! I did notice that turning on the OSD gets me a play "triangle" but not a counter, which would be handy in making cut decisions when editing.

But.... I know this is a work in progress, so I'll be patient. :)

My playback results are same: I can play 1280x720 H264 files that are 24fps without problems. 30fps versions in H264 do not allow the audio and video to be in sync and audio finishes first.

If I transcode clips to MJPEG codec, I can play 30fps in sync at 720p without problem.

Go to top

  Register To Post
« 1 ... 15 16 17 (18) 19 20 21 ... 30 »

 




Currently Active Users Viewing This Thread: 3 ( 0 members and 3 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project