Search:

Type: Posts; User: awsdert

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    346

    Finally figured out the root of my problem, it...

    Finally figured out the root of my problem, it was never the filters, it was the way I was reading the expanded zlib data (after zlib or my version had been through it), still haven't managed to fix...
  2. Replies
    8
    Views
    346

    Well integer math was definitely the way to go,...

    Well integer math was definitely the way to go, the filters do appear to work for 8 bit values and I can remove the forced underflow/overflow code by just shifting the values to the end in the...
  3. Replies
    8
    Views
    346

    Well for starters I'm actually working with 2...

    Well for starters I'm actually working with 2 buffers, both contain the final result but the 1st buffer contains an extra column and row to remove the conditionals from the process, the extra column...
  4. Replies
    8
    Views
    346

    Having found a way to compare the values of the...

    Having found a way to compare the values of the original vs the result I found there appears to be a problem with my 'nearest' filter

    (Bottom function, rest are provided for context)


    long...
  5. Replies
    8
    Views
    346

    Oh that's just the unsupported CRC part that I'll...

    Oh that's just the unsupported CRC part that I'll get to later, for now it's just a place holder
  6. Replies
    8
    Views
    346

    In addition to the failing bit depth handling...

    In addition to the failing bit depth handling during the de-filtering process I've noticed an (unrelated) issue with my zlib code (results are the same regardless of whether I use my code or official...
  7. Replies
    0
    Views
    98

    CBoard Dark Style

    If anyone was looking for a decent dark style for the board I wrote this in my xstyle addon for firefox (note I have trimmed out other domains that were in it):



    @-moz-document regexp(".*")
    {...
  8. Replies
    8
    Views
    346

    de-filtering a 4 bit depth png image

    Been doing a work trial (which fell through because it was too much for my body to take) and left the code alone due to exhaustion, when I came back to it I had some bugs to fix (among which a memory...
  9. Thread: macros???

    by awsdert
    Replies
    4
    Views
    303

    For what aghast means in the 3rd approach I...

    For what aghast means in the 3rd approach I believe the below extract from my own code is a relatively good example:



    typedef enum _IMAGE_CHANNELS
    {
    IMAGE_CHANNEL_R = 0,
    IMAGE_CHANNEL_G,...
  10. Thread: adler32

    by awsdert
    Replies
    2
    Views
    254

    By that I assume I'm supposed to keep hold of...

    By that I assume I'm supposed to keep hold of each IDAT chunks result then?
  11. Replies
    3
    Views
    239

    Thx :)

    Thx :)
  12. Replies
    4
    Views
    219

    That only works one way though, I was looking for...

    That only works one way though, I was looking for both up and down 1, 2, 4 to 8 or 16 to 8, the gist of it is that I need to be able to convert to byte values when passing to the gpu
  13. Thread: adler32

    by awsdert
    Replies
    2
    Views
    254

    adler32

    I did a copy paste then modified the code to be more efficient for this function, anyone have any idea where this prior_key value comes from?

    Linkified source url:
    assorted/Deflate (zlib)...
  14. Replies
    3
    Views
    239

    Since hamster_nz is able to produce the lists for...

    Since hamster_nz is able to produce the lists for zlib format I'll ask this, for the image noted in my previous post could you generate a list of the huffman codes it's supposed to have, I wanna...
  15. Replies
    3
    Views
    239

    Final filter test failing

    Got round to trying my filters on the last 2 images of the filter test set in the png suite, the colour worked fine but the greyscale dot didn't work out, from what I've seen so far it seems my...
  16. Replies
    4
    Views
    219

    Simplified the math to a single function for ease...

    Simplified the math to a single function for ease of use:



    uintmax_t ScaleDepthWithoutFPN( uint dstDepth, uint srcDepth, uintmax_t value )
    {
    uintmax_t limit = 0, scale;
    limit = ~(~limit <<...
  17. Replies
    4
    Views
    219

    Never mind I figured it out: int...

    Never mind I figured it out:



    int SaveImagePPM( IMAGE *Image, FILE *file )
    {
    ulong Rows = Image->Rows, row;
    ulong Cols = Image->Cols, col, i;
    ulong keep = ~(~0UL << (Image->Depth + 8));
  18. Replies
    4
    Views
    219

    Scaling integer values without FPNs

    I'll start with the function so you can see what I'm trying to do:


    int SaveImagePPM( IMAGE *Image, FILE *file )
    {
    ulong Rows = Image->Rows, row;
    ulong Cols = Image->Cols, col, i;
    ulong...
  19. Replies
    125
    Views
    5,669

    Took me long enough to notice it but I figured...

    Took me long enough to notice it but I figured out where I was going wrong for filter type 4, I was loading the wrong value as pixel c, fixing that resulted in the expected greyscale image, didn't...
  20. Replies
    125
    Views
    5,669

    Never mind about the pixel grabbing, chose to go...

    Never mind about the pixel grabbing, chose to go with a solution that required multiplying rows against columns

    Filter types 0 - 3 all work properly now, 4 resembles the expected (8b9c389d) *...
  21. Replies
    125
    Views
    5,669

    With the zlib decompression fixed I'm moving onto...

    With the zlib decompression fixed I'm moving onto fixing my filters as apparantly only filter type 0 was working correctly, before I proceed though I'd like to know if anyone has any ideas on how to...
  22. Replies
    125
    Views
    5,669

    Finally got it right! Don't remember where I read...

    Finally got it right! Don't remember where I read it but something made me think the loop codes were supposed to have the same length as the type code + 1, strange thing is that despite having tried...
  23. Replies
    125
    Views
    5,669

    1st I'll start with quoting those loop UIDs you...

    1st I'll start with quoting those loop UIDs you gave but in order of UID so I can quickly find and compare my current ones



    Distance table
    10: 1 0
    14: 3 100
    16: 3 101
    13: 4...
  24. Replies
    125
    Views
    5,669

    ? Are you referring to the type codes? They're...

    ? Are you referring to the type codes? They're supposed to be handled differently, remember, they're using either prev symbol or nothing at all, if I try to fuse the two then I'll have to check...
  25. Replies
    125
    Views
    5,669

    Just tried your suggestion, didn't see a change...

    Just tried your suggestion, didn't see a change when I ran it but I'll give it a look tomorrow, anyways here's the upload for it:

    Adding in a suggestion by hamster_nz, didn&#39;t see a change when I...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4