c ++使用数据压缩? [英] c++ working with data compression?

查看:104
本文介绍了c ++使用数据压缩?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在c ++中开始使用数据压缩的最佳位置在哪里。我想在一个端点上压缩两个端点上的数据我希望压缩数据,另一个我想要解压缩。

请帮助我。

Where is the best place to start working with data compression in c++.I want to compress data on
two endpoints on one endpoint i want to compress data and on other i want decompress.
Please help me.

推荐答案

这里有两件事,使用数据压缩和使用C ++。



要破解数据压缩,你需要从理论的角度来理解数学和算法,换句话说就是在纸面上。快速搜索告诉我,我可能会开始像这里 [ ^ ]。



假设你已经掌握了数据压缩理论,那么下一部分就是C ++。您将需要与您正在使用的数据类型相匹配的数据结构和I / O,特别是您正在使用的大量数据。使用数百亿个周期将单个JPEG图像压缩到可能的最小空间来进行分形压缩是一种非常不同的实时高清视频实时压缩,即每秒30帧以上。



鉴于你不太可能想要从头开始做任何事情,你可能会第一次看到一些现有的框架,如ACE用于高速通信或GStreamer或Microsoft Media Foundation来构建视频管道然后将压缩/解压缩添加为新的插件或图层。



剩下的就是实践C ++技术和规范的细节。祝你好运。
There are two things here, working with data compression and working with C++.

To crack data compression you''ll nee to understand the mathematics and algorithms at least reasonably well from a theoretical point of view, in other words on paper. A quick search tells me I might start somewhere like here[^].

Assuming you''ve nailed data compression theory the next part is C++. You''ll need data structures and I/O that match the kind of data you''re working with, and in particular the ammount of data you''re working with. Compressing a single JPEG image into the smallest possible space using tens of billions of cycles to do fractal compression is a very different ball game from compressing live HD video in real time, i.e 30+ frames per second.

Given that you''re not likely to want to do everything from scratch the first time you might look into some exisitng frameworks like ACE for high speed comms or GStreamer or Microsoft Media Foundation for building a video pipeline and then add your compression/decompression as a new plugin or layer.

The rest is going to be down to practised C++ technique and the details of your specification. I wish you luck.


我将这个用于我的C ++项目:

Zip Utils - 干净,优雅,简单,C ++ / Win32 [ ^ ]



-Saurabh
I used this one for my C++ projects:
Zip Utils - clean, elegant, simple, C++/Win32[^]

-Saurabh


这篇关于c ++使用数据压缩?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