Systems and methods for digital content recording
AssigneeUnited Services Automobile Association (USAA)
InventorsBruce Fushey LaClair, Justin Dale Sekula
Life of this patent
Estimating the term…
Abstract
Systems and methods for capturing and/or storing audio content are provided. A content queue stores a first portion of the audio content in a first buffer. The first portion of the content is codec-encoded. While codec-encoding the first portion, the content queue stores a second portion of the content in a second buffer. After codec-encoding of the first portion is complete, the second portion is codec-encoded. While codec-encoding the second portion, a third portion of the audio content is stored in a buffer other than the second buffer.
Claims19
An electronic device for storing content, comprising:
- computer storage for storing codec-encoded content;
- a content queue, comprising:
- a buffer queue comprising two or more buffers, each of the two or more buffers configured to store a portion of raw bits of the content;
- and
- a callback function, configured to perform codec-encoding of raw bits of the content stored in one of the two or more buffers into codec-encoded portions of the content and write the codec-encoded portions of the content to the computer storage;
- a processor configured to manage the content queue, the content queue configured to:
- store a first portion of the raw bits of the content in a first buffer;
- when the first buffer is full, provide the first buffer as input to the callback function;
- upon receiving the first buffer at the callback function, codec-encode, via the callback function, the first portion of the raw bits of the content into a first portion of codec-encoded bits of the codec-encoded content;
- while codec-encoding the first portion of raw bits of the content, store a second portion of the raw bits of the content in a second buffer;
- when the second buffer is full, provide the second buffer as input to the callback function;
- upon receiving the second at the callback function, and after codec-encoding the first portion of raw bits of the content, codec-encode the second portion of the raw bits of the content into a second portion of codec-encoded bits of the codec-encoded content;
- while codec-encoding the second portion of the raw bits of the content, store a third portion of the raw bits of the content in a buffer other than the second buffer;
- and
- upon completion of the codec-encoding of the second portion of the raw bits of the content, append the second portion of the codec-encoded bits of the codec-encoded content to the first portion of the codec-encoded bits of the codec-encoded content.
One or more tangible, non-transitory, computer readable media, comprising instructions configured to cause a processor to:
- receive content from a content capture device, wherein the content capture device comprises machine-readable storage media and a content queue, the content queue comprising:
- a buffer queue comprising two or more buffers, each of the two or more buffers configured to store a portion of raw bits of the content and
- a callback function, configured to perform codec-encoding of raw bits of the content stored in one of the two or more buffers into codec-encoded portions of the content and write the codec-encoded portions of the content to the machine-readable storage media;
- store a first portion of the raw bits of the content in a first buffer;
- when the first buffer is full, provide the first buffer as input to the callback function,
- upon receiving the first buffer at the callback function, codec-encode, via the callback function, the first portion of the raw bits of the content into a first portion of codec-encoded bits of the codec-encoded content;
- while codec-encoding the first portion of the content, store a second portion of the raw bits of the content in a second buffer;
- when the second buffer is full, provide the second buffer as input to the callback function;
- upon receiving the second at the callback function, and after codec-encoding the first portion of the raw bits of the content, codec-encode the second portion of the raw bits of the content into a second portion of codec-encoded bits of the codec-encoded content;
- while codec-encoding the second portion of the raw bits of the content, store a third portion of the raw bits of the content in a buffer other than the second buffer;
- and
- upon completion of the codec-encoding of the second portion of the raw bits of the content, append the second portion of the codec-encoded bits of the codec-encoded content to the first portion of the codec-encoded bits of the codec-encoded content.
A computer-implemented method, comprising:
- receiving, via a processor, a first portion of raw bits of audio input data into a first buffer of a buffer queue, wherein the buffer queue comprises two or more buffers, each of the two or more buffers are configured to store a portion of the raw bits of audio input data;
- when the first buffer is full:
- removing the first buffer from the buffer queue;
- start receiving subsequent portions of the raw bits of the audio input data into a second buffer of the buffer queue;
- providing the first portion of the raw bits of the audio input data in the first buffer to a callback function that codec-encodes the first portion of the raw bits of the audio input data in the first buffer;
- and
- writing the codec-encoded first portion of the raw bits of the audio input data to computer storage;
- and
- once the codec-encoded first portion of the raw bits of the audio input data is written to the computer storage:
- returning the first buffer from the callback function to the end of the buffer queue for subsequent re-filling;
- and
- when the second buffer is full:
- providing the second portion of the raw bits of the audio input data in the second buffer to the callback function that codec-encodes the second portion of the raw bits of the audio input data in the second buffer, such that upon receipt of the second portion of raw bits and after the call-back function codec-encodes the first portion of the raw bits, the callback function codec-encodes the second portion of the raw bits into a second portion of codec-encoded bits of the codec-encoded content;
- and
- receiving and storing a third portion of the raw bits of the audio input data in a buffer other than the second buffer while the second portion of the raw bits is being codec-encoded;
- and
- upon completion of codec-encoding of the second portion of the raw bits, appending the second portion of the codec-encoded bits to the first portion of the codec-encoded bits of the codec-encoded content.
Dependencies are inferred from the claim text.