# US 2020/0402535 A1 · Data buffer and data buffer control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0402535 A1
- Document ID: US20200402535A1
- Status: Published application
- Kind: A1
- Application number: 16/971,506
- Filed: 2019-02-15
- Published: 2020-12-24
- Earliest claimed: 2018-02-28
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Stephen Mark KEATING
- Web page: https://patentgrep.com/patent/US20200402535A1

## CPC

- G11B 20/10527: {Audio or video recording; Data buffering arrangements (G11B20/12 - G11B20/18 take precedence)}
- H04J 3/0632: {Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES] (queuing arrangements in packet switching elements H04L49/90; synchronising systems for the synchronous transmission of a pulse code modulated video signal with one or more other pulse code modulated signals H04N7/56)}
- H04L 7/0029: {interpolation of received data signal}
- H04N 21/4392: {involving audio buffer management}
- H04N 21/44004: {involving video buffer management, e.g. video decoder buffer or video display buffer}
- G11B 2020/10712: {buffer capacity, e.g. when the buffer capacity is exhausted, buffered data are overwritten with more recent data, accepting that the old data are lost}
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- H04J: MULTIPLEX COMMUNICATION (transmission in general H04B; peculiar to transmission of digital information H04L5/00; systems for the simultaneous or sequential transmission of more than one television signal H04N7/08; in exchanges H04Q11/00; stereophonic systems H04S)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Control apparatus to control operation of a data buffer to which data items are written according to a write pointer which advances in position in response to an input data item rate and from which data items are read according to a read pointer which advances in position in response to an output data item rate, comprises: a detector configured to detect an occupancy difference between a current buffer occupancy and a target buffer occupancy, in which the current buffer occupancy represents a difference between the read and write pointers; an output data item interpolator configured to interpolate a data item at an interpolated data buffer location displaced by a read offset displacement from a data buffer location pointed to by the read pointer; and output control circuitry configured, in response to a current occupancy difference exceeding a threshold occupancy difference, to change the read pointer from an initial read pointer to a target read pointer by a change amount so as to reduce the occupancy difference, the output control circuitry being configured to progressively vary the read offset displacement so as to define an interpolated data buffer location which progresses over the output of a transitional group of data items towards the location pointed to by the target read pointer; the output control circuitry being further configured, when the occupancy difference is less than the threshold occupancy difference and the interpolated data buffer location is aligned with the target read pointer, to inhibit operation of the output data item interpolator and to control output of an output data item from the data buffer location pointed to by the read pointer.

## Claims

### Claim 1

A control apparatus configured to control operation of a data buffer to which data items are written according to a write pointer which advances in position in response to an input data item rate and from which data items are read according to a read pointer which advances in position in response to an output data item rate, the apparatus comprising:
a detector configured to detect an occupancy difference between a current buffer occupancy and a target buffer occupancy, in which the current buffer occupancy represents a difference between the read and write pointers;
an output data item interpolator configured to interpolate a data item at an interpolated data buffer location displaced by a read offset displacement from a data buffer location pointed to by the read pointer; and
output control circuitry configured, in response to a current occupancy difference exceeding a threshold occupancy difference, to change the read pointer from an initial read pointer to a target read pointer by a change amount so as to reduce the occupancy difference, the output control circuitry being configured to progressively vary the read offset displacement so as to define an interpolated data buffer location which progresses over the output of a transitional group of data items towards the location pointed to by the target read pointer;
the output control circuitry being further configured, when the occupancy difference is less than the threshold occupancy difference and the interpolated data buffer location is aligned with the target read pointer, to inhibit operation of the output data item interpolator and to control output of an output data item from the data buffer location pointed to by the read pointer.

### Claim 2 (depends on 1)

The control apparatus according to claim 1, wherein the output control circuitry is further configured to change the read pointer from an initial read pointer to a target read pointer by first applying the change amount to the read pointer and then applying an offset having an opposite polarity to the change amount and a progressively reducing magnitude, the read offset displacement representing a sum of the change amount and the applied offset.

### Claim 3 (depends on 1)

The control apparatus according to claim 1, wherein the output control circuitry is further configured to change the read pointer from an initial read pointer to a target read pointer by applying a read offset displacement having the same polarity as the change amount and a progressively increasing magnitude.

### Claim 4 (depends on 2)

The control apparatus according to claim 2, wherein the output control circuitry is further configured to progressively vary the read offset displacement by 1/nth of the separation of adjacent data buffer locations at each output data item generation.

### Claim 5 (depends on 4)

