Title of Invention

A METHOD OF EDITING A BITSTREAM CARRYING VIDEO DATA

Abstract A method and device for editing video data to achieve a video effect in a video sequence. From an encoder, transform coefficients of part of the video sequence are obtained. The transform coefficients are mixed with other transform coefficients in a combining module. The output of the combining module is quantized and further processed to provide an edited video bitstream. In the combining module, transform coefficients are multiplied with weighting parameters to achieve different video effects. Furthermore, logo data from a memory can be transformed into further transform coefficients for mixing in order to achieve a logo insertion effect. Moreover, prediction error and motion compensation information obtained from video data can be used to provide a reference frame, and the transform data from the reference frame can be used for mixing to achieve a blending effect.
Full Text The following specification particularly describes
the nature of this invention and the manner in which
it is to be performed

METHOD AND DEVICE FOR TRANSFORM-DOMAiN VIDEO EDITING
Field of the Invention
The present invention relates generally to video coding and. more particularly, to video editing.
Background of the Invention
Video editing capability is an increasingly requested feature in video playing and/or capturing devices. Transitional effects between different video sequences, logo insertion and over-layering sequences are among the most widely used operations in editing. Video editing tools enable users to apply a set of effects on their video clips aiming to produce a functionally and aesthetically better representation of their video.
To apply video editing effects on video sequences, several commercial products exist. These software products are targeted mainly for the PC platform. Because processing power, storage and memory constraints are not an issue in the PC platform today, the techniques utilized in such video-editing products operate on the video sequences mostly in their raw formats in the spatial domain. With such techniques, the compressed video is first decoded and then the editing effects are introduced in the spatial domain. Finally, the video is again encoded. This is known as spatial domain video editing operation.
For devices with low resources in processing power, storage space, available memory and battery power, decoding a video sequence and re-encoding it are costly operations that take a long time and consume a lot of battery power. Many of the latest communication devices, such as mobile phones, communicators and PDAs, are equipped with video cameras, offering users the capability to shoot video clips and send them over wireless networks. It is advantageous and desirable to allow users of those communication devices to generate quality video at their terminals. The spatial domain video editing operation is not suitable in wireless cellular environments.
As mentioned above, most video effects are performed in the spatial domain in prior art. In the case of video blending (transitional effects for fading, etc) between two or more sequences, for instance, video clips are first decompressed and then the effects are performed according to the following equation:
1

V(x.yt) = α,Vt(x.yt)+a2V2(x,yt) (I)
where V(x, y. t) is the edited sequence from the original sequences Vs (x.y,t) and V,(x,y,t). α1 and a2 are two weighting parameters chosen according to the desired effect. Equation (1) is applied in the spatial domain for the various color components of the video sequence depending on the desired effect.
Finally, the resulting edited image sequence is re-encoded. The major disadvantage of this approach is that it is significantly computationally intensive, especially in the encoding part. Typical complexity ratio between generic encoders and decoders is approximately four. Using this conventional spatial-domain editing approach, all of the video frames coming right after the transition effect in the second sequence must be re-encoded.
Furthermore, it is not unusual that editing operations are usually repeated several times by users before the desired result is achieved. The repetition adds to the complexity of the editing operations, and requires more processing power. It is therefore important to develop efficient techniques minimizing the decoding and encoding operations, functioning in the compressed domain, to perform such editing effects.
In order to perform efficiently, video compression techniques exploit spatial redundancy in the frames forming the video. First, the frame data is transformed to another domain, such as the Discrete Cosine Transform (DCT) domain, to decorrelate it. The transformed data is then quantized and entropy coded.
In addition, the compression techniques exploit the temporal correlation between the frames: when coding a frame, utilizing the previous, and sometimes the future. frames(s) offers a significant reduction in the amount of data to compress.
The information representing the changes in areas of a frame can be sufficient to represent a consecutive frame. This is called prediction and the frames coded in this way are called predicted (P) frames or inter frames. As the prediction cannot be 100% accurate (unless the changes undergone are described in every pixel), a residual frame representing the errors is also used to compensate the prediction procedure.
The prediction information is usually represented as vectors describing the displacement of objects in the frames. These vectors are called motion vectors. The
2

procedure to estimate these vectors is called motion estimation. The usage of these vectors to retrieve frames is known as motion compensation.
Prediction is often applied on blocks within a frame. The block sizes vary for different algorithms (e.g. 8 x 8 or 16 x 16 pixels, or 2n x 2m pixels with n and m being positive integers). Some blocks change significantly between frames, to the point that it is better to send all the block data independently from any prior information, i.e. without prediction. These blocks are called Intra blocks.
In video sequences there are frames, which are fully coded in Intra mode. For example, the first frame of the sequence is usually fully coded in Intra mode, because it cannot be predicted from an earlier frame. Frames that are significantly different from previous ones, such as when there is a scene change, are usually also coded in Intra mode. The choice of the coding mode is made by the video encoder. Figures 1 and 2 illustrate a typical video encoder 410 and decoder 420 respectively.
The decoder 420 operates on a multiplexed video bit-stream (includes video and audio), which is demultiplexed to obtain the compressed video frames. The compressed data comprises entropy-coded-quantized prediction error transform coefficients, coded motion vectors and macro block type information. The decoded quantized transform coefficients c(x.y.t), where x.y are the coordinates of the coefficient and t stands for time, are inversely quantized to obtain transform coefficients d(x, y, t) according to the following relation:


