Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
140 user(s) are online (98 user(s) are browsing Forums)

Members: 0
Guests: 140

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 8 9 10 (11) 12 13 14 ... 36 »
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@tommysammy

Quote:

Maybe it is a fake account


Created 6 years in advance?

Judging from the join date and post count the account was created in 2008 and no posts were made from it until just now.

If it really is a fake then he must be in it for a long con.

Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@salass00

Yeah, well. The HyperionMP account on AW is quite controversial.

So I chose a different handle here.

All there is to it.

Just contact me by official channels or ask Mickey.

Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
Hmmm the Hyperionmp account exists here too.

It's Mikey, btw.

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
I am still waiting for cash out.
No news at moment

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
I got the bounty money and will give soon the money to feanor.

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@tommysammy
Great! Good Work! Thanx for your effort. Just one question:
Why is feanor paid in advance? Was/is this part of the deal? Did I miss something (written in this thread or on the fundraiser page?

Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@gerograph

edited:
Just to be clear, there is no rush on my part, I've already sent tommysammy the receipt as promised, but I agree that it would appear as bad manners on my behalf to expect to get paid wholly for such a small project in advance (for a bigger/longer project, I would definitely request an advance payment of 20-30%, but this is too small/short a project for that).

In any case, expect progress updates here.


Edited by feanor on 2015/1/8 22:00:29
Edited by feanor on 2015/1/8 22:18:57
Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
@gerograph
We have agreed that the work must be done and then the amount will be transferred.

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@feanor @tommysammy
sounds good. Good luck feanor.

Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
so, report 1:

first I added -fno-inline in the compile flags to get inlined functions also appear in the perf reports, from the list, I found one that was at first trivial to optimize and wanted to do it just to see the impact -if any. Proved to be non-trivial, mostly because of alignment (if data was aligned it would be 3x faster, but it wasn't).

So, with the perf run:

sudo perf record -./ffmpeg_g -cpuflags altivec -benchmark -i Prometheus\ -\ Trailer.mp4 -f null /dev/null
...


Running time/fps didn't change, both took 121-125secs. To be honest, I didn't expect a big change as it doesn't get called so often, so nothing to get excited about just yet, but testing with perf I was able to measure the instruction from

0.65%         ffmpeg_g  ffmpeg_g      [.] write16x4


to

0.50%         ffmpeg_g  ffmpeg_g      [.] write16x4


This took a total of 4 hours so far (I'm excluding the initial setup/code traversal). I have some better candidates to work on, so a 2nd update will come soon.

Code can be found here:

https://github.com/markos/FFmpeg/commi ... 2a11bd1e2fbb9e9c0af697d8a

Edit: any idea why \[code\] tag takes so much space?

Go to top
Re: Any altivec experts? (H.264 codec)
Home away from home
Home away from home


See User information
@feanor

Code tag takes the same space no matter how much code. So a post of 4 lines might look inefficient but a post of 400 will get scrollers and keep the main test readable (in theory).

Look forward to reading about to yoru further work.


Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@all

Another progress update.

Optimized some of the pred16x16 functions and some others, and I managed to get an extra fps (up to 14 on my G4@1Ghz) :)
Total runtime from 121secs to ~114s.

These patches have not been committed yet, want to clean them up a bit first, but I double and triple checked them and they produce correct results. Will probably commit the remaining patches during the weekend.

Still have a lot of stuff to do left (and most likely I will do that past the bounty hours, just because I like coding Altivec :). For that matter, I've spent ~18hours so far.

In my todo list:
AAC
AC3
FLAC

and in general optimizations where I see room for.


Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@feanor

"I will do that past the bounty hours, just because I like coding Altivec :)"

Thank you by advance ;)

@all
just a, maybe late, question... but and after ?

How these optimizations will be included in OS4 ffmpeg or OS4 Mplayer ?


Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@zzd10h

First, I'll submit patches to ffmpeg (actually to libav as well, since they're similar projects and this codebase is more or less common). Afterwards, and I assume they will be accepted, maybe with minor fixes/modifications, they'll propagate to the respective projects that use them. In this particular case, the OS4 projects might want to pull the patches directly and not wait for upstream.

Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@feanor

Thank you for the clarification.


Therefore, after your commits, it will be up to MickJT (our ffmpeg expert) to rebuild it and to LiveForIt/Kas1e (our MPlayer experts) to rebuild MPlayer after, right ?


Go to top
Re: Any altivec experts? (H.264 codec)
Home away from home
Home away from home


See User information
@zzd10h

Yep probably it will be like that

@feanor

Good job

Go to top
Re: Any altivec experts? (H.264 codec)
Home away from home
Home away from home


See User information
@feanor

Quote:
Optimized some of the pred16x16 functions and some others, and I managed to get an extra fps (up to 14 on my G4@1Ghz) :)
Total runtime from 121secs to ~114s.

Nice. So, just under 6% speed up on your machine. Are you testing just the decoder with the display output disabled?

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
@feanor
Many thanks

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@Hans

Yes, exactly.

update:

frame= 1656 fps= 15 q=0.0 Lsize=N/A time=00:01:09.40 bitrate=N/A
video:104kB audio:11952kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=108.484s
bench: maxrss=36748kB



Edited by feanor on 2015/1/16 12:19:28
Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@feanor

Nice work! Another FPS!

If you exceed the bounty by a large chunk I am quite happy to put in a little extra cash via PayPal... let's see how far you get.

Cheers!

Go to top

  Register To Post
« 1 ... 8 9 10 (11) 12 13 14 ... 36 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project