Patent ID: 8184691

Claim:
A system for data compression, the system comprising: an input module operable to receive a plurality of data and or video in appropriate format; a memory operable to store incoming data and program instructions; a processor coupled to the memory and the input module, the processor operable to repeat the following for subsequent data elements: establish or load a compression threshold establishing a compression goal for lossy compression based on a size of a data packet for synchronous data transfer; input a data element and compress the data element with a loss-less compression algorithm to generate loss-less compressed data; place the loss-less compressed data in an output buffer; input secondary data that can be compressed with a lossy algorithm and compress the secondary data with the lossy algorithm to generate lossy-compressed data; ensure that the lossy-compressed data is less than the compression threshold; place the lossy-compressed data into an output buffer and generate the data packet comprising the loss-less compressed data and lossy compressed data in the output buffer for synchronous transmission; wherein the loss-less compressed data is telemetry data and the lossy-compressed data is video data; wherein a compression ratio of the video data varies with changes in the input video data; and wherein the processor is operable to determine a desired video quality based upon the following formula: Quality= P*e+I *sum ( e 0, e 1, e 2, . . . eN ), wherein e=(available output video buffer space)−(current compressed frame size), P=weighing constant for instantaneous error, and I=weighing constant for integral of error.