Live data from Hacker News

BPG Image format

bellard.org

261–270 of 339 posts

Re: BPG Image format

#262

Earlier quoted context omitted.

Isn't there hardware support for JPEG decoding on most mobile devices? If so, I imagine it couldn't compete performance and battery life wise. I remember Mozilla did a software video decoder once in JavaScript. Still, it is quite amazing.

Some devices do have hardware JPEG decoding, however all mobile browsers do software JPEG decoding, often with the SIMD-accelerated libjpeg-turbo. This is the software video decoder, by the way: https://github.com/brion/ogv.js

That said, the JPEG decoding is still done with native code as opposed to interpreted JS.

Re: BPG Image format

#263

Earlier quoted context omitted.

Even without optimizations. That page is from 1997. They probably ran this on a 200MHz machine at best. Modern CPUs are 30-50x faster just in terms of instructions per second. Then once you factor in multiple cores, we have desktop machines that are easily 100x faster. In terms of optimizations we have SIMD and GPGPUs to make it even faster. Not unrealistic to think we could bring that 6 minute figure down to one sec…

In the same magazine there is an ad for a $3795 Gateway 2000 workstation. 486DX2 66MHz, 8MB RAM, 500MB SCSI HDD, SVGA graphics with 1MB RAM, 14" CRT. I remember looking at systems like that and drooling. Now the latest CPUs have 8MB L3 cache.

Theres 8-core i7s with 20MB L3 cache now.

Re: BPG Image format

#265
post #19

I appreciate the historical tradition of using the photo of beautiful young Lena Söderberg as a test image, but it's time to move on. It's fun for us hetero males, but like it or not, this sends a message to young women that they aren't welcome in this field. I wish Fabrice Bellard would have left them out of the demo set. Having said that, all those demo photos do look good. I was wondering how we were going to see…

> photo of beautiful young Lena Söderberg

You are either subtly trolling, or have an incredible amount of cognitive dissonance going on here. You both objectify her by using those adjectives ("beautiful, young") AND THEN go on to state that use of a female model is sexist. Is use of a well-dressed male model sexist? If not, then your entire PREMISE is, in fact, sexist! Not to mention this photo is ENTIRELY asexual. Are you suggesting we avoid use of human models entirely to dodge sexism? Good luck with that.

Re: BPG Image format

#266
post #132

Earlier quoted context omitted.

People are too sensitive. I'm a hetero male, and I don't find the image 'fun' at all... it's just an image. It doesn't send a message to anyone. If anything, I don't really care for it for image algorithm tests because the palette is fairly flat. No matter how you feel about the image itself, though, there is value in continuing to use it... people are familiar with it, to the point of it becoming almost cliché. This…

The smallish downside of continuing with it may outweigh the very small upside. The image by itself might not be a big deal, but we're trying to disrupt the pattern of women being used only as objects, not perpetuate it.

If we used a male model as a photographic test subject here, is that not the sexist objectification of males? Should we use an unattractive person or an animal instead? Are you going to attack the very notion of beauty or the fact that women are the "fairer sex"?

Re: BPG Image format

#267
post #163

Earlier quoted context omitted.

>Now show me a picture of a man from that dataset that could possibly be construed as sexual. >This is not a matter of prudishness. There seems to be a contradiction here. >I would be very surprised if you could find me a single one. I agree, not because I think male French researchers would give a rat's ass about the cropped head of a naked guy appearing as a test subject, but because I doubt any would be foolish en…

You're missing the point, which is that it's not the specific image, but that testbeds use suggestive photos of attractive women and not men. You want people to feel free to use nudity or suggestiveness. Fine. I want them to be equal about which suggestive photos they use. As in not all women. And now you're saying that French researchers don't care, but they do because they don't want to anger Americans? (And someho…

I open a men's magazine and see photographs of women.

I open a women's magazine and see photographs of... women.

These magazines exist because people are buying them. WOMEN are buying them. I don't see many men on the editorial boards of these womens' magazines, pushing for more attractive women in the magazine in ever-more-scantily-clad garb.

What do I conclude, other than that a lot more attention seems to be being "naturally" paid to women in general, especially in a superficial context?

What do I make of the fact that more than double the number of women are bisexual, than males are? And thus, a significantly higher percentage of people of all sexes find the female form interesting?

Women: The cause of, and solution to, all the world's sexism

Re: BPG Image format

#268

Earlier quoted context omitted.

Isn't there hardware support for JPEG decoding on most mobile devices? If so, I imagine it couldn't compete performance and battery life wise. I remember Mozilla did a software video decoder once in JavaScript. Still, it is quite amazing.

this will definitely need to be hardware-supported for decoding. on my phone, the decode time far exceeds the time it would take to serve up a bigger jpg file. the demos reminded me what browsing on dialup was like. in fact dialup was better cause at least the decoding/loading was progressive/incremental, which doesnt seem to be the case here. i assume it's just the way the decoder is implemented?

It just needs to be implemented natively. On the demo page the decoding is done in javascript.

Re: BPG Image format

#269
post #216
post #17

I notice the container has no ICC profile support. Trivial do add as an extension tag, but should definitely be in the first spec IMO. And if I read this correctly, extension tags are hardcoded as numbers, rather than using a tag name. I don't think that's a good idea.

Is there a situation where 14-bit sRGB isn't enough? There are a lot of weird color matching issues on the web caused by inconsistent application of ICC profiles to PNG images by different browsers / platforms.

Storing HDR images, where the brightest parts are greater than 1.0. That way, when you later edit the image and adjust the levels, new detail comes into view. OpenEXR is the best we have for this now. It uses half-precision 16-bit floating point color components.

Re: BPG Image format

#270
I'm not qualified to comment on BPG, but this is the first I've heard of Mr. Bellard. I enjoy reading works from minds of this caliber. He seems to be a model citizen for the programming community. Are there others I should know about like Fabrice?
Post reply on HN