US5331346A - Approximating sample rate conversion system - Google Patents

Approximating sample rate conversion system Download PDF

Info

Publication number
US5331346A
US5331346A US07/957,721 US95772192A US5331346A US 5331346 A US5331346 A US 5331346A US 95772192 A US95772192 A US 95772192A US 5331346 A US5331346 A US 5331346A
Authority
US
United States
Prior art keywords
sampled data
sample rate
signal
sets
sample
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US07/957,721
Inventor
Jerome D. Shields
Kenneth E. Vavreck
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp of North America
Original Assignee
Panasonic Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Technologies Inc filed Critical Panasonic Technologies Inc
Priority to US07/957,721 priority Critical patent/US5331346A/en
Assigned to PANASONIC TECHNOLOGIES, INC. reassignment PANASONIC TECHNOLOGIES, INC. ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: SHIELDS, JEROME D., VAVRECK, KENNETH E.
Priority to EP93116252A priority patent/EP0591970B1/en
Priority to DE69324429T priority patent/DE69324429T2/en
Priority to JP25201293A priority patent/JP3297165B2/en
Application granted granted Critical
Publication of US5331346A publication Critical patent/US5331346A/en
Assigned to MATSUSHITA ELECTRIC CORPORATION OF AMERICA reassignment MATSUSHITA ELECTRIC CORPORATION OF AMERICA MERGER (SEE DOCUMENT FOR DETAILS). Assignors: PANASONIC TECHNOLOGIES, INC.
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0102Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving the resampling of the incoming video signal

Definitions

  • the present invention concerns a system for resampling one sampled data signal to generate another sampled data signal where the two sampled data signals have different sample rates, and in particular, to such a system which resamples signals having respective sampling rates that may be represented as a ratio of two large relatively prime integers.
  • Sample rate conversion systems are well known for converting information bearing signals from one format to another code. Such systems are commonly used for data telemetry, audio signal processing, and video signals standards conversion.
  • the system described in the above-referenced patent converts video signals having a nominal sample rate of 13.5 MHz into a digital signal having a sample rate of 14.31818 MHz, (hereinafter 14.3 MHz) which is compatible with the National Television Standards Committee (NTSC) Standard.
  • the ratio of these two sample frequencies is exactly equal to the ratio of 33 to 35.
  • the standards conversion system described in the referenced patent generates 35 output samples for every 33 input samples that it receives. This is accomplished using 35 interpolation filters which generate interpolated samples at 35 respective positions between any two of the input samples.
  • the filter, X i+1 which is selected to generate the i+1 th output sample is defined by equation (1).
  • An alternative sampling scheme may be to use a ratio which approximates the desired ratio and to periodically reset the resampling system, for example, once per horizontal line in order to prevent errors from propagating.
  • This scheme is relatively complex since the starting sample interpolation filter changes from line to line.
  • this scheme may result in an excessively distorted image causing the individual lines of the image to be either shorter or longer than they would be if the proper sequence of interpolation filters were used.
  • the present invention is embodied in a sample rate conversion system which is based on first and second approximate ratios between the input and output sample rates.
  • the system includes circuitry which iteratively selects interpolation filters from among a set of filters 10 based on the first approximate ratio, and circuitry which monitors the accumulated position error introduced by the approximation. When this monitored error becomes greater than a threshold, the system uses the second approximate ratio to select the sequence of filters. Between any two consecutive samples of the second sampled data signal, the accumulated sample position error changes in a positive sense while resampling according to one of the approximate sample ratios and changes in a negative sense while resampling according to the other of the approximate sample ratios. The process iteratively switches between the two sample rate ratios to maintain the accumulated position error below a threshold value.
  • FIG. 1 is a block diagram of a sample rate conversion system which includes an embodiment of the invention.
  • FIGS. 2a and 2b are flow chart diagrams which are useful for explaining the operation of the circuitry shown in FIG. 1.
  • FIG. 3 is a block diagram of an exemplary sample rate conversion system for converting CCIR (601) video signals into PAL video signals.
  • FIG. 3a is a block diagram of synchronization signal insertion circuitry suitable for use in the sample rate conversion system shown in FIG. 3.
  • FIG. 4a and 4b is a block diagram of an interpolation filter suitable for use in either of the sample rate conversion systems shown in FIGS. 1 and 3.
  • FIG. 5 is a logic diagram partly in block diagram form of exemplary output control circuitry suitable for use in the sample rate conversion systems shown in FIGS. 1 and 3.
  • the subject resampling system operates by using two ratios which cause opposite errors in the resampled signal.
  • the error caused by the ratio currently being used is continually monitored.
  • this error exceeds a predetermined threshold
  • the system switches to use the other ratio, causing the error to decrease (i.e. . go from a positive error to a negative error).
  • the error in the output signal does not accumulate above the threshold value.
  • the sequence of interpolation filters is automatically changed to achieve the desired error characteristics.
  • the largest single error may be kept small by using a small error threshold.
  • the minimum threshold which may be used, however, is determined by the approximate sample-rate ratio which is chosen.
  • FIG. 1 The exemplary system for implementing this general resampling scheme is shown in FIG. 1.
  • a sampled data signal IN is applied to a decoder 110.
  • the signal IN includes both the sampled data and an encoded clock signal.
  • the decoder 110 strips the clock signal from the data and applies it to input control circuitry 112.
  • the circuitry 112 applies the clock signal and a write control signal to a first-in, first-out (FIFO) buffer 114.
  • a data input port to the buffer 114 is coupled to receive the data values from the decoder 110. Responsive to thewrite control signal, these data values are successively written into the FIFO buffer 114.
  • Data values are read from the FIFO buffer 114 under the control of output control circuitry 122.
  • the circuitry 122 is responsive to an output clock signal provided by clock generator 124 and to control parameters provided by a microcomputer 118. In response to the clock signal and using these parameters, the output control circuitry 122 retrieves data values from the FIFO buffer 114 as they are needed by an interpolation filter 116.
  • Theinterpolation filter 116 which may, for example, be identical to the filter described below with reference to FIGS. 4a and 4b, combines multiple samples from the FIFO buffer 114 to generate each sample of the output signal OUT. This filter uses dedicated interpolator circuits such as those described in the above-referenced U.S. Patent.
  • These interpolators are, in reality, programmable filters each of which may be programmed as a time-division multiplexed (TDM) plurality of filters. These TDM filters are applied in a predetermined sequence to generate output samples which occur at a rate that is different from the rate of the input samples, of the signal IN.
  • TDM time-division multiplexed
  • the output control circuitry 122 determines which of the plurality of filters is to be used at any given time in response to the clock signal provided by the clock generator 124 and the parameters provided by the microcomputer 118.
  • the microcomputer 118 generates these parameters from data provided by a user via, for example, an input keypad 120.
  • FIG. 1 The operation of the circuitry shown in FIG. 1 is illustrated with reference to the flow chart diagram shown in FIGS. 2a and 2b.
  • This flow-chart diagram shows the operation of the sample-rate conversion system both in the establishment of the parameters and in interpolating output samples from input samples using those parameters.
  • step 210 obtains input variables from the input circuit 120 and calculates initial values used by the program.
  • the input variables are IN -- RATE, the input sample rate; OUT -- RATE, the output sample rate; MIN -- FILT, the minimum number of filters to be used by the interpolator 116; and MAX -- FILT, the maximum number of filters which may be used by the interpolator 116.
  • the luminance and chrominance signals are interpolated separately, and since the chrominance signal has one-half thesample rate of the luminance signal, ideally, twice as many interpolation filters should be used to generate the interpolated chrominance signal as are used to generate the interpolated luminance signal.
  • the two embodiments of the invention described herein use the same number of filters to interpolate both the luminance and chrominance samples.
  • the luminance filters are used in one of two predetermined sequences.
  • the chrominance filter used for any given sample is either the same as the luminance filter or it is at a complementary position in the intersample interval.
  • the calculations described below determine how many sets of filter coefficients are to be used to resample the luminance and chrominance signal.
  • the value MAX -- FILT is set to the maximum number of coefficient sets (i.e. TDM filters) which can be implemented in the interpolation filter 116.
  • the value of MIN -- FILT may be set to a value of two or to some higher number representing a minimum acceptable granularity in the interpolated sample positions.
  • the process next calculates the greatest common factor (GCF) for the input and output rates. This may be done using any one of a numberof widely available algorithms. After the GCF has been calculated, the supplied IN -- RATE and OUT -- RATE values are divided by this greatest common factor and the results are stored into the IN -- RATE and OUT -- RATE variables, respectively. By definition, the values held by the variables IN -- RATE and OUT -- RATE are relatively prime.
  • the last operation performed in step 210 is to set the value of MAX -- FILT to the minimum of the newly calculated value of OUT -- RATE and MAX -- FILT, and to set the value of MIN -- FILT to the minimum of the value MIN -- FILT and the newly calculated value of OUTRATE.
  • step 212 is executed.
  • the process assigns thevalue of IN -- RATE divided by OUT -- RATE to the variable RATIO.
  • the variable B is set to MAX -- FILT and a variable ERRMIN is set to 1.
  • the variable B will eventually hold the number of filters which are to be programmed in the interpolation filter 116. These filters are used to resample the luminance and chrominance components of the input signal IN.
  • step 216 the value B is compared to MIN -- FILT. If B is greater than MIN -- FILT, step 218 is executed. In this step, the variable I is set to RND(OUT -- RATE/B), the rounded integer part of OUT -- RATE divided by B, and the variable RB is set to the value of OUT -- RATE MOD B, OUT -- RATE minus the quantity B times I.
  • ERR maximum position shift error
  • ABS(X) signifies the absolute value of X.
  • step 220 If at step 220, the newly calculated value of ERR is less than the stored value ERRMIN then at step 222, ERRMIN is assigned the value held by ERR and the values B, I and RB are saved in the respective variables SB, SI and SRB.
  • step 224 is executed. This step decrements the value of B and branches back to step 216 to try the next lower value of B to determine ifit would provide a better ratio for approximating the ratio of the input and output rates.
  • step 216 When, at step 216, the value of B falls below MIN -- FILT, control is passed to step 225.
  • step 225 the optimal values B, I and RB are recovered from the respective variables SB, SI and SRB and control is transferred to step 226. If at step 226, the stored value ERRMIN is equal to 0, then an exact ratio was found, which fits the filter requirements ofthe interpolator 116. If an exact ratio exists, it should be used rather than an approximate ratio.
  • Step 228 calculates the value of a variable A as the integer part of the value of RATIO * B. This step also sets a boolean variable CORERR and sets a variable RA according to equation (3).
  • step 230 isexecuted. This step calculates B sets of filter coefficients representing Binterpolated sample positions between any two luminance samples of the input signal IN. Also at step 230, these B sets of filter coefficients areloaded into the interpolators of the interpolation filter 116. Next, step 230 passes control through off-page connector A to step 232 of FIG. 2b.
  • the inventors have determined that values of 80 and 106 for A and B respectively, produce acceptable interpolation when MAX -- FILTER is equal to 107.
  • This first step of FIG. 2b sets temporary value variables XY, XC, Y and CF to initial values of 0 and sets a variable A1 to the current value in A.
  • step 234 is executed. This step calculates a variable SHIFT according to equation (4).
  • the values XY i+1 and XC i+1 specify, respectively, which of the B luminance filters and B/2 chrominance filters are to be used for the i+l th luminance interpolation and chrominance interpolation, respectively.
  • the contents of the variable SHIFT becomes a signal which isapplied to the FIFO buffer 114 to cause it to provide the next sample to the interpolation filter 116.
  • step 236 the process shown in FIG. 2b determines if the variable CORERRis set. If this variable is not set, then the calculations performed at step 234 are exact because an exact ratio A/B was found which equaled the ratio of IN -- RATE/OUT -- RATE. If CORERR is not set, control branches back to step 234 to calculate the next values for the variables SHIFT, CF, XY and XC.
  • step 238 determines if the value SHIFT calculated at step 234 is 1. If it is, then at step 242, a variable RA1 isset to RA-RB. Otherwise, at step 240, the variable RA1 is set to RA. After steps 242 and 240, the step 244 is executed. This step computes the new error value, Y i+1 , and the error overflow value, OVF, according equations (7) and (8).
  • the value (Y i +RA1) / I is a measure of the error in the interpolation, accumulated over i sample intervals, caused by the use of the approximation A/B instead of the actual sample rate ratio, IN -- RATE/ OUT -- RATE.
  • OVF the value of the error in the interpolation
  • the approximate ratio is changed to reduce theerror. This occurs at step 250 when the variable A1 is assigned a value, A+1. This step reduces the error by one intersample interval.
  • step 246 If at step 246, the value OVF is found to be equal to 0, the variable A1 isset to A at step 248. After step 248, or step 250, control returns to step 234 to calculate the next filters to be used in the interpolation process.
  • the process illustrated by FIGS. 2a and 2b may be implemented in the microcomputer 316 in which case the output control circuitry 324 merely routes the signals SHIFT, XY and XC to the interpolation filter 320 and synchronizes them with the clock signal provided by the clock generator.
  • the output control circuitry 324 may include circuitry suchas that shown in FIG. 5, described below, which implements the operations shown in FIG. 2b.
  • the circuitry shown in FIG. 3 and the process shown in FIGS. 2a and 2b implement a generalized resampling system in which desiredinput and output sample rates are applied to the system along with the input samples to produce the resampled output signal.
  • This system converts video signals which conform to the 25 Hz CCIR (601) Digital Video Standard to digital video signals compatible with the PAL Standard sampled at 4 times the color subcarrier frequency (4F SC ).
  • a ten-bit CCIR (601) video signal having a sample rate of 27 MHz is applied to a CCIR (601) decoder 310 along with anaccompanying 27 MHz clock signal CLK -- 27.
  • this ten-bit signal includes alternating ten-bit samples of luminance and chrominance signals where the chrominance signal includes two color-difference signals CA and CB (i.e. U and V, respectively).
  • the CCIR (601) decoder 310 extracts a horizontal line blanking signal H and a vertical field blanking signal F from the ten-bit samples and applies these two signals and the 27 MHz clock signal to input control logic 312.
  • the input control logic 312 includes a pair of counters (not shown) and a frequency-divide-by-two circuit (not shown).
  • the logic 312 divides the clock signal CLK -- 27 in frequency by 2 to produce a 13.5 MHz clock signal Y -- C.
  • the control logic 312 provides a 10-bit signal HCOUNT which indicates the current horizontal pixel position of theCCIR (601) pixel value.
  • the control logic 312 also provides two signals, VPLS and VINT which indicate, respectively, when a vertical synchronization pulse is to occur and when the vertical blanking interval is to occur.
  • the control logic 312 may also generate a signal SI which determines when synchronization samples are to be inserted into the CCIR (601) sample stream.
  • the ten-bit TDM video signal representing the luminance and chrominance signal components, is applied to sync insertion circuitry 314.
  • the input control logic 312 provides the signals SI, Y -- C, HCOUNT, VPLS and VINT to the circuitry 314.
  • Exemplary sync insertion circuitry 314 is shown in FIG. 3A.
  • the ten-bit CCIR (601) signal is applied to the data-input port of a demultiplexer 326 which is coupled to receive the signal Y -- C as its control signal.
  • the demultiplexer 326 provides samples of the luminance signal Y at one of its two output ports, and samples of the chrominance signal C at the other output port.
  • the luminance samples are applied to one input port of a multiplexer 328.
  • the other input port to the multiplexer 328 is coupled to receive a synchronization signal SYNC from a ROM 332.
  • the ROM 332 is addressed by values provided by the input control block 312. These address values are composed of the ten-bit signal HCOUNT concatenatedwith the single-bit signals VPLS and VINT. This address signal uniquely describes the position of the current CCIR (601) pixel on the horizontal line and the vertical field of the image. These values are applied to the address input port of the ROM 332 which, in response, produces samples representing horizontal and vertical synchronization signals. These samples are applied to the second input port of the multiplexer 328.
  • the multiplexer 328 is controlled by the signal SI such that, when signal SI is in a logic-high state, samples from the ROM 332 are provided as the luminance signal Y; and when SI is in a logic-low state, samples from the demultiplexer 326 are provided as the signal Y.
  • the circuit also includes a delay element 334 which compensates the chrominance signal for processing delays through the multiplexer 328.
  • the signals Y and C developed by the sync-insertion circuitry 314, are applied to a frame buffer 318.
  • Buffer 318 also receivesa 13.5 MHz write clock signal W -- CLK and a write reset signal WR frominput control logic control 312.
  • Frame buffer 318 also receives a 17.7 MHz read clock signal R -- CLK and a read reset signal RR from output-control logic 324, described below.
  • the frame buffer 318 acts as a large first-in, first-out (FIFO) memory. Data values representing the luminance signal Y and chrominance signal C are written into the buffer 318 synchronous with the signal W -- CLK and the buffer 318 is reset to its starting write address value responsive to the signal WR.
  • FIFO first-in, first-out
  • Samples are read from the buffer 318 synchronous with the signal R -- CSK and the starting address value for reading samples from the buffer is reset by the signal RR.
  • thesystem can implement a delay of up to one frame interval. This is desirablefor studio applications where the PAL signal produced by the system may need to be delayed by as much as one frame interval to synchronize it witha video signal from another source.
  • the luminance and chrominance signals provided by the frame buffer 318 are applied to the interpolation filter 320 as the signals YIN and CIN respectively.
  • Interpolation filter 320 also receives a signal SHIFT and other control signals (i.e. XY and XC) from output-control circuitry 324.
  • the filter 320 receives a burst signal from burst ROM 322.
  • the interpolation filter 320 resamples the luminance and chrominance samples stored in the frame buffer318, converts the chrominance samples into a modulated chrominance component signal and adds the modulated chrominance signal to the luminance signal to produce the PAL output signal.
  • FIG. 4a is a block diagram of circuitry suitable for use as the interpolation filter 320.
  • This filter operates using a 35.468944 MHz (hereinafter 35.5 MHz) clock signal, CK -- 35.
  • the signal YIN is applied to a register 410 while the signal CIN is applied to a demultiplexer 412.
  • the demultiplexer 412 separates the alternate CA and CB samples into two separate sample streams, responsive to a 8.9 MHz (2F SC ) clock signal which is derived from the signal CK -- 35 by the frequency-divide-by-four circuit 418.
  • the two output signals of the demultiplexer 412 are applied respectively to registers 414and 416.
  • the registers 410, 414 and 416 are responsive to the logical AND of the signal SHIFT and the 13.5 MHz clock signal to load a new value of the respective signals YIN, CA and CB when the signal SHIFT indicates that a new sample is provided by the frame buffer 318, shown in FIG. 3.
  • the output values held in the register 410 are read by a luminance interpolator 420 which resamples the signal YIN in accordance with the luminance coefficient addresses indicated by the signal XY, provided by the output control circuitry 324, shown in FIG. 3.
  • the samples produced bythis interpolator conform to the luminance component of a sampled data PAL video signal. Circuitry suitable for use as the interpolator 420 is described below with reference to FIG. 4b.
  • the resampled luminance signal generated by the interpolator 420 is appliedto one input port of an adder 429, the other input port of which is coupledto receive the samples from the burst ROM 322, shown in FIG. 3. Responsive to this signal, digital samples representing a black-level correction termand the color reference burst signal (only during the burst interval) are added to luminance samples.
  • the samples held by the registers 414 and 416 are combined by an adder 422 and a subtracter 424 which generate, respectively, the signals (CA+CB) and(CA-CB) at their output ports. These signals are applied to respective compensating delay elements 426 and 428 which compensate for the processing delay of the luminance signal through the interpolator 420.
  • Thedelayed (CA+CB) and (CA-CB) signals provided by the delay elements 426 and 428 are applied to respective input ports AIN and BIN of a chrominance interpolator 430.
  • the PAL luminance signal with the color reference burst signal is applied to an input terminal EXT of the interpolator 430.
  • the sequence of filters used by the chrominance interpolator 430 is determinedby the signal XC which is applied to the interpolator through a compensating delay element 432.
  • the delay element 432 matches the coefficient values to the samples provided by the delay elements 426 and 428.
  • the interpolator 430 processes the (CA-CB) and (CA+CB) signals to generate a sequence of samples, at the PAL sampling rate of 17.7 MHz which have theformat (CA ⁇ CB), (CA ⁇ CB), -(CA+CB), -(CA ⁇ CB), (CA+CB), . . .
  • the + and ⁇ operations indicate corresponding sample values on successive lines of the video signal (i.e.
  • FIG. 4b is a block diagram, partly in logic diagram form of an exemplary interpolator which may be used as either of the interpolators 420 or 430.
  • the signals AIN and BIN are applied to a bidirectional twelve-tap delay line 440.
  • each tap of the delay line may be programmed with as many as 107 different coefficient values.
  • a coefficient address signal i.e. either XY or XC
  • each of thetap cells of the delay line 440 multiplies its AIN or BIN data value by theselected coefficient value.
  • Each value of the coefficient address signal causes the delay line 440 to use a different set of coefficient values and, thus, to implement a different filter.
  • the B interpolation filters used in this embodiment of the invention are implemented through B different sets of coefficients addressed by the signals XY and XC.
  • the BIN input port is disabled by holding the EN B signal logic-low.
  • the (CA+CB) signal is applied to the AIN input port while the (CA-CB) signal is applied to the BIN input port.
  • the operation of the chrominance interpolator 430 is described below. From this description and from the above-referenced U.S. patent, one of ordinary skill in the art could readily determine control signals to operate the luminance interpolator 420.
  • each of the AIN and BIN input ports iscoupled to a respective shift register which provides multiple taps for implementing a respective finite impulse response (FIR) filter.
  • the AIN samples from all of the tap cells are multiplied by the respective coefficient values and then summed by the summing block 446.
  • the BIN values held by the respective tap cells are multiplied by the same coefficient values and summed in the summing circuit 446.
  • the summing block 446 alternately provides samples of the two filtered chrominance signals, (CA+CB) and (CA-CB), to a programmable delay element 448.
  • the delay element 448 is set to its minimum delay value.
  • the samples provided by the delay element 448 may be represented by a sequence (CA+CB), (CA-CB), (CA+CB), (CA-CB), (CA+CB), (CA-CB), . . . Thesesamples are applied to a selective inverting circuit 450.
  • the circuitry 450 is controlled by a signal NEGATE provided by the output-control circuitry 324.
  • the signal NEGATE causes every other pair of samples of the interpolated chrominance signalsto be inverted so that the sequence of samples applied to the adder 452 is (CA+CB), (CA-CB), -(CA+CB), -(CA-CB), (CA+CB), (CA-CB), . . .
  • the inversion of chrominance sample pairs is shifted by one sample position from line-to-line to mimic the 90° phase shift of the CB (V) color difference signal from line-to-line which is defined by the PAL standard.
  • the adder 452 is part of an accumulator which includes register 454 and multiplexer 456.
  • successive samples of the interpolated luminance signal Y are applied to one input port of the adder 452 via an external input port EXT through a register 458 and a multiplexer 456 while the chrominance sample stream provided by the delay element 448 is applied to the other input port of the adder 452.
  • the output signal produced by the adder 452 is a sample stream Y+(CA ⁇ CB), Y+(CA ⁇ CB), Y-(CA ⁇ CB), Y-(CA ⁇ CB), Y+(CA ⁇ CB), . . .
  • the summed luminance andchrominance samples are stored in the register 454 and then transferred to the register 460 synchronous with the next pair of sample values being applied to the adder 452.
  • the register 460 provides output samples in the format and sample rate of a sampled data PAL composite video signal.
  • the burst ROM 322 provides a signal which corrects the black level of the samples provided by the luminance interpolator 420 to produce a desired black level for the PAL signal.
  • the ROM 322 also provides a sampled data burst signal at a predetermined phase as determined by the line number signal (not shown) and field number signal (not shown) provided by the output control circuitry 324.
  • the signal provided by the chrominance interpolator 430 is a sampled data PAL signal which includes a color reference burst signal and which has a corrected black level.
  • FIG. 5 is a logic diagram, partly in block diagram form of circuitry suitable for use in the output control circuitry 324, shown in FIG. 3.
  • Thelogic circuitry shown in FIG. 5 calculates the values XY, XC and SHIFT which are applied to the interpolation filter 320, also shown in FIG. 3.
  • this circuitry calculates new values for the internal error signal Y. These are the same values that are calculated by the microcomputer 118, shown in FIG. 1 according to the equations (5), (6), (7), (8) and (9) reproduced below.
  • B is 106
  • A is 80
  • RA is 4640
  • RB is 27
  • I is 6692.
  • A1 switches between 80 and 81 depending on whether the error is above or below the threshold, respectively.
  • RA1 switches between 4640 and 4613. Since division is difficult to implement in logic circuitry, the equations (5) through (9), as implemented in the logic circuitry shown in FIG. 5, have been simplified to eliminate the division.
  • register 528; adder 510; value sources 512, 514, 516, 518 and 519; three-state buffers 520, 522, 524, and 526; OR gate 562 and comparators 530 and 532 implement equations (4), (5) and (6).
  • Register 546; adder 534; value sources 536, 538, 540, 542, 544 and 545; three-statebuffers 566, 568, 570 and 572, OR gate 560 and comparators 548 and 550 implement equations (7) and (8).
  • the AND gates 552, 554, 556, 558 and 564 produce control signals which are shared by the two circuits.
  • the three-state gates 520, 522, 524 and 526 selectively provide one of the values 80, 81, -26 and -25 to the adder 510 to be addedto the value of XY held in the register 528.
  • the values 80 or 81 are applied, depending on the value of A1, when the comparator 530 indicates that the result of adding the value to the current value of XY will be less than 106.
  • Respective values of -26 and -25 are applied when the comparator 530 indicates that the result of adding 80 or 81, respectively,to the current value of XY would cause the result to be greater than 106.
  • the value of XY produced by the adder 510 is the same as that of an addition of 80 or 81, modulo 106.
  • the comparator 530 compares the present value of XY, provided by the adder 510, to the value 25 provided by value source 519 and produces a logic-high output signal when XY is less than 25, (i.e. when the addition of 80 or 81 to XY will not produce a value greater than 106).
  • Another comparator 532 also compares the current value of XY to 25 but produces a logic-high signal only when XY is greater than 25 (i.e. when the addition of 80 or 81 to XY will produce a value greater than 106). These signals are used, along with the output signals of the two error comparators 548 and 550, described below, to determine which of the values provided by thevalue sources 512, 514, 516 and 518 is to be applied to the adder 510.
  • the circuitry which implements equations (7) and (8) operates in a similar manner.
  • the values, 4640, 4613, provided by the value sources 4640 and 4613, are the two values of RA1 corresponding to the error differential when the values of A1 are 80 and 81, respectively, and the values -2052 and -2079 are corresponding values which are used to implement modulo 6692arithmetic.
  • the comparator 548 produces a logic-high signal only when the value of Y held in the register 546 is less than 2052. This signal indicates that thenext value of Y (i.e. the result of adding either 4640 or 4613 to Y) will be less than 6692.
  • Another comparator 550 provides a logic-high output signal only when the current value of Y is greater than 2078. This signal indicates that the next value of Y will be greater than 6692, and so, the appropriate negative value will be added to model modulo addition.
  • the value of XC is generated by selectively adding the value of XY to 106, depending on the value of the signal, CF, which is toggled between logic-low and logic-high each time that the signal SHIFT goes from logic-low to logic-high.
  • the circuitry which implements this function includes adder 580, value source 582, multiplexer 584, trigger-type flip-flop 586 and integer divider 588.
  • the circuitry shown in FIG. 5 generates the signals XY, XC and SHIFT to control the interpolation filter 320, shown in FIG. 3. From the description set forth above, one of ordinary skill in the art could readily design circuitry which produces the signal NEGATE.
  • the circuitry shown in FIG. 5 may be readily modified to handle other inputand output sample rates.
  • a system to convert video signals having an input sample rate of 18 MHz into a PAL compatible format may usethe same circuitry as shown in FIG. 5 with different constants provided by the constant sources.
  • B equal to 106
  • A would be 108 and the constant sources 512, 514, 516, 518 and 519 would provide the respective constant values 1, 2 (i.e. 107 mod 106 and 108 mod 106), -105, -104 and 104 while the constant sources 536, 538, 540, 542, 544 and 545 would provide the respective constant values 3929, 3902, -2763, -2790, 2763 and 2789.

Abstract

A sample rate conversion system converts from an input sample rate stream having a predetermined input sample rate to an output sample stream having a predetermined output sample rate by interpolating output samples from the input samples using first and second approximate sample rate ratios. The system includes circuitry which selects a sequence of interpolation filters from among a set of filters, the sequences being defined by one of these approximate ratios, and circuitry which monitors the magnitude of the accumulated error introduced by the approximation. When this accumulated error becomes greater than a threshold, the system changes to use a further sequence of interpolation filters based on the other approximate ratio. The accumulated error changes in a positive sense with each successive sample while one of the two approximate ratios is used. The accumulated error changes in a negative sense with each successive sample while the other of the two approximate ratios is used. The system switches between these sample rate ratios to maintain the magnitude of the position error of the interpolated samples below a predetermined threshold value. A sample rate conversion system which converts a television signal in CCIR (601) format into a Phase Alternate Line (PAL) video signal is disclosed.

Description

BACKGROUND OF THE INVENTION
The present invention concerns a system for resampling one sampled data signal to generate another sampled data signal where the two sampled data signals have different sample rates, and in particular, to such a system which resamples signals having respective sampling rates that may be represented as a ratio of two large relatively prime integers.
Sample rate conversion systems are well known for converting information bearing signals from one format to another code. Such systems are commonly used for data telemetry, audio signal processing, and video signals standards conversion.
An exemplary video signal standards conversion system is described in U.S. Pat. No. 5,057,911 entitled, SYSTEM AND METHOD FOR CONVERSION OF DIGITAL VIDEO SIGNALS, which is hereby incorporated by reference for its teachings on digital resampling techniques.
The system described in the above-referenced patent converts video signals having a nominal sample rate of 13.5 MHz into a digital signal having a sample rate of 14.31818 MHz, (hereinafter 14.3 MHz) which is compatible with the National Television Standards Committee (NTSC) Standard. The ratio of these two sample frequencies is exactly equal to the ratio of 33 to 35.
Accordingly, the standards conversion system described in the referenced patent generates 35 output samples for every 33 input samples that it receives. This is accomplished using 35 interpolation filters which generate interpolated samples at 35 respective positions between any two of the input samples. The filter, Xi+1, which is selected to generate the i+1th output sample is defined by equation (1).
X.sub.i+1 =(X.sub.i 33) MOD 35                             (1)
This technique of sample rate conversion works well when the input and output sample rates can be represented as a ratio of two relatively small numbers. When, however, the ratio of these rates cannot be represented to a high degree of precision by a manageable ratio, this conversion process may be inaccurate or unduly expensive to implement.
For example, consider a resampling circuit which converts from the CCIR (601) standard having a nominal sample rate of 13.5 MHz to the Phase Alternate Line (PAL) standard which has a sample rate of 17.734475 (hereinafter 17.7) MHz. The smallest exact ratio between these two sampling frequencies is 540,000 over 709,379. Thus, if the scheme described above were used to resample the CCIR (601) signal into a PAL digital signal, 709,379 digital filters would be required. At the current state of the art, it is impractical to implement a video standards conversion system having 709,379 filters.
An alternative sampling scheme may be to use a ratio which approximates the desired ratio and to periodically reset the resampling system, for example, once per horizontal line in order to prevent errors from propagating. This scheme, however, is relatively complex since the starting sample interpolation filter changes from line to line. In addition, this scheme may result in an excessively distorted image causing the individual lines of the image to be either shorter or longer than they would be if the proper sequence of interpolation filters were used.
SUMMARY OF THE INVENTION
The present invention is embodied in a sample rate conversion system which is based on first and second approximate ratios between the input and output sample rates. The system includes circuitry which iteratively selects interpolation filters from among a set of filters 10 based on the first approximate ratio, and circuitry which monitors the accumulated position error introduced by the approximation. When this monitored error becomes greater than a threshold, the system uses the second approximate ratio to select the sequence of filters. Between any two consecutive samples of the second sampled data signal, the accumulated sample position error changes in a positive sense while resampling according to one of the approximate sample ratios and changes in a negative sense while resampling according to the other of the approximate sample ratios. The process iteratively switches between the two sample rate ratios to maintain the accumulated position error below a threshold value.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a sample rate conversion system which includes an embodiment of the invention.
FIGS. 2a and 2b are flow chart diagrams which are useful for explaining the operation of the circuitry shown in FIG. 1.
FIG. 3 is a block diagram of an exemplary sample rate conversion system for converting CCIR (601) video signals into PAL video signals.
FIG. 3a is a block diagram of synchronization signal insertion circuitry suitable for use in the sample rate conversion system shown in FIG. 3.
FIG. 4a and 4b is a block diagram of an interpolation filter suitable for use in either of the sample rate conversion systems shown in FIGS. 1 and 3.
FIG. 5 is a logic diagram partly in block diagram form of exemplary output control circuitry suitable for use in the sample rate conversion systems shown in FIGS. 1 and 3.
DETAILED DESCRIPTION
In general terms, the subject resampling system operates by using two ratios which cause opposite errors in the resampled signal. As the resampled signal is developed, the error caused by the ratio currently being used is continually monitored. When, in the exemplary embodiment of the invention, this error exceeds a predetermined threshold, the system switches to use the other ratio, causing the error to decrease (i.e. . go from a positive error to a negative error). Using this technique, the error in the output signal does not accumulate above the threshold value. The sequence of interpolation filters is automatically changed to achieve the desired error characteristics. In addition, the largest single error may be kept small by using a small error threshold. The minimum threshold which may be used, however, is determined by the approximate sample-rate ratio which is chosen.
The exemplary system for implementing this general resampling scheme is shown in FIG. 1. In this system, a sampled data signal IN is applied to a decoder 110. The signal IN includes both the sampled data and an encoded clock signal. The decoder 110 strips the clock signal from the data and applies it to input control circuitry 112. The circuitry 112, in turn, applies the clock signal and a write control signal to a first-in, first-out (FIFO) buffer 114. A data input port to the buffer 114 is coupled to receive the data values from the decoder 110. Responsive to thewrite control signal, these data values are successively written into the FIFO buffer 114.
Data values are read from the FIFO buffer 114 under the control of output control circuitry 122. The circuitry 122 is responsive to an output clock signal provided by clock generator 124 and to control parameters provided by a microcomputer 118. In response to the clock signal and using these parameters, the output control circuitry 122 retrieves data values from the FIFO buffer 114 as they are needed by an interpolation filter 116. Theinterpolation filter 116, which may, for example, be identical to the filter described below with reference to FIGS. 4a and 4b, combines multiple samples from the FIFO buffer 114 to generate each sample of the output signal OUT. This filter uses dedicated interpolator circuits such as those described in the above-referenced U.S. Patent. These interpolators are, in reality, programmable filters each of which may be programmed as a time-division multiplexed (TDM) plurality of filters. These TDM filters are applied in a predetermined sequence to generate output samples which occur at a rate that is different from the rate of the input samples, of the signal IN.
In a first embodiment of the invention, the output control circuitry 122 determines which of the plurality of filters is to be used at any given time in response to the clock signal provided by the clock generator 124 and the parameters provided by the microcomputer 118. The microcomputer 118 generates these parameters from data provided by a user via, for example, an input keypad 120.
The operation of the circuitry shown in FIG. 1 is illustrated with reference to the flow chart diagram shown in FIGS. 2a and 2b. This flow-chart diagram shows the operation of the sample-rate conversion system both in the establishment of the parameters and in interpolating output samples from input samples using those parameters.
The first step in the process illustrated by this flowchart, step 210, obtains input variables from the input circuit 120 and calculates initial values used by the program. The input variables are IN-- RATE, the input sample rate; OUT-- RATE, the output sample rate; MIN-- FILT, the minimum number of filters to be used by the interpolator 116; and MAX-- FILT, the maximum number of filters which may be used by the interpolator 116.
Since, as described below, the luminance and chrominance signals are interpolated separately, and since the chrominance signal has one-half thesample rate of the luminance signal, ideally, twice as many interpolation filters should be used to generate the interpolated chrominance signal as are used to generate the interpolated luminance signal. The two embodiments of the invention described herein, however, use the same number of filters to interpolate both the luminance and chrominance samples. The luminance filters are used in one of two predetermined sequences. The chrominance filter used for any given sample is either the same as the luminance filter or it is at a complementary position in the intersample interval.
The calculations described below determine how many sets of filter coefficients are to be used to resample the luminance and chrominance signal. The value MAX-- FILT is set to the maximum number of coefficient sets (i.e. TDM filters) which can be implemented in the interpolation filter 116. The value of MIN-- FILT may be set to a value of two or to some higher number representing a minimum acceptable granularity in the interpolated sample positions.
At step 210, the process next calculates the greatest common factor (GCF) for the input and output rates. This may be done using any one of a numberof widely available algorithms. After the GCF has been calculated, the supplied IN-- RATE and OUT-- RATE values are divided by this greatest common factor and the results are stored into the IN-- RATE and OUT-- RATE variables, respectively. By definition, the values held by the variables IN-- RATE and OUT-- RATE are relatively prime. The last operation performed in step 210 is to set the value of MAX-- FILT to the minimum of the newly calculated value of OUT--RATE and MAX-- FILT, and to set the value of MIN-- FILT to the minimum of the value MIN-- FILT and the newly calculated value of OUTRATE.
After step 210, step 212 is executed. In this step, the process assigns thevalue of IN-- RATE divided by OUT-- RATE to the variable RATIO. At step 214, the variable B is set to MAX-- FILT and a variable ERRMIN is set to 1. The variable B will eventually hold the number of filters which are to be programmed in the interpolation filter 116. These filters are used to resample the luminance and chrominance components of the input signal IN.
At step 216, the value B is compared to MIN-- FILT. If B is greater than MIN-- FILT, step 218 is executed. In this step, the variable I is set to RND(OUT-- RATE/B), the rounded integer part of OUT-- RATE divided by B, and the variable RB is set to the value of OUT-- RATE MOD B, OUT-- RATE minus the quantity B times I. The maximum position shift error, ERR, for the approximation ratio A over B is given by the equation (2).
ERR=(I+ABS (RB))/(2*OUT.sub.-- RATE)                       (2)
where ABS(X) signifies the absolute value of X.
If at step 220, the newly calculated value of ERR is less than the stored value ERRMIN then at step 222, ERRMIN is assigned the value held by ERR and the values B, I and RB are saved in the respective variables SB, SI and SRB. After step 222, or after step 220, if ERR is not less than ERRMIN, step 224 is executed. This step decrements the value of B and branches back to step 216 to try the next lower value of B to determine ifit would provide a better ratio for approximating the ratio of the input and output rates.
When, at step 216, the value of B falls below MIN-- FILT, control is passed to step 225. At step 225, the optimal values B, I and RB are recovered from the respective variables SB, SI and SRB and control is transferred to step 226. If at step 226, the stored value ERRMIN is equal to 0, then an exact ratio was found, which fits the filter requirements ofthe interpolator 116. If an exact ratio exists, it should be used rather than an approximate ratio. Step 228 calculates the value of a variable A as the integer part of the value of RATIO * B. This step also sets a boolean variable CORERR and sets a variable RA according to equation (3).
RA=IN.sub.-- RATE-A * I                                    (3)
After step 228, or after step 226, if ERRMIN is greater than 0, step 230 isexecuted. This step calculates B sets of filter coefficients representing Binterpolated sample positions between any two luminance samples of the input signal IN. Also at step 230, these B sets of filter coefficients areloaded into the interpolators of the interpolation filter 116. Next, step 230 passes control through off-page connector A to step 232 of FIG. 2b.
In the exemplary embodiment of the invention where the signal IN is a CCIR (601) video signal and the output signal is a PAL composite video signal, the inventors have determined that values of 80 and 106 for A and B respectively, produce acceptable interpolation when MAX-- FILTER is equal to 107.
This first step of FIG. 2b sets temporary value variables XY, XC, Y and CF to initial values of 0 and sets a variable A1 to the current value in A. After step 232, step 234 is executed. This step calculates a variable SHIFT according to equation (4).
SHIFT×INT ((XY.sub.i +A1) / B)                       (4)
If the value of SHIFT is 1, the value of CF is toggled (i.e. if it was 1 itbecomes 0 and if it was 0 it becomes 1). Next, new values XY and XC are computed according to equations (5) and (6).
XY.sub.i+1 =(XY.sub.i +A1) MOD B                           (5)
XC.sub.i+1 =INT {[(1-CF)XY.sub.i+ 1 +CF(B+XY.sub.i+1)]/4}  (6)
The values XYi+1 and XCi+1 specify, respectively, which of the B luminance filters and B/2 chrominance filters are to be used for the i+lth luminance interpolation and chrominance interpolation, respectively. The contents of the variable SHIFT becomes a signal which isapplied to the FIFO buffer 114 to cause it to provide the next sample to the interpolation filter 116.
At step 236, the process shown in FIG. 2b determines if the variable CORERRis set. If this variable is not set, then the calculations performed at step 234 are exact because an exact ratio A/B was found which equaled the ratio of IN-- RATE/OUT-- RATE. If CORERR is not set, control branches back to step 234 to calculate the next values for the variables SHIFT, CF, XY and XC.
If at step 236, CORERR is set, then control is transferred to step 238. This step and the steps which follow calculate the error as it accumulatesfrom the use of the approximation of A/B to represent the sample rate ratioIN-- RATE/OUT-- KATE. Step 238 determines if the value SHIFT calculated at step 234 is 1. If it is, then at step 242, a variable RA1 isset to RA-RB. Otherwise, at step 240, the variable RA1 is set to RA. After steps 242 and 240, the step 244 is executed. This step computes the new error value, Yi+1, and the error overflow value, OVF, according equations (7) and (8).
OVF.sub.i+1 - INT((Y.sub.i +RA1) / I)                      (7)
Y.sub.i+1 = (Y.sub.i +RA 1) MOD I                          (8)
The value (Yi +RA1) / I is a measure of the error in the interpolation, accumulated over i sample intervals, caused by the use of the approximation A/B instead of the actual sample rate ratio, IN-- RATE/ OUT-- RATE. When the value OVF becomes greater than 0, i.e., when the integer component of the error as calculated at step 244 is greater than or equal to 1, the approximate ratio is changed to reduce theerror. This occurs at step 250 when the variable A1 is assigned a value, A+1. This step reduces the error by one intersample interval.
If at step 246, the value OVF is found to be equal to 0, the variable A1 isset to A at step 248. After step 248, or step 250, control returns to step 234 to calculate the next filters to be used in the interpolation process.
Referring to FIG. 3, the process illustrated by FIGS. 2a and 2b may be implemented in the microcomputer 316 in which case the output control circuitry 324 merely routes the signals SHIFT, XY and XC to the interpolation filter 320 and synchronizes them with the clock signal provided by the clock generator. Alternatively, only the part of the process shown in FIG. 2a may be implemented in the microcomputer 316. In this instance, the output control circuitry 324 may include circuitry suchas that shown in FIG. 5, described below, which implements the operations shown in FIG. 2b. The circuitry shown in FIG. 3 and the process shown in FIGS. 2a and 2b implement a generalized resampling system in which desiredinput and output sample rates are applied to the system along with the input samples to produce the resampled output signal.
A specific example of this sampling technique is described below with references to FIGS. 3 through 5. This system converts video signals which conform to the 25 Hz CCIR (601) Digital Video Standard to digital video signals compatible with the PAL Standard sampled at 4 times the color subcarrier frequency (4FSC).
In the system shown in FIG. 3, a ten-bit CCIR (601) video signal having a sample rate of 27 MHz is applied to a CCIR (601) decoder 310 along with anaccompanying 27 MHz clock signal CLK-- 27. Under the CCIR (601) standard, this ten-bit signal includes alternating ten-bit samples of luminance and chrominance signals where the chrominance signal includes two color-difference signals CA and CB (i.e. U and V, respectively). The CCIR (601) decoder 310 extracts a horizontal line blanking signal H and a vertical field blanking signal F from the ten-bit samples and applies these two signals and the 27 MHz clock signal to input control logic 312.
The input control logic 312 includes a pair of counters (not shown) and a frequency-divide-by-two circuit (not shown). The logic 312 divides the clock signal CLK-- 27 in frequency by 2 to produce a 13.5 MHz clock signal Y-- C. In addition, the control logic 312 provides a 10-bit signal HCOUNT which indicates the current horizontal pixel position of theCCIR (601) pixel value. The control logic 312 also provides two signals, VPLS and VINT which indicate, respectively, when a vertical synchronization pulse is to occur and when the vertical blanking interval is to occur. The control logic 312 may also generate a signal SI which determines when synchronization samples are to be inserted into the CCIR (601) sample stream.
In addition to being applied to the decoder 310, the ten-bit TDM video signal, representing the luminance and chrominance signal components, is applied to sync insertion circuitry 314. The input control logic 312 provides the signals SI, Y-- C, HCOUNT, VPLS and VINT to the circuitry 314.
Exemplary sync insertion circuitry 314 is shown in FIG. 3A. In this circuit, the ten-bit CCIR (601) signal is applied to the data-input port of a demultiplexer 326 which is coupled to receive the signal Y-- C as its control signal. The demultiplexer 326 provides samples of the luminance signal Y at one of its two output ports, and samples of the chrominance signal C at the other output port. The luminance samples are applied to one input port of a multiplexer 328. The other input port to the multiplexer 328 is coupled to receive a synchronization signal SYNC from a ROM 332.
The ROM 332 is addressed by values provided by the input control block 312.These address values are composed of the ten-bit signal HCOUNT concatenatedwith the single-bit signals VPLS and VINT. This address signal uniquely describes the position of the current CCIR (601) pixel on the horizontal line and the vertical field of the image. These values are applied to the address input port of the ROM 332 which, in response, produces samples representing horizontal and vertical synchronization signals. These samples are applied to the second input port of the multiplexer 328. The multiplexer 328 is controlled by the signal SI such that, when signal SI is in a logic-high state, samples from the ROM 332 are provided as the luminance signal Y; and when SI is in a logic-low state, samples from the demultiplexer 326 are provided as the signal Y. The circuit also includes a delay element 334 which compensates the chrominance signal for processing delays through the multiplexer 328.
Returning to FIG. 3, the signals Y and C developed by the sync-insertion circuitry 314, are applied to a frame buffer 318. Buffer 318 also receivesa 13.5 MHz write clock signal W-- CLK and a write reset signal WR frominput control logic control 312. Frame buffer 318 also receives a 17.7 MHz read clock signal R-- CLK and a read reset signal RR from output-control logic 324, described below. In this configuration, the frame buffer 318 acts as a large first-in, first-out (FIFO) memory. Data values representing the luminance signal Y and chrominance signal C are written into the buffer 318 synchronous with the signal W-- CLK and the buffer 318 is reset to its starting write address value responsive to the signal WR. Samples are read from the buffer 318 synchronous with the signal R-- CSK and the starting address value for reading samples from the buffer is reset by the signal RR. By controlling when the write and read address values are reset by the respective signals WR and RR, thesystem can implement a delay of up to one frame interval. This is desirablefor studio applications where the PAL signal produced by the system may need to be delayed by as much as one frame interval to synchronize it witha video signal from another source.
The luminance and chrominance signals provided by the frame buffer 318 are applied to the interpolation filter 320 as the signals YIN and CIN respectively. Interpolation filter 320 also receives a signal SHIFT and other control signals (i.e. XY and XC) from output-control circuitry 324. In addition, the filter 320 receives a burst signal from burst ROM 322.
As described in the above-referenced patent, the interpolation filter 320 resamples the luminance and chrominance samples stored in the frame buffer318, converts the chrominance samples into a modulated chrominance component signal and adds the modulated chrominance signal to the luminance signal to produce the PAL output signal.
FIG. 4a is a block diagram of circuitry suitable for use as the interpolation filter 320. This filter operates using a 35.468944 MHz (hereinafter 35.5 MHz) clock signal, CK-- 35. As shown in this Figure, the signal YIN is applied to a register 410 while the signal CIN is applied to a demultiplexer 412. The demultiplexer 412 separates the alternate CA and CB samples into two separate sample streams, responsive to a 8.9 MHz (2FSC) clock signal which is derived from the signal CK-- 35 by the frequency-divide-by-four circuit 418. The two output signals of the demultiplexer 412 are applied respectively to registers 414and 416.
The registers 410, 414 and 416 are responsive to the logical AND of the signal SHIFT and the 13.5 MHz clock signal to load a new value of the respective signals YIN, CA and CB when the signal SHIFT indicates that a new sample is provided by the frame buffer 318, shown in FIG. 3.
The output values held in the register 410 are read by a luminance interpolator 420 which resamples the signal YIN in accordance with the luminance coefficient addresses indicated by the signal XY, provided by the output control circuitry 324, shown in FIG. 3. The samples produced bythis interpolator conform to the luminance component of a sampled data PAL video signal. Circuitry suitable for use as the interpolator 420 is described below with reference to FIG. 4b.
The resampled luminance signal generated by the interpolator 420 is appliedto one input port of an adder 429, the other input port of which is coupledto receive the samples from the burst ROM 322, shown in FIG. 3. Responsive to this signal, digital samples representing a black-level correction termand the color reference burst signal (only during the burst interval) are added to luminance samples.
The samples held by the registers 414 and 416 are combined by an adder 422 and a subtracter 424 which generate, respectively, the signals (CA+CB) and(CA-CB) at their output ports. These signals are applied to respective compensating delay elements 426 and 428 which compensate for the processing delay of the luminance signal through the interpolator 420. Thedelayed (CA+CB) and (CA-CB) signals provided by the delay elements 426 and 428 are applied to respective input ports AIN and BIN of a chrominance interpolator 430. The PAL luminance signal with the color reference burst signal is applied to an input terminal EXT of the interpolator 430. The sequence of filters used by the chrominance interpolator 430 is determinedby the signal XC which is applied to the interpolator through a compensating delay element 432. The delay element 432 matches the coefficient values to the samples provided by the delay elements 426 and 428.
The interpolator 430 processes the (CA-CB) and (CA+CB) signals to generate a sequence of samples, at the PAL sampling rate of 17.7 MHz which have theformat (CA±CB), (CA∓CB), -(CA+CB), -(CA∓CB), (CA+CB), . . . The + and ∓ operations indicate corresponding sample values on successive lines of the video signal (i.e. +,- on one line and -,+ on the next line).These samples are combined with the interpolated luminance samples, Y, to generate a signal having the format Y+(CA ±CB), Y+(CA∓CB), Y-(CA±CB), Y-(CA∓CB), Y+(CA±CB), . . . If CA and CB are the U andV color difference signals, respectively, this sequence is readily recognizable as representing a sampled data PAL color video signal.
FIG. 4b is a block diagram, partly in logic diagram form of an exemplary interpolator which may be used as either of the interpolators 420 or 430. As shown in FIG. 4b, the signals AIN and BIN are applied to a bidirectional twelve-tap delay line 440. In the exemplary circuit, each tap of the delay line may be programmed with as many as 107 different coefficient values. In response to a coefficient address signal (i.e. either XY or XC) provided by the output-control circuitry 324, each of thetap cells of the delay line 440 multiplies its AIN or BIN data value by theselected coefficient value. Each value of the coefficient address signal causes the delay line 440 to use a different set of coefficient values and, thus, to implement a different filter. The B interpolation filters used in this embodiment of the invention are implemented through B different sets of coefficients addressed by the signals XY and XC.
For the luminance interpolator 420, only the AIN input port is used, the BIN input port is disabled by holding the EN B signal logic-low. For the chrominance interpolator 430, the (CA+CB) signal is applied to the AIN input port while the (CA-CB) signal is applied to the BIN input port. For the sake of brevity, only the operation of the chrominance interpolator 430 is described below. From this description and from the above-referenced U.S. patent, one of ordinary skill in the art could readily determine control signals to operate the luminance interpolator 420.
In the chrominance interpolator 430, each of the AIN and BIN input ports iscoupled to a respective shift register which provides multiple taps for implementing a respective finite impulse response (FIR) filter. The AIN samples from all of the tap cells are multiplied by the respective coefficient values and then summed by the summing block 446. In the next sample interval, the BIN values held by the respective tap cells are multiplied by the same coefficient values and summed in the summing circuit 446. Thus, the summing block 446 alternately provides samples of the two filtered chrominance signals, (CA+CB) and (CA-CB), to a programmable delay element 448. In this embodiment of the invention, the delay element 448 is set to its minimum delay value.
The samples provided by the delay element 448 may be represented by a sequence (CA+CB), (CA-CB), (CA+CB), (CA-CB), (CA+CB), (CA-CB), . . . Thesesamples are applied to a selective inverting circuit 450. The circuitry 450is controlled by a signal NEGATE provided by the output-control circuitry 324. In the exemplary embodiment of the invention, the signal NEGATE causes every other pair of samples of the interpolated chrominance signalsto be inverted so that the sequence of samples applied to the adder 452 is (CA+CB), (CA-CB), -(CA+CB), -(CA-CB), (CA+CB), (CA-CB), . . . The inversion of chrominance sample pairs is shifted by one sample position from line-to-line to mimic the 90° phase shift of the CB (V) color difference signal from line-to-line which is defined by the PAL standard.
The adder 452 is part of an accumulator which includes register 454 and multiplexer 456. In the exemplary embodiment of the invention, successive samples of the interpolated luminance signal Y are applied to one input port of the adder 452 via an external input port EXT through a register 458 and a multiplexer 456 while the chrominance sample stream provided by the delay element 448 is applied to the other input port of the adder 452.Thus, the output signal produced by the adder 452 is a sample stream Y+(CA±CB), Y+(CA∓CB), Y-(CA±CB), Y-(CA∓CB), Y+(CA±CB), . . . , where the symbol ± indicates that the samples are added on one lineand subtracted on the next and the symbol ∓ indicates that the samples are subtracted on one line and added on the next. The summed luminance andchrominance samples are stored in the register 454 and then transferred to the register 460 synchronous with the next pair of sample values being applied to the adder 452. The register 460 provides output samples in the format and sample rate of a sampled data PAL composite video signal.
As set forth above, the burst ROM 322 provides a signal which corrects the black level of the samples provided by the luminance interpolator 420 to produce a desired black level for the PAL signal. During the burst interval, the ROM 322 also provides a sampled data burst signal at a predetermined phase as determined by the line number signal (not shown) and field number signal (not shown) provided by the output control circuitry 324.
Thus, the signal provided by the chrominance interpolator 430 is a sampled data PAL signal which includes a color reference burst signal and which has a corrected black level.
FIG. 5 is a logic diagram, partly in block diagram form of circuitry suitable for use in the output control circuitry 324, shown in FIG. 3. Thelogic circuitry shown in FIG. 5 calculates the values XY, XC and SHIFT which are applied to the interpolation filter 320, also shown in FIG. 3. In addition, this circuitry calculates new values for the internal error signal Y. These are the same values that are calculated by the microcomputer 118, shown in FIG. 1 according to the equations (5), (6), (7), (8) and (9) reproduced below.
SHIFT=INT [(XY.sub.i +A1) / B]                             (5)
XY.sub.i+ =(XY.sub.i +A1) MOD B                            (6)
XC.sub.i+1 =INT{[(1-CF)XY.sub.i+1 +CF(B+XY.sub.i+1)]/4}    (7)
OVF.sub.i+1 =INT[(Y.sub.i +RA1) / I]                       (8)
Y.sub.i+1 =(Y.sub.i +RA1) MOD I                            (9)
In the circuitry shown in FIG. 5, B is 106, A is 80, RA is 4640, RB is 27 and I is 6692. Thus, A1 switches between 80 and 81 depending on whether the error is above or below the threshold, respectively. Similarly, RA1 switches between 4640 and 4613. Since division is difficult to implement in logic circuitry, the equations (5) through (9), as implemented in the logic circuitry shown in FIG. 5, have been simplified to eliminate the division.
In FIG. 5, register 528; adder 510; value sources 512, 514, 516, 518 and 519; three- state buffers 520, 522, 524, and 526; OR gate 562 and comparators 530 and 532 implement equations (4), (5) and (6). Register 546; adder 534; value sources 536, 538, 540, 542, 544 and 545; three- statebuffers 566, 568, 570 and 572, OR gate 560 and comparators 548 and 550 implement equations (7) and (8). The AND gates 552, 554, 556, 558 and 564 produce control signals which are shared by the two circuits.
In this circuit, the three- state gates 520, 522, 524 and 526 selectively provide one of the values 80, 81, -26 and -25 to the adder 510 to be addedto the value of XY held in the register 528. The values 80 or 81 are applied, depending on the value of A1, when the comparator 530 indicates that the result of adding the value to the current value of XY will be less than 106. Respective values of -26 and -25 are applied when the comparator 530 indicates that the result of adding 80 or 81, respectively,to the current value of XY would cause the result to be greater than 106. The value of XY produced by the adder 510 is the same as that of an addition of 80 or 81, modulo 106.
The comparator 530 compares the present value of XY, provided by the adder 510, to the value 25 provided by value source 519 and produces a logic-high output signal when XY is less than 25, (i.e. when the addition of 80 or 81 to XY will not produce a value greater than 106). Another comparator 532 also compares the current value of XY to 25 but produces a logic-high signal only when XY is greater than 25 (i.e. when the addition of 80 or 81 to XY will produce a value greater than 106). These signals are used, along with the output signals of the two error comparators 548 and 550, described below, to determine which of the values provided by thevalue sources 512, 514, 516 and 518 is to be applied to the adder 510.
The circuitry which implements equations (7) and (8) operates in a similar manner. The values, 4640, 4613, provided by the value sources 4640 and 4613, are the two values of RA1 corresponding to the error differential when the values of A1 are 80 and 81, respectively, and the values -2052 and -2079 are corresponding values which are used to implement modulo 6692arithmetic.
The comparator 548 produces a logic-high signal only when the value of Y held in the register 546 is less than 2052. This signal indicates that thenext value of Y (i.e. the result of adding either 4640 or 4613 to Y) will be less than 6692. Another comparator 550 provides a logic-high output signal only when the current value of Y is greater than 2078. This signal indicates that the next value of Y will be greater than 6692, and so, the appropriate negative value will be added to model modulo addition.
When XY is equal to 25 and Y is between 2052 and 2078, the output signals provided by all of the comparators 530, 532, 548 and 550 is logic-low. In this instance, the AND gate 564, via the OR gates 560 and 562 cause respective values of 80 and 4640 to be added to the values of XY and Y held in the registers 528 and 546, respectively.
As shown in FIG. 5, the value of XC is generated by selectively adding the value of XY to 106, depending on the value of the signal, CF, which is toggled between logic-low and logic-high each time that the signal SHIFT goes from logic-low to logic-high. The circuitry which implements this function includes adder 580, value source 582, multiplexer 584, trigger-type flip-flop 586 and integer divider 588.
The circuitry shown in FIG. 5 generates the signals XY, XC and SHIFT to control the interpolation filter 320, shown in FIG. 3. From the description set forth above, one of ordinary skill in the art could readily design circuitry which produces the signal NEGATE.
The circuitry shown in FIG. 5 may be readily modified to handle other inputand output sample rates. For example, a system to convert video signals having an input sample rate of 18 MHz into a PAL compatible format may usethe same circuitry as shown in FIG. 5 with different constants provided by the constant sources. For this modified converter, with B equal to 106, A would be 108 and the constant sources 512, 514, 516, 518 and 519 would provide the respective constant values 1, 2 (i.e. 107 mod 106 and 108 mod 106), -105, -104 and 104 while the constant sources 536, 538, 540, 542, 544 and 545 would provide the respective constant values 3929, 3902, -2763, -2790, 2763 and 2789.
Although the present invention has been described in terms of exemplary embodiments, it is contemplated that it may be practiced as outlined abovewithin the spirit and scope of the appended claims.

Claims (15)

We claim:
1. A sample rate conversion system which resamples a first sampled data signal having a first predetermined sample rate to generate a second sampled data signal having a second predetermined sample rate, the sample rate conversion system comprising:
resampling means, responsive to a control signal for alternately resampling the first sampled data signal according to respective first and second approximate sample ratios to produce samples of the second sampled data signal which have respective sample position errors, such that, between any two consecutive samples of the second sampled data signal, an accumulated sample position error changes in a positive sense while resampling according to one of the first and second approximate sample ratios and changes in a negative sense while resampling according to the other of the first and second approximate sample ratios;
monitoring means for accumulating the sample position errors of the samples produced by the resampling means to generate the control signal which causes the resampling means to switch between the first and second approximate sample ratios when the accumulated sample position error has a magnitude greater than a predetermined threshold value.
2. A sample rate conversion system according to claim 1, wherein the resampling means includes an interpolation filter having a number B of different interpolation filter characteristics and the resampling means operates by using a first subset of said B filter characteristics in a first distinct sequence, and a second subset of said B filter characteristics in a second distinct sequence responsive to the control signal.
3. A system according to claim 2 wherein the interpolation filter is a programmable finite impulse response (FIR) filter having storage for at least B sets of preprogrammed coefficient values, each of the sets defining a respectively different interpolation characteristic.
4. A system according to claim 3, wherein the first sampled data signal has a sample rate of 13.5 MHz, the second sampled data signal has a sample rate of 17.734475 MHz and the interpolation filter is programmed with 106 different sets of coefficients.
5. A system according to claim 4, wherein the first and second approximate sample ratios are 80 divided by 106 and 81 divided by 106, respectively.
6. A system according to claim 3, wherein the first sampled data signal has a sample rate of 18 MHz, the second sampled data signal has a sample rate of 17.734475 MHz and the interpolation filter is programmed with 106 different sets of coefficients.
7. A system according to claim 6, wherein the first and second approximate sample ratios are 107 divided by 106 and 108 divided by 106, respectively.
8. A video signal sample rate conversion system which resamples a first sampled data video signal having a first predetermined sample rate to generate a second sampled data video signal having a second predetermined sample rate, the sample rate conversion system comprising:
resampling means, responsive to a control signal for alternately subjecting the first sampled data signal to respective first and second interpolation operations, such that, between any two consecutive samples of the second sampled data signal, an accumulated sample position error changes in a positive sense while subjecting the first sampled data signal to one of the first and second interpolation operations and changes in a negative sense while subjecting the first sampled data signal to the other of the first and second interpolation operations;
monitoring means for accumulating the sample position errors of the samples produced by the resampling means to generate the control signal which causes the resampling means to switch between the first and second interpolation operations when the accumulated sample position error has a magnitude greater than a predetermined threshold value.
9. A video signal sample rate conversion system according to claim 8, further comprising:
means for receiving the first and second predetermined sample rates;
an interpolator which processes the first sampled data video signal to produce the second sampled data signal, said interpolator including a finite impulse response (FIR) interpolation filter having storage for at least a number B sets of filter coefficients;
means, responsive to the received first and second predetermined sample rates, for determining a group of B sets of filter coefficients to be used by said interpolation filter; and
sequencing means for defining first and second sequences of sets of filter coefficients from said B sets of filter coefficients which define said first and second interpolation operations.
10. A video sample rate conversion system according to claim 9, wherein:
the B sets of filter coefficients are numbered 0 through B-1; and
the sequence means defines the first sequence of sets of filter coefficients from said B sets of filter coefficients according to the equation Xi =(Xi-1 +A) MOD B, and defines the second sequence of sets of filter coefficients from said B sets of filter coefficients according to the equation Xi =(Xi-1 30 A+1) MOD B, where Xi is the number of the next set of coefficients to be used by the interpolation filter, Xi-1 is the number of the current set of coefficients to be used by the interpolation filter, A is the largest integer that is less than the product of B multiplied by the ratio of the first sample rate to the second sample rate, and MOD B indicates division modulo B.
11. A video signal sample rate conversion system according to claim 9, wherein:
said first and second sampled data video signals each includes a luminance component sampled data signal and a chromiance component sampled data signal; and
the interpolator processes the luminance component of the first sampled data video signal to produce the luminance component of the second sampled data video signal; and
the system further comprises:
memory means for storing the samples of the first sampled data video signal at said first predetermined sample rate and for providing the stored samples in response to a control signal provided by the sequencing means;
a further interpolator, including an FIR interpolation filter having storage for at least B/2 sets of filter coefficients, which processes the chrominance component of the first sampled data video signal according to a further interpolation operation to produce the chrominance component of the second sampled data video signal;
means, coupled to the sequencing means for generating a signal, CF, which changes in between values of zero and one in response to the control signal for the memory means indicating that successive ones of said stored sample values are to be provided;
wherein the sequencing means further comprises means for defining a sequence of sets, XC, ordinally numbered first through Nth, where N is an integer, of filter coefficients, for the FIR interpolation filter, which defines the further interpolation operation according to the equation:
XC.sub.i+1 =INT{[(1-CF)X.sub.i+1 +CF(B+X.sub.i+1)]/4},
where i is an integer, XCi+1 is the number of the i+1th set of the sequence of sets of filter coefficients to be used by the FIR interpolation filter, INT designates the integer portion of a real operand, and Xi+1 is the number of a next set of coefficients to be used by the interpolation filter.
12. A system according to claim 9, wherein the first sampled data video signal has a sample rate of 13.5 MHz, the second sampled data video signal has a sample rate of 17.734475 MHz and the interpolation filter is programmed with 106 different sets of coefficients.
13. A system according to claim 12, wherein each of said 106 sets of filter coefficients is numbered 0 through 105 and the first sequence of sets of filter coefficients is defined by the equation Xi+1 32 (Xi +80) MOD 106 and the second sequence of sets of filter coefficients is defined by the equation Xi+1 =(Xi +81) MOD 106, where Xi+1 pk is the number of a next set from the sequence of sets of filter coefficients to be used by the interpolation filter, Xi is the number of a current set of coefficients used by the interpolation filter, and MOD 106 indicates division modulo 106.
14. A system according to claim 9, wherein the first sampled data video signal has a sample rate of 18 MHz, the second sampled data video signal has a sample rate of 17,734475 MHz and the interpolation filter is programmed with 106 different sets of coefficients.
15. A system according to claim 14, wherein each of said 106 sets of filter coefficients is numbered 0 through 105 and the first sequence of sets of filter coefficients is defined by the equation Xi+1 =(Xi +1) MOD 106 and the second sequence of sets of filter coefficients is defined by the equation Xi+1 =(Xi +2) mod 106, where Xi+1 is the number of a next set of coefficients from the sequence of sets of filter coefficients to be used by the interpolation filter, Xi is the number of a current set of coefficients used by the interpolation filter, and MOD 106 indicates division modulo 106.
US07/957,721 1992-10-07 1992-10-07 Approximating sample rate conversion system Expired - Lifetime US5331346A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US07/957,721 US5331346A (en) 1992-10-07 1992-10-07 Approximating sample rate conversion system
EP93116252A EP0591970B1 (en) 1992-10-07 1993-10-07 Approximating sample rate conversion system
DE69324429T DE69324429T2 (en) 1992-10-07 1993-10-07 Approximation sampling rate conversion system
JP25201293A JP3297165B2 (en) 1992-10-07 1993-10-07 Sampling frequency converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US07/957,721 US5331346A (en) 1992-10-07 1992-10-07 Approximating sample rate conversion system

Publications (1)

Publication Number Publication Date
US5331346A true US5331346A (en) 1994-07-19

Family

ID=25500031

Family Applications (1)

Application Number Title Priority Date Filing Date
US07/957,721 Expired - Lifetime US5331346A (en) 1992-10-07 1992-10-07 Approximating sample rate conversion system

Country Status (4)

Country Link
US (1) US5331346A (en)
EP (1) EP0591970B1 (en)
JP (1) JP3297165B2 (en)
DE (1) DE69324429T2 (en)

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5497152A (en) * 1993-09-13 1996-03-05 Analog Devices, Inc. Digital-to-digital conversion using non-uniform sample rates
EP0706262A2 (en) 1994-10-04 1996-04-10 Matsushita Electric Industrial Co., Ltd. Filter selection circuit for digital resampling system
US5528301A (en) * 1995-03-31 1996-06-18 Panasonic Technologies, Inc. Universal video format sample size converter
US5587742A (en) * 1995-08-25 1996-12-24 Panasonic Technologies, Inc. Flexible parallel processing architecture for video resizing
US5708683A (en) * 1995-02-28 1998-01-13 Hughes Electronics Symbol rate conversion method for CDPD demodulator
US5719633A (en) * 1994-12-20 1998-02-17 Matsushita Electric Industrial Co., Ltd. Video signal format conversion apparatus using simplified shifting and processing control
US5732002A (en) * 1995-05-23 1998-03-24 Analog Devices, Inc. Multi-rate IIR decimation and interpolation filters
US5739867A (en) * 1997-02-24 1998-04-14 Paradise Electronics, Inc. Method and apparatus for upscaling an image in both horizontal and vertical directions
US5793434A (en) * 1996-04-29 1998-08-11 Samsung Electronics Co., Ltd. Aspect ratio converter and method thereof
US5812210A (en) * 1994-02-01 1998-09-22 Hitachi, Ltd. Display apparatus
US5835160A (en) * 1995-09-13 1998-11-10 Oak Technology, Inc. Sampling rate conversion using digital differential analyzers
US5856849A (en) * 1996-04-12 1999-01-05 Sony Corporation Digital processing of video signals for performing aspect ratio conversion
US5870073A (en) * 1994-09-02 1999-02-09 Hitachi, Ltd. Display with scan converter for converting scanning frequency of input video signal
US5933196A (en) * 1996-03-06 1999-08-03 Matsushita Electric Industrial Co., Ltd. Pixel conversion apparatus
US5960400A (en) * 1996-12-30 1999-09-28 Paradyne Corporation Signal transfer acceleration system and method for accelerating transfer of an audio signal through a communications channel
US5999220A (en) * 1997-04-07 1999-12-07 Washino; Kinya Multi-format audio/video production system with frame-rate conversion
US6057789A (en) * 1998-10-29 2000-05-02 Neomagic Corp. Re-synchronization of independently-clocked audio streams by dynamically switching among 3 ratios for sampling-rate-conversion
US6061410A (en) * 1997-02-27 2000-05-09 Advanced Micro Devices Frequency ratio estimation arrangement and method thereof
WO2000065720A1 (en) * 1999-04-27 2000-11-02 Nucore Technology, Inc. Method for analog decimation of image signals
US6175592B1 (en) 1997-03-12 2001-01-16 Matsushita Electric Industrial Co., Ltd. Frequency domain filtering for down conversion of a DCT encoded picture
US6184935B1 (en) 1997-03-12 2001-02-06 Matsushita Electric Industrial, Co. Ltd. Upsampling filter and half-pixel generator for an HDTV downconversion system
US6252919B1 (en) 1998-12-17 2001-06-26 Neomagic Corp. Re-synchronization of independently-clocked audio streams by fading-in with a fractional sample over multiple periods for sample-rate conversion
US6259479B1 (en) * 1997-09-17 2001-07-10 Sony Corporation Letterbox filter apparatus and method
US6263036B1 (en) * 1997-07-30 2001-07-17 Yamaha Corporation Asynchronous signal input apparatus and sampling frequency conversion apparatus
US6311140B1 (en) 1999-01-25 2001-10-30 Seagate Technology Llc Method and apparatus for servo data synchronization in a disc drive
US20020089941A1 (en) * 2001-01-05 2002-07-11 Chien-Meen Hwang Network receiver utilizing sample management buffers
US20020136293A1 (en) * 1997-04-07 2002-09-26 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
US20020140853A1 (en) * 2001-02-20 2002-10-03 Seungjoon Yang Sampling rate conversion apparatus and method thereof
WO2002089334A1 (en) * 2001-05-02 2002-11-07 Portalplayer, Inc. Resampling system and apparatus
US6487249B2 (en) 1998-10-09 2002-11-26 Matsushita Electric Industrial Co., Ltd. Efficient down conversion system for 2:1 decimation
US20030007101A1 (en) * 2001-06-28 2003-01-09 Naoki Kumazawa Video signal processing apparatus
USRE38079E1 (en) 1993-04-21 2003-04-15 Muti-Format, Inc. Multi-format audio/video production system
US6606596B1 (en) 1999-09-13 2003-08-12 Microstrategy, Incorporated System and method for the creation and automatic deployment of personalized, dynamic and interactive voice services, including deployment through digital sound files
US6611286B1 (en) * 1995-10-27 2003-08-26 Canon Kabushiki Kaisha Image sensing apparatus using a non-interlace scanning type image sensing device
US20030160894A1 (en) * 2000-09-26 2003-08-28 Tanio Nagasaki Image processing apparatus and method, and recorded medium
US20030164897A1 (en) * 2002-03-04 2003-09-04 Chang-Lun Chen Methods and apparatus for bridging different video formats
US6618443B1 (en) 1997-03-12 2003-09-09 Matsushita Electric Industrial Co., Ltd. Upsampling filter for a down conversion system
US20040052300A1 (en) * 2002-09-17 2004-03-18 Lopez-Estrada Alex A. Digital sampling rate conversion using a poly-phase filter and a polynomial interpolator
US20040071211A1 (en) * 1997-04-07 2004-04-15 Kinya Washino Video production system with mixed frame removal
US20040150747A1 (en) * 1997-03-12 2004-08-05 Richard Sita HDTV downconversion system
US20050219081A1 (en) * 2004-03-29 2005-10-06 Lee Eun-Jik Systems, methods and devices for sampling rate conversion by resampling sample blocks of a signal
US7068314B1 (en) * 1999-09-10 2006-06-27 Sony Corporation Image pickup apparatus which can eliminate a false color in the spatial frequency band during chromatic signal processing
US20060156159A1 (en) * 2004-11-18 2006-07-13 Seiji Harada Audio data interpolation apparatus
US20080030614A1 (en) * 1997-04-07 2008-02-07 Schwab Barry H Integrated multi-format audio/video production system
US7414550B1 (en) * 2006-06-30 2008-08-19 Nvidia Corporation Methods and systems for sample rate conversion and sample clock synchronization
US20090259863A1 (en) * 2008-04-10 2009-10-15 Nvidia Corporation Responding to interrupts while in a reduced power state
USRE41192E1 (en) 1997-02-24 2010-04-06 Genesis Microchip Inc. Method and system for displaying an analog image by a digital display device
US20100303460A1 (en) * 2009-05-27 2010-12-02 Bradley Hunter Encoder interpolator with enhanced precision
USRE43489E1 (en) * 2003-03-21 2012-06-26 D2Audio Corporation Systems and methods for implementing a sample rate converter using hardware and software to maximize speed and flexibility
US9209792B1 (en) 2007-08-15 2015-12-08 Nvidia Corporation Clock selection system and method
CN109194307A (en) * 2018-08-01 2019-01-11 南京中感微电子有限公司 Data processing method and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4471381A (en) * 1981-03-12 1984-09-11 Victor Company Of Japan, Limited System for converting number of scanning lines
US4630034A (en) * 1981-11-27 1986-12-16 Nippon Electric Co., Ltd. Sampling frequency converting apparatus
US4870661A (en) * 1986-09-30 1989-09-26 Kabushiki Kaisha Toshiba Sample rate conversion system having interpolation function
US4903019A (en) * 1987-08-31 1990-02-20 Sanyo Electric Co., Ltd. Sampling frequency converter for converting a lower sampling frequency to a higher sampling frequency and a method therefor
US4954824A (en) * 1987-09-18 1990-09-04 Kabushiki Kaisha Toshiba Sample rate conversion system having interpolation function with phase locked clock
US4989221A (en) * 1987-03-30 1991-01-29 Codex Corporation Sample rate converter
US5057911A (en) * 1989-10-19 1991-10-15 Matsushita Electric Industrial Co., Ltd. System and method for conversion of digital video signals
US5101368A (en) * 1988-06-20 1992-03-31 Seymour Kaplan Conversion calculator
US5119093A (en) * 1989-06-09 1992-06-02 Blaupunkt-Werke Gmbh Apparatus for converting a signal of a first sample rate into a signal of a second sample rate
US5159339A (en) * 1990-02-19 1992-10-27 Sony Corporation Sampling rate converter for signals having a non-integer sampling ratio
US5204827A (en) * 1990-02-16 1993-04-20 Sony Corporation Sampling rate converting apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3089630B2 (en) * 1989-03-30 2000-09-18 ソニー株式会社 Sampling rate converter

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4471381A (en) * 1981-03-12 1984-09-11 Victor Company Of Japan, Limited System for converting number of scanning lines
US4630034A (en) * 1981-11-27 1986-12-16 Nippon Electric Co., Ltd. Sampling frequency converting apparatus
US4870661A (en) * 1986-09-30 1989-09-26 Kabushiki Kaisha Toshiba Sample rate conversion system having interpolation function
US4989221A (en) * 1987-03-30 1991-01-29 Codex Corporation Sample rate converter
US4903019A (en) * 1987-08-31 1990-02-20 Sanyo Electric Co., Ltd. Sampling frequency converter for converting a lower sampling frequency to a higher sampling frequency and a method therefor
US4954824A (en) * 1987-09-18 1990-09-04 Kabushiki Kaisha Toshiba Sample rate conversion system having interpolation function with phase locked clock
US5101368A (en) * 1988-06-20 1992-03-31 Seymour Kaplan Conversion calculator
US5119093A (en) * 1989-06-09 1992-06-02 Blaupunkt-Werke Gmbh Apparatus for converting a signal of a first sample rate into a signal of a second sample rate
US5057911A (en) * 1989-10-19 1991-10-15 Matsushita Electric Industrial Co., Ltd. System and method for conversion of digital video signals
US5204827A (en) * 1990-02-16 1993-04-20 Sony Corporation Sampling rate converting apparatus
US5159339A (en) * 1990-02-19 1992-10-27 Sony Corporation Sampling rate converter for signals having a non-integer sampling ratio

Cited By (77)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE38079E1 (en) 1993-04-21 2003-04-15 Muti-Format, Inc. Multi-format audio/video production system
US5497152A (en) * 1993-09-13 1996-03-05 Analog Devices, Inc. Digital-to-digital conversion using non-uniform sample rates
US6466272B1 (en) 1994-02-01 2002-10-15 Hitachi, Ltd. Display apparatus
US5812210A (en) * 1994-02-01 1998-09-22 Hitachi, Ltd. Display apparatus
US5870073A (en) * 1994-09-02 1999-02-09 Hitachi, Ltd. Display with scan converter for converting scanning frequency of input video signal
US6404459B1 (en) 1994-09-02 2002-06-11 Hitachi, Ltd. Display with scan converter for converting scanning frequency of input video signal
EP0706262A2 (en) 1994-10-04 1996-04-10 Matsushita Electric Industrial Co., Ltd. Filter selection circuit for digital resampling system
US5613084A (en) * 1994-10-04 1997-03-18 Panasonic Technologies, Inc. Interpolation filter selection circuit for sample rate conversion using phase quantization
EP0706262A3 (en) * 1994-10-04 1997-11-19 Matsushita Electric Industrial Co., Ltd. Filter selection circuit for digital resampling system
US5719633A (en) * 1994-12-20 1998-02-17 Matsushita Electric Industrial Co., Ltd. Video signal format conversion apparatus using simplified shifting and processing control
US5708683A (en) * 1995-02-28 1998-01-13 Hughes Electronics Symbol rate conversion method for CDPD demodulator
US5528301A (en) * 1995-03-31 1996-06-18 Panasonic Technologies, Inc. Universal video format sample size converter
US5732002A (en) * 1995-05-23 1998-03-24 Analog Devices, Inc. Multi-rate IIR decimation and interpolation filters
US5587742A (en) * 1995-08-25 1996-12-24 Panasonic Technologies, Inc. Flexible parallel processing architecture for video resizing
US5835160A (en) * 1995-09-13 1998-11-10 Oak Technology, Inc. Sampling rate conversion using digital differential analyzers
US6356315B1 (en) 1995-09-13 2002-03-12 Oak Technology, Inc. Sampling rate conversion using digital differential analyzers
US6611286B1 (en) * 1995-10-27 2003-08-26 Canon Kabushiki Kaisha Image sensing apparatus using a non-interlace scanning type image sensing device
US20030210339A1 (en) * 1995-10-27 2003-11-13 Canon Kabushiki Kaisha Image sensing apparatus using a non-interlace scanning type image sensing device
US7218343B2 (en) 1995-10-27 2007-05-15 Canon Kabushiki Kaisha Image sensing apparatus using a non-interlace scanning type image sensing device
US5933196A (en) * 1996-03-06 1999-08-03 Matsushita Electric Industrial Co., Ltd. Pixel conversion apparatus
US5856849A (en) * 1996-04-12 1999-01-05 Sony Corporation Digital processing of video signals for performing aspect ratio conversion
US5793434A (en) * 1996-04-29 1998-08-11 Samsung Electronics Co., Ltd. Aspect ratio converter and method thereof
US5960400A (en) * 1996-12-30 1999-09-28 Paradyne Corporation Signal transfer acceleration system and method for accelerating transfer of an audio signal through a communications channel
US6002446A (en) * 1997-02-24 1999-12-14 Paradise Electronics, Inc. Method and apparatus for upscaling an image
USRE41192E1 (en) 1997-02-24 2010-04-06 Genesis Microchip Inc. Method and system for displaying an analog image by a digital display device
US5739867A (en) * 1997-02-24 1998-04-14 Paradise Electronics, Inc. Method and apparatus for upscaling an image in both horizontal and vertical directions
USRE42615E1 (en) 1997-02-24 2011-08-16 Genesis Microchip (Delaware) Inc. Method and system for displaying an analog image by a digital display device
USRE43573E1 (en) 1997-02-24 2012-08-14 Genesis Microchip (Delaware) Inc. Method and system for displaying an analog image by a digital display device
US6061410A (en) * 1997-02-27 2000-05-09 Advanced Micro Devices Frequency ratio estimation arrangement and method thereof
US6184935B1 (en) 1997-03-12 2001-02-06 Matsushita Electric Industrial, Co. Ltd. Upsampling filter and half-pixel generator for an HDTV downconversion system
US6175592B1 (en) 1997-03-12 2001-01-16 Matsushita Electric Industrial Co., Ltd. Frequency domain filtering for down conversion of a DCT encoded picture
US6788347B1 (en) 1997-03-12 2004-09-07 Matsushita Electric Industrial Co., Ltd. HDTV downconversion system
US20040150747A1 (en) * 1997-03-12 2004-08-05 Richard Sita HDTV downconversion system
US6618443B1 (en) 1997-03-12 2003-09-09 Matsushita Electric Industrial Co., Ltd. Upsampling filter for a down conversion system
US20080030614A1 (en) * 1997-04-07 2008-02-07 Schwab Barry H Integrated multi-format audio/video production system
US20020136293A1 (en) * 1997-04-07 2002-09-26 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
US20040071211A1 (en) * 1997-04-07 2004-04-15 Kinya Washino Video production system with mixed frame removal
US8873640B2 (en) 1997-04-07 2014-10-28 Kinya Washino Wide-band multi-format audio/video production system with frame rate conversion
US8842727B2 (en) 1997-04-07 2014-09-23 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
US8374253B2 (en) 1997-04-07 2013-02-12 Kinya Washino Wide-band multi-format audio/video production system with frame-rate conversion
US5999220A (en) * 1997-04-07 1999-12-07 Washino; Kinya Multi-format audio/video production system with frame-rate conversion
US20090174813A1 (en) * 1997-04-07 2009-07-09 Multi-Format, Inc. Wide-band multi-format audio/video production system with frame-rate conversion
US8228979B2 (en) 1997-04-07 2012-07-24 Multi-Format, Inc. Wide-band multi-format audio/video production system with frame-rate conversion
US6263036B1 (en) * 1997-07-30 2001-07-17 Yamaha Corporation Asynchronous signal input apparatus and sampling frequency conversion apparatus
US6259479B1 (en) * 1997-09-17 2001-07-10 Sony Corporation Letterbox filter apparatus and method
US6487249B2 (en) 1998-10-09 2002-11-26 Matsushita Electric Industrial Co., Ltd. Efficient down conversion system for 2:1 decimation
US6057789A (en) * 1998-10-29 2000-05-02 Neomagic Corp. Re-synchronization of independently-clocked audio streams by dynamically switching among 3 ratios for sampling-rate-conversion
US6252919B1 (en) 1998-12-17 2001-06-26 Neomagic Corp. Re-synchronization of independently-clocked audio streams by fading-in with a fractional sample over multiple periods for sample-rate conversion
US6341048B1 (en) 1999-01-25 2002-01-22 Seagate Technology Llc Method and apparatus for servo data synchronization in a disc drive
US6311140B1 (en) 1999-01-25 2001-10-30 Seagate Technology Llc Method and apparatus for servo data synchronization in a disc drive
WO2000065720A1 (en) * 1999-04-27 2000-11-02 Nucore Technology, Inc. Method for analog decimation of image signals
US7068314B1 (en) * 1999-09-10 2006-06-27 Sony Corporation Image pickup apparatus which can eliminate a false color in the spatial frequency band during chromatic signal processing
US6606596B1 (en) 1999-09-13 2003-08-12 Microstrategy, Incorporated System and method for the creation and automatic deployment of personalized, dynamic and interactive voice services, including deployment through digital sound files
US7697817B2 (en) * 2000-09-26 2010-04-13 Sony Corporation Image processing apparatus and method, and recorded medium
US20030160894A1 (en) * 2000-09-26 2003-08-28 Tanio Nagasaki Image processing apparatus and method, and recorded medium
US20020089941A1 (en) * 2001-01-05 2002-07-11 Chien-Meen Hwang Network receiver utilizing sample management buffers
US20020140853A1 (en) * 2001-02-20 2002-10-03 Seungjoon Yang Sampling rate conversion apparatus and method thereof
US6531969B2 (en) * 2001-05-02 2003-03-11 Portalplayer, Inc. Resampling system and apparatus
WO2002089334A1 (en) * 2001-05-02 2002-11-07 Portalplayer, Inc. Resampling system and apparatus
US20030007101A1 (en) * 2001-06-28 2003-01-09 Naoki Kumazawa Video signal processing apparatus
US6947096B2 (en) * 2001-06-28 2005-09-20 Sony Corporation Video processing apparatus for converting composite video signals to digital component video signals
US7071992B2 (en) 2002-03-04 2006-07-04 Macronix International Co., Ltd. Methods and apparatus for bridging different video formats
US20030164897A1 (en) * 2002-03-04 2003-09-04 Chang-Lun Chen Methods and apparatus for bridging different video formats
US20040052300A1 (en) * 2002-09-17 2004-03-18 Lopez-Estrada Alex A. Digital sampling rate conversion using a poly-phase filter and a polynomial interpolator
US7245237B2 (en) * 2002-09-17 2007-07-17 Intel Corporation Digital sampling rate conversion using a poly-phase filter and a polynomial interpolator
USRE43489E1 (en) * 2003-03-21 2012-06-26 D2Audio Corporation Systems and methods for implementing a sample rate converter using hardware and software to maximize speed and flexibility
US20050219081A1 (en) * 2004-03-29 2005-10-06 Lee Eun-Jik Systems, methods and devices for sampling rate conversion by resampling sample blocks of a signal
US7057537B2 (en) * 2004-03-29 2006-06-06 Samsung Electronics Co., Ltd. Systems, methods and devices for sampling rate conversion by resampling sample blocks of a signal
US20060156159A1 (en) * 2004-11-18 2006-07-13 Seiji Harada Audio data interpolation apparatus
US7414550B1 (en) * 2006-06-30 2008-08-19 Nvidia Corporation Methods and systems for sample rate conversion and sample clock synchronization
US9209792B1 (en) 2007-08-15 2015-12-08 Nvidia Corporation Clock selection system and method
US8762759B2 (en) 2008-04-10 2014-06-24 Nvidia Corporation Responding to interrupts while in a reduced power state
US20090259863A1 (en) * 2008-04-10 2009-10-15 Nvidia Corporation Responding to interrupts while in a reduced power state
US8384570B2 (en) * 2009-05-27 2013-02-26 Active Precision, Inc. Encoder interpolator with enhanced precision
US20100303460A1 (en) * 2009-05-27 2010-12-02 Bradley Hunter Encoder interpolator with enhanced precision
CN109194307A (en) * 2018-08-01 2019-01-11 南京中感微电子有限公司 Data processing method and system
CN109194307B (en) * 2018-08-01 2022-05-27 南京中感微电子有限公司 Data processing method and system

Also Published As

Publication number Publication date
EP0591970B1 (en) 1999-04-14
EP0591970A2 (en) 1994-04-13
DE69324429T2 (en) 1999-11-25
DE69324429D1 (en) 1999-05-20
JP3297165B2 (en) 2002-07-02
EP0591970A3 (en) 1994-12-07
JPH06268477A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
US5331346A (en) Approximating sample rate conversion system
US4712130A (en) Chrominance signal frequency converter as for a pix-in-pix television receiver
US4639784A (en) Video signal recursive filter adaptively controlled responsive to the history of image motion
US5335074A (en) Phase locked loop synchronizer for a resampling system having incompatible input and output sample rates
US4623915A (en) Apparatus for processing multiple time division multiplexed asynchronous composite video signals
US5442406A (en) Wide screen television
CA1229159A (en) Video signal processing system
US5070395A (en) Television signal system conversion apparatus
US5142377A (en) Time base correction apparatus
US5018010A (en) Decoder for subsampled video signal
EP0507609B1 (en) Jitter correction circuit
US4673979A (en) Digital data reproducing system
US5268750A (en) Apparatus for adjusting the timing of sampled data signals in a resampling system
US5274447A (en) Apparatus for converting a field frequency and a scanning line number of a television signal
US6947096B2 (en) Video processing apparatus for converting composite video signals to digital component video signals
KR960005118B1 (en) Video signal processing system
GB2073536A (en) Television signal processing
JPS6348088A (en) Interpolation circuit for digital image signal
US6724430B2 (en) Sampling frequency converter, sampling frequency conversion method, video signal processor, and video signal processing method
US5117483A (en) Digital processing system for video and television signal generation
US5249038A (en) System and method for converting component video signals to a composite video signal compatible with the pal standard
US5495293A (en) Frame synchronizer and a signal switching apparatus
US4550335A (en) Compatible and hierarchical digital television system standard
US4984070A (en) Picture quality improving apparatus capable of reducing deterioration of interpolated signal
GB2087191A (en) A filter and system incorporating the filter for processing discrete samples of composite signals

Legal Events

Date Code Title Description
AS Assignment

Owner name: PANASONIC TECHNOLOGIES, INC., NEW JERSEY

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNORS:SHIELDS, JEROME D.;VAVRECK, KENNETH E.;REEL/FRAME:006278/0676

Effective date: 19921005

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: MATSUSHITA ELECTRIC CORPORATION OF AMERICA, NEW JE

Free format text: MERGER;ASSIGNOR:PANASONIC TECHNOLOGIES, INC.;REEL/FRAME:012211/0907

Effective date: 20010928

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12