where T--1 is the inverse transform operation, which is the inverse DCT in many compression techniques.
If the block of data is an intra-type macro block, the pixels of the block are equal to.Ec, (x.y.t). In fact, as explained previously, there is no prediction, i.e.:
R(x,y,x,t)=Ec(x,y,t). (6)
If the block of data is an inter-type macro block, the pixels of the block are reconstructed ,by finding the predicted pixel positions using the received motion vectors (∆x,∆y) on the reference frame R(x,y,t-1) retrieved from the frame memory. The obtained predicted frame is:
(7)
The reconstructed frame is
(8)
In general, blending, transitional effects, logo insertion and frame superposition are editing operations which can be achieved by the following operation:
(9)
where V(x,y.t) is the edited sequence from the N V(x,y,t) original sequences and t is the time index for which the effect would take place. The parameter (x,y,t) represents the modifications for introducing on V,(x,y,t) for all pixels (.x,y)at the desired time t
For the sake of simplicity, we consider the case when N=2, i.e.. the editing is performed using two input sequences. Nevertheless, it is important to stress that all of the following editing discussion can be generalized to n arbitrary input frames to produce one edited output frame.
4

For N=2. Equation (9) can be written as Equation (1):

Summary of the Invention
The present invention provides a method for compressed domain operation to achieve the desired editing effects, with reduced complexity reduction, starting substantially at any frame (at any time t). The method, according to the present invention, offers the possibility of changing the effect including regaining the original clip. In the editing device, according to the present invention, transform coefficients of a part of the video sequence are obtained from an encoder so that they can be combined with transform coefficients of other part of the video sequence, the transform coefficients of other video sequence or the transform coefficients indicative of a logo in order to achieve video effects, such as blending, sliding transitional and logo insertion.
Thus, the first aspect of the present invention provides a method for editing a bitstream carrying video data indicative of a video sequence. The method comprises;
acquiring from the bitstream data indicative of transform coefficients of at least part of the video sequence; and
modifying the acquired data in the transform domain for providing modified data in a modified bitstream in order to achieve a video effect in said at least part of the video sequence.
According to present invention, the acquiring step includes;
decoding the bitstream for obtaining a plurality of quantized transform coefficients; and
converting the quantized transform coefficients by inverse quantization for providing the transform coefficients.
According to the present invention, the modified data contain a plurality of quantized modified transform coefficients, and the modifying step includes changing the transform coefficients for providing a plurality of modified transform coefficients. The method further comprises:
quantizing the modified transform coefficients for providing said plurality of quantized modified transform coefficients.
According to the present invention, the method further comprises:
5

obtaining further data indicative of a plurality of further transform coefficients, and the modifying step includes combining the further data with the acquired data for providing the modified data, and the combining step includes:
multiplying the further data by a first weighting parameter for providing a first weighted data;
multiplying the acquired data by a second weighting parameter for providing a second weighted data; and
summing the first weighted data and the second weighted data for providing the further data.
According to the present invention, one or both of the first and second weighting parameters are adjusted to achieve a blending effect, or a sliding transitional effect. The further data can be obtained from a memory device via a transform operation, or from the same or a different bitstream.
According to the present invention, the method further comprise:
decoding the bitstream for obtaining a plurality of quantized transform coefficients:
converting the quantized transform coefficient in an inverse quantization operation for obtaining a plurality of dequantized transform coefficients for use in said modifying;
inversely transforming the dequantized transform coefficients for obtaining information indicative of a prediction error;
combining the prediction error with motion compensation information in the video data for providing further video data indicative of a reference frame:
transforming the further video data for providing transformed reference data; and
combining the transform reference data with the transform coefficient in said .modifying.
According the present invention, the method further comprises:
obtaining a plurality of further transform coefficients from a memory device via a transform operation; and
combining the further transform coefficients with the transform coefficient in said modifying.
The second aspect of the present invention provides a video editing device for editing a bitstream carrying video data indicative of a video sequence. The device comprises:
6

