Commit 4e635e10 authored by u-bo1b@0w.se's avatar u-bo1b@0w.se Committed by Michael Niedermayer

cinepak: Use correct colorspace.

The new code is also faster and more robust.

As for the performance:

old decoder + conversion to rgb:         fps = 2618
old decoder, without converting to rgb:  fps = 4012

new decoder, producing rgb:              fps = 4502
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f5c00b34
This diff is collapsed.
This diff is collapsed.
#tb 0: 1/12
0, 0, 0, 1, 112400, 0x829180d8
0, 1, 1, 1, 112400, 0xdbebac5b
0, 2, 2, 1, 112400, 0xc5adc0f7
0, 3, 3, 1, 112400, 0xbe1fc030
0, 4, 4, 1, 112400, 0xe08ab460
0, 5, 5, 1, 112400, 0xfde0dbc5
0, 6, 6, 1, 112400, 0xed9242b0
0, 7, 7, 1, 112400, 0x1ae3933a
0, 8, 8, 1, 112400, 0xc82d2f5b
0, 9, 9, 1, 112400, 0xbae9ddfc
0, 10, 10, 1, 112400, 0xa350a1f7
0, 11, 11, 1, 112400, 0x3cf78029
0, 12, 12, 1, 112400, 0xaa0b82bf
0, 13, 13, 1, 112400, 0x71aa4794
0, 14, 14, 1, 112400, 0x2fe57373
0, 15, 15, 1, 112400, 0x429c6f82
0, 16, 16, 1, 112400, 0xfb2d917d
0, 17, 17, 1, 112400, 0xcc84cb9a
0, 18, 18, 1, 112400, 0xc68f0613
0, 19, 19, 1, 112400, 0x05f30e6a
0, 20, 20, 1, 112400, 0x5c5d853d
0, 21, 21, 1, 112400, 0x01e0aff2
0, 22, 22, 1, 112400, 0xc3b2cf4a
0, 23, 23, 1, 112400, 0xc0a3cf19
0, 24, 24, 1, 112400, 0xc743abda
0, 25, 25, 1, 112400, 0x54bd17a2
0, 26, 26, 1, 112400, 0x616ef28d
0, 27, 27, 1, 112400, 0x04b51f59
0, 28, 28, 1, 112400, 0x857511a2
0, 29, 29, 1, 112400, 0x25c62440
0, 30, 30, 1, 112400, 0x8c78198d
0, 31, 31, 1, 112400, 0xc046c912
0, 32, 32, 1, 112400, 0x0d828630
0, 33, 33, 1, 112400, 0x48999b80
0, 34, 34, 1, 112400, 0x9a869e77
0, 35, 35, 1, 112400, 0x16d893df
0, 36, 36, 1, 112400, 0xf6b86132
0, 37, 37, 1, 112400, 0xfa564ea4
0, 38, 38, 1, 112400, 0xdd473f69
0, 39, 39, 1, 112400, 0xf89625a6
0, 40, 40, 1, 112400, 0x823a58aa
0, 41, 41, 1, 112400, 0x25e0fe43
0, 42, 42, 1, 112400, 0x41034522
0, 43, 43, 1, 112400, 0xb8da4f00
0, 44, 44, 1, 112400, 0x9f684fce
0, 45, 45, 1, 112400, 0xf7188710
0, 46, 46, 1, 112400, 0x428fbfc6
0, 47, 47, 1, 112400, 0x535bace0
0, 48, 48, 1, 112400, 0x23216059
0, 49, 49, 1, 112400, 0x9b8bbfa6
0, 50, 50, 1, 112400, 0x932be522
0, 51, 51, 1, 112400, 0xdbd31409
0, 52, 52, 1, 112400, 0x0a69bf18
0, 53, 53, 1, 112400, 0xa15ef128
0, 54, 54, 1, 112400, 0x49a1fa92
0, 55, 55, 1, 112400, 0xadeeaf62
0, 56, 56, 1, 112400, 0xc1ce636e
0, 57, 57, 1, 112400, 0x5ca544eb
0, 58, 58, 1, 112400, 0x07230a36
0, 59, 59, 1, 112400, 0x12ae2b53
0, 60, 60, 1, 112400, 0x62453ef6
0, 61, 61, 1, 112400, 0xe0588a98
0, 62, 62, 1, 112400, 0xacd3927a
0, 63, 63, 1, 112400, 0x5d3c6b01
0, 64, 64, 1, 112400, 0xda671808
0, 65, 65, 1, 112400, 0x61d0b492
0, 66, 66, 1, 112400, 0x068b1293
0, 67, 67, 1, 112400, 0x75b99287
0, 68, 68, 1, 112400, 0xe657e7d6
0, 69, 69, 1, 112400, 0x17873df6
0, 70, 70, 1, 112400, 0xa8db5e31
0, 71, 71, 1, 112400, 0x4f633b8e
0, 72, 72, 1, 112400, 0x22266252
0, 73, 73, 1, 112400, 0x308a6282
0, 74, 74, 1, 112400, 0xfdb356ce
0, 75, 75, 1, 112400, 0xe4394f1f
0, 76, 76, 1, 112400, 0x8ca8649f
0, 77, 77, 1, 112400, 0x804d44eb
0, 78, 78, 1, 112400, 0x3864488b
0, 0, 0, 1, 224400, 0xd8f2f310
0, 1, 1, 1, 224400, 0xe38676c2
0, 2, 2, 1, 224400, 0x7163b6ad
0, 3, 3, 1, 224400, 0xa514b0f7
0, 4, 4, 1, 224400, 0xeed48b96
0, 5, 5, 1, 224400, 0x5e9f02b2
0, 6, 6, 1, 224400, 0x70822c53
0, 7, 7, 1, 224400, 0x93101067
0, 8, 8, 1, 224400, 0x0710e900
0, 9, 9, 1, 224400, 0x0e8add6a
0, 10, 10, 1, 224400, 0x53fb2c5a
0, 11, 11, 1, 224400, 0xa58cc02f
0, 12, 12, 1, 224400, 0x0a5cc76b
0, 13, 13, 1, 224400, 0xfa551631
0, 14, 14, 1, 224400, 0xde9f99bf
0, 15, 15, 1, 224400, 0xe66a8690
0, 16, 16, 1, 224400, 0xd9e6f3d1
0, 17, 17, 1, 224400, 0xa479a5c6
0, 18, 18, 1, 224400, 0xdaa3531f
0, 19, 19, 1, 224400, 0xde3e6843
0, 20, 20, 1, 224400, 0x181adafd
0, 21, 21, 1, 224400, 0x784b6429
0, 22, 22, 1, 224400, 0x91cdc30e
0, 23, 23, 1, 224400, 0x6e78be49
0, 24, 24, 1, 224400, 0x7515644c
0, 25, 25, 1, 224400, 0xcc32a91b
0, 26, 26, 1, 224400, 0xc63e3831
0, 27, 27, 1, 224400, 0xfb53b651
0, 28, 28, 1, 224400, 0x12ec8a01
0, 29, 29, 1, 224400, 0x136fcb2c
0, 30, 30, 1, 224400, 0x827fa546
0, 31, 31, 1, 224400, 0x1773b7f5
0, 32, 32, 1, 224400, 0x732defc1
0, 33, 33, 1, 224400, 0x84292372
0, 34, 34, 1, 224400, 0x20f22365
0, 35, 35, 1, 224400, 0xb39a0700
0, 36, 36, 1, 224400, 0xf245706c
0, 37, 37, 1, 224400, 0xdb702ae7
0, 38, 38, 1, 224400, 0xadfefe5b
0, 39, 39, 1, 224400, 0xa667adcb
0, 40, 40, 1, 224400, 0x4d645191
0, 41, 41, 1, 224400, 0x33802f58
0, 42, 42, 1, 224400, 0x24eff4b8
0, 43, 43, 1, 224400, 0x4dc817a6
0, 44, 44, 1, 224400, 0x9a891d35
0, 45, 45, 1, 224400, 0x2d0bb83b
0, 46, 46, 1, 224400, 0xd13469c1
0, 47, 47, 1, 224400, 0xd2e6302a
0, 48, 48, 1, 224400, 0xc7594ee1
0, 49, 49, 1, 224400, 0xc6da714c
0, 50, 50, 1, 224400, 0xf675e838
0, 51, 51, 1, 224400, 0xdc047c76
0, 52, 52, 1, 224400, 0xe5727de5
0, 53, 53, 1, 224400, 0x153b0f62
0, 54, 54, 1, 224400, 0x65922f68
0, 55, 55, 1, 224400, 0x04e04bfb
0, 56, 56, 1, 224400, 0x1dde6c88
0, 57, 57, 1, 224400, 0xed3905f2
0, 58, 58, 1, 224400, 0x211a5996
0, 59, 59, 1, 224400, 0xd010baaf
0, 60, 60, 1, 224400, 0xcbc9f272
0, 61, 61, 1, 224400, 0x7380d6f0
0, 62, 62, 1, 224400, 0xfd0bf084
0, 63, 63, 1, 224400, 0xc4d671d9
0, 64, 64, 1, 224400, 0x84236aa5
0, 65, 65, 1, 224400, 0x9c584ede
0, 66, 66, 1, 224400, 0xdb0c6029
0, 67, 67, 1, 224400, 0x775ae560
0, 68, 68, 1, 224400, 0xe3800916
0, 69, 69, 1, 224400, 0x9313a8e8
0, 70, 70, 1, 224400, 0x3a5d07cc
0, 71, 71, 1, 224400, 0x4651a10b
0, 72, 72, 1, 224400, 0xc2d72183
0, 73, 73, 1, 224400, 0xcd971625
0, 74, 74, 1, 224400, 0x9fb0f3c2
0, 75, 75, 1, 224400, 0x920ee561
0, 76, 76, 1, 224400, 0x8a2c1bbf
0, 77, 77, 1, 224400, 0x6150c072
0, 78, 78, 1, 224400, 0x499dc869
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment