CPC H04N 5/772 (2013.01) [G02B 27/017 (2013.01); G06F 3/013 (2013.01); H04N 23/68 (2023.01); G02B 2027/0178 (2013.01); G02B 2027/0187 (2013.01)] | 20 Claims |
1. A continuous video capture apparatus, comprising:
a camera;
a capture button; and
video capture circuitry, comprising:
a processor, and
a computer-readable medium containing instructions that when executed cause the processor to:
receive raw video data from the camera;
encode the received video data;
place the encoded video in a buffer at a data end position;
update the data end position to a next available address in the buffer; and
update a data start position to a location corresponding to a predetermined amount of video time behind the data end position,
wherein the capture button is configured, upon receiving a single press, to cause the processor to:
allocate memory to extend the buffer to support an additional predetermined amount of video;
save the current data end position and update it to point to an extended portion of the buffer;
save the contents of an original portion of the buffer to file;
add the contents of the new portion of the buffer to the file;
deallocate the old portion of the buffer; and
send the file to an external device.
|