an acquiring module, responsive to the bitstream, for acquiring data indicative of transform coefficients of at least part of the video sequence; and
a modification module, responsive to the acquired data, for changing the transform coefficients in the transform domain for providing modified data in a modified bitstream in order to achieve a video effect in said at least part of the video sequence.
According to the present invention, the acquiring module comprises:
a decoding module, responsive to the bitstream, for obtaining a plurality of quantized transform coefficients; and
an inverse quantization module, responsive to the quantized transform coefficients, for providing the transform coefficients.
According to the present invention, the transform coefficients are changed in the transform domain to become modified transform coefficients by the modification module, and the editing device further comprises:
a quantization module for quantizing the modified transform coefficients for providing a plurality of quantized modified transform coefficients in the modified data.
According to the present invention, the editing device further comprises:
a further acquiring module for obtaining further data indicative of a plurality of further transform coefficients; and
a combination module, for combining the acquired data and the further data for providing the modified data.
According to the present invention, the editing device further comprises:
a further acquiring module for obtaining further data indicative of a plurality of further transform coefficients;
an inverse transform module, responsive to the further data, for providing information indicative of a prediction error;
a combination module, responsive to the prediction error and motion compensation information in the video data, for providing reference data indicative of a reference frame; and
a transform module, responsive to the reference data, for providing transformed reference data to the modification module so as to change the transform coefficient based on the transformed reference data.
The third aspect of the present invention provides a video coding system, which comprises:
7

a decoder; and
an encoder for receiving a bitstream carrying video data indicative of a video sequence, wherein the encoder comprises a video editing device for editing the bitstream. wherein the editing device comprises:
an acquiring module, responsive to the bitstream. for acquiring data
indicative of transform coefficients of at least part of the video sequence: and
a modification module, responsive to the acquired data, for changing the transform coefficients in the transform domain for providing modified data in a modified bitstream in order to achieve a video effect in said at least part of the video sequence, and
wherein the decoder is operable
in a first mode for reconstructing video from the video data carried in the bitstream, and
in a second mode for reconstructing video from the modified data in the modified bitstream.
The founh aspect of the present invention provides an electronic device, which comprises:
a video data acquisition module for acquiring a bitstream carrying a video sequence having video data; and
a video editing device for editing the bitstream to achieve a video effect, wherein the editing device comprises:
a first module for obtaining from the bitstream transform coefficients of at least a part of the video sequence;
a second module for modifying the transform coefficients in the transform domain for providing modified transform coefficients: and
a third module for converting the modified transform coefficients into modified video data in a modified bitstream.
The fifth aspect of the present invention provides a software product for use in a video editing device for editing a bitstream carrying video data indicative of a video sequence. The software product comprises:
a code for extracting from the bitstream data indicative of a plurality of transform coefficients of at least part of the video sequence; and
8

a code for modifying the transform coefficients for provided
modified data indicative of the modified transform coefficients.
The software product further comprises:
a code for mixing the transform coefficients of said at least part of the video sequence with other transform coefficients.
According to the present invention, the code for extracting comprises:
a code for decoding the bitstream for obtaining a plurality of quantized transform coefficients; and
a code for converting the quantized transform coefficients by inverse quantization for providing the transform coefficients.
According to the present invention, the code for modifying comprises:
a code for changing the transform coefficients for providing a plurality of modified transform coefficients, said software product further comprising:
a code for quantizing the modified transform coefficients for providing a plurality of quantized modified transform coefficients in a modified bitstream.
According to the present invention, the code for mixing comprises:
a code for multiplying the transform coefficients by a first weighting parameter for providing a first weighted data, and multiplying the other transform coefficients by a second weighting parameter for providing a second weighted data; and
a code for summing the first weighted data with the second weighted data for providing the modified data.
According to the present invention, the software product comprises;
a code for extracting stored data from a memory for providing further data; and
a code for transforming the further data for providing the other transform coefficients.
According to the present invention, the software product comprises:
a code for decoding the bitstream for obtaining a plurality of quantized transform coefficients: and
a code for converting the quantized transform coefficient in an inverse quantization operation for obtaining a plurality of the dequantized transform coefficients;
a code for inversely transforming the dequantized transform coefficients for obtaining information indicative of a prediction error;
a code for combining the prediction error with motion compensation information in the video data for providing further video data indicative of a reference frame:
9

a code for transforming the further video data for providing transformed reference data: and
a code for mixing the transform reference data with the transform coefficient for providing the modified data.
The present invention will become apparent upon reading the description taken in conjunction with Figures 3-13.
Brief Description of the Drawings
Figure 1 is a block diagram illustrating a prior art video encoder process.
Figure 2 a block diagram illustrating a prior art video decoder process.
Figure 3 is a schematic representation showing a typical video-editing channel.
Figure 4 is a block diagram illustrating an embodiment of the compressed domain approach to dissolve effects for intra frames, according to the present invention.
Figure 5 is a block diagram illustrating an embodiment of the compressed domain approach to dissolve effects for inter frames, according to the present invention.
Figure 6 is a block diagram illustrating an embodiment of the compressed domain approach to logo insertion with blending, according to the present invention.
Figure 7 is a block diagram showing an embodiment of the compressed domain approach to logo insertion.
Figure 8 is a block diagram showing an expanded video encoder, which can be used for compressed-domain video editing, according to the present invention.
Figure 9 is a block diagram showing an expanded video decoder, which can be used for compressed-domain video editing, according to the present invention.
Figure 10 is a block diagram showing another expanded video decoder, which can be used for compressed-domain video editing, according to the present invention.
Figure 11 a is a block diagram showing an electronic device having a compressed-domain video editing device, according to the present invention.
Figure 11 b is a block diagram showing another electronic device having a compressed-domain video editing device, according to the present invention.
Figure 11 c is a block diagram showing yet another electronic device having a compressed-domain video editing device, according to the present invention.
Figure 11 d is a block diagram showing still another electronic device having a compressed-domain video editing device, according to the present invention.
10