The control apparatus according to claim 4, wherein n is an integer power of two, greater than 1.

### Claim 6 (depends on 5)

The control apparatus according to claim 5, wherein the output control circuitry comprises a cyclic counter configured to generate a count value between 0 and n, the count value being indicative of the read offset displacement, and to change the count value at each output data item generation.

### Claim 7 (depends on 1)

The control apparatus according to claim 1, wherein the threshold occupancy difference is more than one data item.

### Claim 8 (depends on 1)

The control apparatus according to claim 1, wherein the input data item rate is defined by an input clock signal and the output data item rate is defined by an output clock signal.

### Claim 9 (depends on 1)

The control apparatus according to claim 1, wherein the interpolator is a two-tap interpolator configured to interpolate between a data item at the data buffer location pointed to by the read pointer and a data item at an adjacent data buffer location, according to an interpolation ratio defining the interpolated data buffer location between the data buffer location pointed to by the read pointer and the adjacent data buffer location.

### Claim 10 (depends on 1)

The control apparatus according to claim 1, further comprising an event detector configured to detect an event of a set of one or more predetermined events, and a controller configured to control one or both of the target buffer occupancy and the threshold occupancy difference in response to a detected event.

### Claim 11 (depends on 1)

The control apparatus according to claim 1, wherein the output control circuitry is further configured, in response to detection by the detector that the current occupancy difference no longer exceeds the threshold occupancy difference, to progressively vary the read offset displacement so as to align the interpolated data buffer location with a given data buffer location.

### Claim 12 (depends on 1)

A data buffer apparatus, comprising:
a data buffer; and
the control apparatus according to claim 1, to control operation of the data buffer.

### Claim 13 (depends on 12)

The data buffer apparatus according to claim 12, wherein the data items are audio samples.

### Claim 14 (depends on 13)

The data buffer apparatus according to claim 13, further comprising:
a video buffer; and
a video buffer controller configured to detect the occupancy of the video buffer and, in response to the detection, to initiate the dropping or repeating of a video frame for output by the video buffer,
wherein the output control circuitry is responsive to the video buffer controller to compensate, over a transitional period, for a net reduction or increase in the output data rate in response to the dropping or repeating of a video frame.

### Claim 15 (depends on 14)

The data buffer apparatus according to claim 14, wherein the output control circuitry is further configured to start the transitional period before the dropping or repeating of the video frame.

### Claim 16

A method, comprising:
controlling operation of a data buffer to which data items are written according to a write pointer which advances in position in response to an input data item rate and from which data items are read according to a read pointer which advances in position in response to an output data item rate;
detecting an occupancy difference between a current buffer occupancy and a target buffer occupancy, in which the current buffer occupancy represents a difference between the read and write pointers;
providing an output data item interpolator to interpolate a data item at an interpolated data buffer location displaced by a read offset displacement from a data buffer location pointed to by the read pointer;
in response to a current occupancy difference exceeding a threshold occupancy difference, changing the read pointer from an initial read pointer to a target read pointer by a change amount so as to reduce the occupancy difference, by progressively varying the read offset displacement so as to define an interpolated data buffer location which progresses over the output of a transitional group of data items towards the location pointed to by the target read pointer; and
when the occupancy difference is less than the threshold occupancy difference and the interpolated data buffer location is aligned with the target read pointer, inhibiting operation of the output data item interpolator and controlling output of an output data item from the data buffer location pointed to by the read pointer.

### Claim 17

A control apparatus configured to control operation of a data buffer to which data items are written according to a write pointer which advances in position in response to an input data item rate and from which data items are read according to a read pointer which advances in position in response to an output data item rate, the control apparatus comprising:
a detector configured to detect an occupancy difference between a current buffer occupancy and a target buffer occupancy, in which the current buffer occupancy represents a difference between the read and write pointers;
an output data item interpolator configured to interpolate a data item at an interpolated data buffer location displaced by a read offset displacement from a data buffer location pointed to by the read pointer; and
output control circuitry configured to output an interpolated data item so as to reduce the occupancy difference and when the occupancy difference is less than the threshold occupancy difference to inhibit operation of the output data item interpolator and to control output of an output data item from the data buffer location pointed to by the read pointer.

### Claim 18 (depends on 17)

The control apparatus according to claim 17, wherein the output control circuitry is further configured to inhibit the output data item interpolator when the occupancy difference is less than the threshold occupancy difference and the interpolated data buffer location is aligned with a target read pointer.

### Claim 19

(canceled)
