Change the encryption feature to use a callback for decryption.
This allows code calling the library can choose an arbitrary encryption algorithm. Decoder control parameter VP8_SET_DECRYPT_KEY is renamed to VP8D_SET_DECRYPTOR, and now takes an small config struct instead of just a byte array. Change-Id: I0462b3388d8d45057e4f79a6b6777fe713dc546e
Showing
- test/vp8_boolcoder_test.cc 23 additions, 12 deletionstest/vp8_boolcoder_test.cc
- test/vp8_decrypt_test.cc 33 additions, 27 deletionstest/vp8_decrypt_test.cc
- vp8/decoder/dboolhuff.c 15 additions, 9 deletionsvp8/decoder/dboolhuff.c
- vp8/decoder/dboolhuff.h 9 additions, 15 deletionsvp8/decoder/dboolhuff.h
- vp8/decoder/decodframe.c 34 additions, 45 deletionsvp8/decoder/decodframe.c
- vp8/decoder/onyxd_int.h 2 additions, 1 deletionvp8/decoder/onyxd_int.h
- vp8/vp8_dx_iface.c 41 additions, 40 deletionsvp8/vp8_dx_iface.c
- vpx/vp8dx.h 16 additions, 5 deletionsvpx/vp8dx.h
Loading
Please register or sign in to comment