Figure 12 is a schematic representation showing the software programs for providing the editing effects.
Figure 13 is a schematic representation showing another software program for providing the editing effects.
Detailed Description of the Invention
The present invention is mainly concerned with transitional effects between different video sequences, logo insertion and overlaying of video sequences while the sequences are in compressed format. As such, the editing effects are applied to the video sequences without requiring full decoding and re-encoding. Thus, the present invention is concerned with blending and logo insertion operations in video editing. Blending is the operation of combining or joining sequences, overlaying for the entire frames or part of the frames in the sequences. Logo insertion is the operation of inserting a logo, which can be an image or graphic at a particular area of the frames in the video sequences.
Transition effect editing between two frames can be broken down to performing such operations between the corresponding macroblocks of these two frames. As explained above macro blocks in compressed video are of two types: Intra and Inter. Hence, we find four different combinations for applying editing effects between the macroblocks. We will present how to achieve the above effects with combinations of these macroblocks.
In general, editing operations can happen on a video clip in a channel at one of its terminals. The edited video clip is outputted at the other terminal, as shown in Figure 3. Video editing operations can start at time I. From that time, the bitstream is modified in order to add the desired effects as described in the following.
Blending of an intra block with an intra block
This operation in spatial domain is performed as follows:

For Intra frames, using the steps of earlier section , we have,
(10)

For Intra frames, using the steps of the earlier section, and after taking the transform of the frame after special effects, the same operations can be formulated as follows in the compressed domain:
(11)
The transform domain approach significantly simplifies the blending operations, as can be seen from Figure 4.
Figure 4 illustrates an embodiment of the present invention for compressed domain solution to dissolve transitional effects for Intra frames. Both of the compressed bitstreams 100.100’ are partially decoded in the corresponding demultiplexing units 10 to obtain the quantized transform coefficients 110, 100’ or c(i.j). The quantized transform coefficients are inverse quantized in inverse quantization blocks 20 to obtain inverse quantized transform coefficients 120, or d2(i,j) and 120' or d2(i,j). Each of these coefficients d1(iI,j) and d2(i,j) are scaled with α (t) and α{t), respectively, in blocks 22 and 22' to become scaled coefficients 122, 122'. The resulting coefficients 122.122' are then summed by a summing device 24 to produce a weighted sum 124 (d12 or e(x,y) , see Equation 11). The weighted sum 124 is re-quantized in the quantization block 26 to produce quantized coefficients 126. or e{x,y). Finally the quantized coefficients 126 are sent to a multiplexing unit 70, which performs entropy coding and multiplexing with other required information to produce a valid compressed video bitstream 170.
It should be understood that it is possible to combine the inverse quantization, scaling and quantization blocks or to combine the scaling and quantization blocks into a single coding block.
This process is repeated for both luminance and chrominance components of the video bitstream.
Blending of an inter block with an inter block.
Inter-frames are reconstructed by summing residual error with the motion-compensated prediction,









