diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 01:42:46 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-27 01:42:46 +0000 |
commit | 66db1af9f23041dd22f821cdee8f470e20bd2650 (patch) | |
tree | b284e9776df8cafc55629c5c75f5d7df4846f5eb /remoting/remoting.gyp | |
parent | 60b7dda9b3a35d038b7ac0f04ca8f242266eb2c6 (diff) | |
download | chromium_src-66db1af9f23041dd22f821cdee8f470e20bd2650.zip chromium_src-66db1af9f23041dd22f821cdee8f470e20bd2650.tar.gz chromium_src-66db1af9f23041dd22f821cdee8f470e20bd2650.tar.bz2 |
EncoderZlib/DecoderZlib for chromoting
Encoder and decoder using zlib for chromoting. This implementation has zero
copy out of the decoder and encoder. The consequence is that we have to break
out the zlib stream into rect boundaries which requires the synchronication
flush feature in zlib. This feature will hurt compression ratio but the effect
still need to be measured.
This patch also provides tests for testing the Encoder and Decoder pair with
zlib.
TEST=remoting_unittests
Review URL: http://codereview.chromium.org/2868062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting.gyp')
-rw-r--r-- | remoting/remoting.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp index c7edcea..a0f3ea1 100644 --- a/remoting/remoting.gyp +++ b/remoting/remoting.gyp @@ -138,12 +138,16 @@ 'base/decoder.h', 'base/decoder_verbatim.cc', 'base/decoder_verbatim.h', + 'base/decoder_zlib.cc', + 'base/decoder_zlib.h', 'base/decompressor.h', 'base/decompressor_zlib.cc', 'base/decompressor_zlib.h', 'base/encoder.h', 'base/encoder_verbatim.cc', 'base/encoder_verbatim.h', + 'base/encoder_zlib.cc', + 'base/encoder_zlib.h', # TODO(hclam): Enable VP8 in the build. #'base/encoder_vp8.cc', #'base/encoder_vp8.h', @@ -346,10 +350,12 @@ 'base/codec_test.h', 'base/compressor_zlib_unittest.cc', 'base/decoder_verbatim_unittest.cc', + 'base/decoder_zlib_unittest.cc', 'base/decompressor_zlib_unittest.cc', 'base/encoder_verbatim_unittest.cc', # TODO(hclam): Enable VP8 in the build. #'base/encoder_vp8_unittest.cc', + 'base/encoder_zlib_unittest.cc', 'base/mock_objects.h', 'base/multiple_array_input_stream_unittest.cc', 'base/protocol_decoder_unittest.cc', |