These transform coefficients e(x.y) are then quantized and sent to the entropy coder.
Figure 5 demonstrates an embodiment of the present invention for compressed domain solution to dissolve transitional effects for Inter macroblocks with Inter macroblocks. As shown in Figure 5, the coding device 5' comprises two decoders, which are capable of decoding two compressed bitstreams 100,100' into decoded video sequences 132, 132'. Part of the decoders is similar to a conventional decoder for inter block decoding, as shown in Figure 2. Thus, the process of decoding the compressed bitstreams 100, 100' into the decoded video sequences 132.132' in the spatial domain can be carried out in a conventional fashion. However, the coding device 5' further comprises a number of processing blocks to produce special dissolve effects in an edited bitstream 170. in addition to the decoded video sequences 132, 132'.
Similar to the process as shown in Figure 4, the quantized transform coefficients 110 or c(i,j) are inverse quantized in the inverse quantization blocks 20 to obtain inverse quantized transform coefficients 120’ or d2(i,j) and 120' or d2(j,j)- Each of these coefficients d(I,j) and d12(i,j) are scaled with α1 (I and α2 (t), respectively, in blocks 22. 22' to become scaled coefficients 122. 122'.The resulting coefficients are summed by a summing device 24. The summing result d(i,j) is denoted by reference numeral 124. Meanwhile, the predicted frames 136, or R1(x+∆x1, 1∆y1, t -1) and 136' or R2(x+∆x2. y-∆y2. t -1) are subjected to transform coding in the Transform blocks 38, 38'. Furthermore, using the motion-vectors of the first video-clip and the reconstructed frames of the second video-clip, a reference block 137 R2(x+∆x-y+∆y, t -1) is obtained through the Motion Compensation prediction block 36'. The reference block 137' is also subjected to transform coding by a transform block 39'. After the transform operations, transform coefficients 138. 138' and 139', respectively, of R1(x+∆x1.y+∆y1. t -1). R2(x+∆x2.y-∆y2, t –1) and R2(x+∆x1,y+∆y1-, t-1) are scaled with (α-(t-1) - α (t), α (t-1), and - α2(t). respectively. The scaled transform coefficients are then subtracted from d12(i.j) in the summing block 25. The final resulting coefficients 125 or e(i,j) are then quantized in the quantization block 26. Finally the quantized coefficients 126 are sent to a multiplexing



16

unit 70 which performs entropy coding and multiplexing with other required information to produce a valid compressed video bitstream 170.
It should be understood that it is possible to combine the inverse quantization, scaling and quantization blocks or to combine the scaling and quantization blocks into a single coding block.
This process is repeated for both luminance and chrominance components of the video bitstream.
In typical applications, the above-described process can be further improved. For example, it is possible to allow only the selected transition frames to go through the method of producing edited bitstream 170, according to the present invention. For frames that are not transition frames, the operations can be skipped. This improvement process can be carried out by setting one of the weighting parameters in the above-described case to 0: α 1(t)=0 α1(t)=0 α2(t)=0. When α2 (t-1)=0, there is no need to compute the transform coefficients 138' of R2(x+∆x2, y+ ∆y2-t -1). Likewise, when α2(t-l )= 0, there is no need to compute 137'. or.R2(x+ ∆x1,. ∆y1(t-1). When α1-t(t-l)= α1(t). there is no need to compute the transform coefficients 138 of R1(x+∆x1+∆y1, t-1).
When α2 (t-1)= α2 (t), the transform coefficients of R2(x+∆x2,y+∆y2-, t-1) and R2(x -∆x1, ∆y1,t-1) need not be computed separately in different coding blocks, but they can be computed as follows. After computing both R2(x+∆x2-y+∆y2. t-1) and R2(x+∆x2,y+∆y2,t-1). the block R2(x+∆x2.y+∆y2, t-1) is subtracted from R2(x+∆x1,y, ∆y1,t-1). The difference is subjected to transform coding in one of the transform blocks, such as the block 39'. The results are scaled by α2(t-1) or α2 (t), and the scaled result is fed to the summing block 25. The remaining steps are identical to the process as described in conjunction with Figure 5 above.
Sliding Transitional Effect
Sliding transitional effect, also known as “wipe” effect, makes one video clip slide into the other during transition. This can be accomplished by assigning appropriate weights a(x,y.,t) thai are dependent on the spatial location (x,y) in the frame. Furthermore, for the frames V1(x,y.,), we set weights a1(x,y,t) =0 and a1(x,y.t) - I in order to dictate which parts of frame 1 to be included in the sliding transition. Likewise, the setting a2(x,y,l) =0 and a2(x,y,t) = 1 dictates which parts of the frame are to be included in frame 2.
17

Logo Insertion
Logo insertion can be accomplished in different ways. One way is logo insertion with blending, as shown in Figure 6. Alternatively, logo insertion can be carried out without blending, as shown in Figure 7.
In logo insertion with blending, the transform coefficients 120 from one of decoder (see Figure 5) are replaced by the transform coefficients of the logo in a logo memory 40. as shown in Figure 6. As shown, the logo frames or sequence 140 is transformed into transform coefficients 141 by a transform block 41. The transform coefficient 141 and the coefficient 120 are summed by the summing block 24 after scaling. At the same time, the logo frames are processed by a Motion Compensation prediction block 36' to produce the predicated frames 137'. The result is transformed into transform domain coefficients 139’. The remaining steps are similar to those depicted in Figure 5.
Logo insertion without blending is shown in Figure 7. As shown, the transform coefficients 141 are mixed with the inverse quantized transform coefficients 120 from the compressed bitstream 100 as well as the predicated frames based on the edited bitstream 126.
Superposition of multiple sequences or frames
In the above-described editing processes, the number of input sequences, or ,N. is set to 2 (Equation 1). Similarly, the number of frames, or n. for use in motion prediction is also set to 2. However, the method of transform domain editing, according to the present invention, can be generalized such that the number of frames can be extended from n=2 to N=2, with N being a positive integer larger than 2.
The compressed-domain editing modules as shown in Figures 4 to 7 can be incorporated into conventional encoders and decoders as shown in Figures I and 2. For example, a conventional encoder 410 can be operatively connected to an editing module 5. 5’ or 7 of the present invention. As shown in Figure 8. the expanded encoder 610 has a switch to select which bitstream to be sent to a decoder. Without editing, the original bitstream 100 is sent. With editing, the edited bitstream 170 is sent. As such, the expanded encoder 610 can be used as a typical encoder, or it can be used for compressed-domain video editing.
18

Each of the editing modules 5. 5’ and 7 can also be incorporated in an expanded decoder 620 as shown in Figure 9. As shown, the decoder 420 can accept an original bitstream 100, or an edited bitstream 170 from the editing module 5. 5' or 7. As such, the expanded decoder 620 can be used as a typical decoder, or it can be used for compressed-domain video editing.
The editing module 8 of Figure 6 can also be used along with a conventional decoder 420 in an expanded decoder 630. As shown, the decoded video sequences of the original bitstream 100 can be obtained directly from the upper part 6 of the editing module 8 (see Figure 6). Alternatively, the bitstream 100 can be edited by the lower part 5” of the editing module 8.
The expanded encoder 610 can be integrated into an electronic device 710, 720 or 730 to provide compressed domain video editing capability to the electronic device, as shown separately in Figures 1la to 11c. As shown in Figure 1 a, the electronic device 710 comprises an expanded encoder 610 to receive video input. The bitstream from the output of the encoder 610 is provided to a decoder 420 so that the decoded video can be viewed on a display, for example. As shown in Figure 11 b, the electronic device 720 comprises a video camera for taking video pictures, The video signal from the video camera is conveyed to an expanded encoder 610, which is operatively connected to a storage medium. The video input from the video camera can be edited to achieve one or more video effects, as discussed previously. As shown in Figure 11c, the electronic device 730 comprises a transmitter to transmit the bitstream from the expanded encoder 610. As shown in Figure 1Id. the electronic device 740 comprises a receiver to receive a bitstream containing video data. The video data is conveyed to an expanded decoder 620 or 630. The output from the expanded decoder is conveyed to a display for viewing. The electronic devices 710, 720, 730, 740 can be a mobile terminal, a computer, a personal digital assistant, a video recording system or the like.
It should be understood that video effect provided in blocks 22, 22', as shown in Figures 4. 5 and 6 can be achieved by software programs 422, 424. as shown in Figure 12. For example, these software programs have a first code for providing editing data indicative of a(x,y,t) and a second code for applying this editing data to the transform coefficients d(x,y,t) by a multiplication operation. The second code can also have a summing operation to combine the scaled transform coefficients 122. 122'. 142. Moreover, the summing operation in both the block 24 and the block 25 (see Figure 5 and
19

6) can be carried out by a software program 426 in a summing module 28, as shown in Figure 13.
In sum. the present invention provides a method and device for editing a bitstream carrying video data in a video sequence. The editing procedure includes:
- decoding the bitstream to obtain quantized transform coefficients of the video sequence:
- inversely quantizing the quantized coefficients to obtain transform coefficients: modifying the transform coefficients in the transform domain;
- quantizing the modified transform coefficients.
The transform coefficients can be modified by combining the transform coefficients with other transform coefficients by way of weighted summation, for example. The other transform coefficients can be obtained from the same video sequence or from a different video sequence. They can also be obtained from a memory via a transform module.
Many or all of these method steps can be carried out by software codes in a software program.
Thus, although the invention has been described with respect to a preferred embodiment thereof, it will be understood by those skilled in the art that the foregoing and various other changes, omissions and deviations in the form and detail thereof may be made without departing from the scope of this invention.
20




1. A method of editing a bitstream carrying video data indicative of a video sequence,said method characterized by:
acquiring from the bitstream data indicative of transform coefficients of at least pan of the video sequence: and
modifying the acquired data in the transform domain for providing modified data in a modified bitstream in order to achieve a video effect in said at least part of the video sequence wherein motion compensation is used in compression of the video sequence.
2 The method of claim 1, characterized in that said acquiring comprises: decoding the bitstream for obtaining a plurality of quantized transform coefficients;
and
convening the quantized transform coefficients by inverse quamization for providing the transform coeffiecinets
3. The method of clsim 2. characterized in that the modified data contain a plurality of qauntized modified transform coefficients, and said modifying comprises changing the transform coefficients for providing a plurality of modified transform coefficients, said method further characterized by:
quantizing the modified transform coefficients for providing a plurality of quantized modified transform coefficients in the modified bitstream.
4. The method of claim 1, further characterized by:
obtaining further data indicative of a plurality of farther transform coefficients, wherein said modifying comprises
combining the further data with the acquired data for providing the modified data.
5.(amended) The method of claim 4. characterized in that said combining comprises:
multiplying the further data by a first weighting parameter for providing a first weighted data:
multiplying the acquired data by a second weighting parameter for providing 2 second weighted data: and
21


6. The method of claim 5. characterized in that one or both of the first and second weighting parameters are adjusted lo achieve a blending effect.
7 The method of claim 5, characterized in that one or both of the first and second weighting parameters are adjusted to achieve a sliding transitional effect
8. The method of claim 4, characterized in that the further data is indicative of IDS further transform coefficients of a different part of the video sequence.
9. The memos of claim 4, characterized in that the farther data is obtained from a different bitstream.
10. The method of claim 4. characterized in that the further data is obtained from a memory device via a Transform operation.
11. The method of claim 1. further characterized by:
decoding the bitstream for obtaining a plurality of quantized transform coefficients; and
converting the quantized transform coefficient in an inverse quantization operation for obtaining a plurality of dequantized transform coefficients for use in said modifying.
12. The method of claim 11, further characterized by:
inversely transforming the de-quantized transform coefficients for obtaining information indicative of a prediction error:
combining the prediction error with motion compensation information in the video data for providing further video data indicative of a reference frame;
transforming the farther video data for providing transformed reference data; and
combining the transform reference data with the transform coefficient in said modifying.

22
13 The method of claim 12. further characterized by:
obtaining a plurality of further transform coefficients from a memory device via a transform operanon and
combining the further transform coefficients with the transform coefficient in said modifying.
14 The method of claim 12. farther characterized by:
obtaining a plurality of further transform coefficients from 2 different bitstream and combining lbs further transform coefficients with the transform coefficients in said
modifying.
15. A Video editing device characterized by
an acquiring module, responsive to a bitsream. carrying video data; indicative of a video sequence, for acquiring data indicative of Transform coefficients of at leas, part. of the video sequence and
a modification module, responsive to the acquired data, for changing the transform coefficient in the transform. domain for providing modified data in a modified bitstream inorder to achieve video effect in said at least part of the video sequence wherein motion comprehension is used in compression of the video sequence.
16. The editing device of claim 15. characterized in that the acquiring module comprises: a decoding module, responsive to the bitstream. for obtaining a plurality of quantized
transform coefficients: and
an inverse quantization module, responsive to the quantized transform coefficients, for providing the transform coefficients.
17 The editing device of claim 16, characterized in that the transform coefficients 3re changed in the transform domain to become modified transform coefficients by device modification module, said editing device further characterized by;
a quantization module for quantizing the modified Transform: coefficients for providing a plurality of quantized modified transform coefficients in the modified data.
18 The editing device of claim 15, further characterized by
23


a further acquiring module for obtaining further data indicative of a in that transform plurality of coefficient and
a combination module, for combining the acquired data and the further data is acquired from a memory device via a transform module
19 The editing device of claim 18, characterized in that the further data is acquired from a memory device via a transform module.
20 The editing device of claim 15, further characterized by:
a further acquiring module for obtaining further data indicative of a plurality of further transform coefficients;
an inverse transform module, responsive to the further data, for providing information indicative of a prediction error;
a combination module, responsive io the prediction error and motion compensation information in the video data for providing reference data indicative of a reference frame:and
a transform module, responsive to the reference data, for providing transformed data to the modification module so as to change the transform coefficient based or. the transformed reference data.
21. The editing device of claim 20. further characterized by:
a further transform module, responsive to additional data in a memory device, for providing transformed additional data to the modification module so as to change the transform coefficients further based on the transformed additional data.
22. A video coding system, characterized by:
a decoder: and
an encoder for receiving a bitstream carrying video data indicative of a video sequence, wherein the encoder comprises a video editing device for editing the bistream the editing device comprising:
an acquiring module, responsive io the bitstream, for acquiring data indicative of transform coefficients of at least part of the video sequence; and

24


a modification module, responsive 10 the acquired data, for changing the transform coefficients in the transform domain for providing modified data in a modifed bitstream in order to achieve a video effect in said at least part of the video sequence -wherein morion compression is used in compression of the video sequence, and
wherein the decoder is operable
in a first mode for reconstructing video from die video data carried in the bitstream,
and
is a second mode for reconstructing video from the modified data in the modified bitstream.
23. An electronic device characterized by:
a video data acquisition means for acquiring & bitstream carrying a video sequence having video data and
a video editing device for editing the bitstream to achieve 2 video effect, the editing comprising
a first module for obtaining from the bitstream transform coefficients of at least a part of the video sequence:
a second module for modifying the transform coefficients in the transform domain for providing modified transform coefficients; and
a third module for converting the modified transform coefficients into modified video data in a modified bitstream.
24. A software product embedded in a computer readable medium for use in a video editing device for editing a bitstream earning video data indicative of a video sequence, said software product characterized by:
a code for extracting from the bitstream data indicative of a plurality of transform coefficients of at least part of the video sequence; and
a code for modifying the transform coefficients for providing modified data indicative of the modified transform coefficients.
25 The software product of claim 24, further characterized by:
25


a code for mixing die transform coefficients o: said at least part of the video sequence transform coefficients.
26. The software product of claim 24; characterized in that the code for extracting comprises:
a code for decoding the bitstream for obtaining a plurality of quantized transform coefficients; and
a code for converting the quantized transform coefficients by inverse quantization for providing the transform coefficients.
27. The software product of claim of 26, characterized in that the code for modifying comprises:
a code for changing the transform coefficients for providing a plurality of modified transform coefficients, said software product further characterized by:
a code quantizing the modified transform coefficients for providing a plurality of quatized modified transform coefficients in a modified bitstream.
28 The software product of claim 25. characterized in That the code for mixing comprise ;.
a code for multiplying the transform coefficients by a first weighting parameter for prodding a first weighted data, and multiplying the other transform coefficients by a second weighting parameter for providing a second weighted data; and
a code for summing the first weighted data with the second weighted data for producing the modified data.
29. The software product of claim 25, further characterized by:
a code for extracting stored data from a memory for prodding further data; and a code for transforming the further data for providing the other transform coefficients.
30 The software product of claim 24, further characterized by:
a code for decoding the bitstream for obtaining a plurality of quantized transform coefficients; and
26


a code for converting the quantized transform coefficient in an inverse quantization separation for obtaining a plurality of the dequanized Transform coefficients:
a cods for inversely transforming the dequantized transform coefficients for obtaining information indicative of & prediction error.
a code for combining the prediction error with motion compensation information in the video data for presiding further video data indicative of a reference frame;
a code for transforming the further video data for providing transformed reference data; and
a code for mixing the transform reference data with the transform coefficient for providing the modified data.
Dated this 8 day of September 2006




Documents:

3272-CHENP-2006 CORRESPONDENCE OTHERS 05-09-2012.pdf

3272-chenp-2006 form-1 20-05-2011.pdf

3272-chenp-2006 form-13 20-05-2011.pdf

3272-CHENP-2006 FORM-3 05-09-2012.pdf

3272-chenp-2006 power of attorney 20-05-2011.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS 20-05-2011.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS 07-10-2013.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS 17-09-2013.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS 02-09-2013.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS. 29-10-2013.pdf

3272-CHENP-2006 EXAMINATION REPORT REPLY RECEIVED 03-12-2013.pdf

3272-CHENP-2006 EXAMINATION REPORT REPLY RECEIVED 13-03-2013.pdf

3272-CHENP-2006 FORM-1 03-12-2013.pdf

3272-CHENP-2006 FORM-5 13-03-2013.pdf

3272-CHENP-2006 OTHERS 03-12-2013.pdf

3272-CHENP-2006 AMENDED PAGES OF SPECIFICATION 13-03-2013.pdf

3272-CHENP-2006 AMENDED CLAIMS 03-12-2013.pdf

3272-CHENP-2006 AMENDED CLAIMS 13-03-2013.pdf

3272-CHENP-2006 AMENDED PAGES OF SPECIFICATION 03-12-2013.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS 20-01-2014.pdf

3272-CHENP-2006 CORRESPONDENCE OTHERS.pdf

3272-CHENP-2006 FORM-18.pdf

3272-CHENP-2006 FORM-3 20-01-2014.pdf

3272-CHENP-2006 FORM-3.pdf

3272-CHENP-2006 OTHER PATENT DOCUMENT 03-12-2013.pdf

3272-CHENP-2006 OTHERS 13-03-2013.pdf

3272-chenp-2006-abstract.pdf

3272-chenp-2006-claims.pdf

3272-chenp-2006-correspondnece-others.pdf

3272-chenp-2006-description(complete).pdf

3272-chenp-2006-drawings.pdf

3272-chenp-2006-form 1.pdf

3272-chenp-2006-form 26.pdf

3272-chenp-2006-form 3.pdf

3272-chenp-2006-form 5.pdf

3272-chenp-2006-pct.pdf


Patent Number 258735
Indian Patent Application Number 3272/CHENP/2006
PG Journal Number 06/2014
Publication Date 07-Feb-2014
Grant Date 03-Feb-2014
Date of Filing 08-Sep-2006
Name of Patentee NOKIA CORPORATION
Applicant Address Keilalahdentie 4, FI-02150 Espoo, Finland.
Inventors:
# Inventor's Name Inventor's Address
1 KURCEREN, Ragip 3314 Ashleaf Drive, Carrollton, Texas 75007
2 CHEBIL, Fehmi 4127 W. Northgate Drive #1303, Irving, Texas 75062
3 ISLAM, Asad 1121 Princeton Drive, Richardson, Texas 75081
PCT International Classification Number H04N 5/265
PCT International Application Number PCT/IB2005/000553
PCT International Filing date 2005-03-03
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 10/798,825 2004-03-10 U.S.A.