WO2015101031A1 - 一种视频数据编码、解码的方法和装置 - Google Patents

一种视频数据编码、解码的方法和装置 Download PDF

Info

Publication number
WO2015101031A1
WO2015101031A1 PCT/CN2014/083134 CN2014083134W WO2015101031A1 WO 2015101031 A1 WO2015101031 A1 WO 2015101031A1 CN 2014083134 W CN2014083134 W CN 2014083134W WO 2015101031 A1 WO2015101031 A1 WO 2015101031A1
Authority
WO
WIPO (PCT)
Prior art keywords
information group
information
decoded
group
encoded
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.)
Ceased
Application number
PCT/CN2014/083134
Other languages
English (en)
French (fr)
Inventor
瑟乔夫马克西姆
宋锦
斯蒂平维克多
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to JP2016543667A priority Critical patent/JP6291064B2/ja
Priority to EP14876548.0A priority patent/EP3076651A4/en
Priority to KR1020167020210A priority patent/KR101858040B1/ko
Publication of WO2015101031A1 publication Critical patent/WO2015101031A1/zh
Priority to US15/199,157 priority patent/US20160316211A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • H04N19/895Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder in combination with error concealment

Definitions

  • the present invention relates to the field of coding and decoding, and in particular, to a method and apparatus for encoding, decoding, and decoding video data. Background technique
  • RTP Real-time Transport Protocol
  • UDP User Datagram Protocol
  • the video is composed of a plurality of images, and one image is composed of at least one strip.
  • UDP is an unreliable transmission protocol.
  • packet loss is likely to occur, which affects the quality of the video reconstructed at the decoding end.
  • redundant image technology can be introduced in the encoding process of video data.
  • the method may include: generating one or more redundant stripes corresponding to the basic stripe in the encoding process of the video data; and encapsulating the basic stripe and the redundant stripe into different packets for transmission; wherein the image is composed of at least one The band is composed.
  • the decoding end can perform decoding by: parsing the strip header of the current stripe to obtain attribute information of the current stripe, and the attribute information of the current stripe is used to represent the current stripe as a basic stripe or a redundant stripe; If the current strip is a redundant strip and the basic strip corresponding to the current strip is a normal strip (that is, the packet is not dropped), the current strip is discarded; if the current strip is a redundant strip and the current strip is If the corresponding basic strip is an abnormal strip (ie, the strip has been lost), the strip header information of the basic strip is copied to the current strip header, and other information of the current strip is further analyzed, thereby using the redundant strip. Refactor the video.
  • the above decoding method requires that the basic stripe be decoded before the redundant stripe corresponding to the basic stripe, which requires the basic stripe to be transmitted before the redundant stripe corresponding to the basic stripe, resulting in poor transmission flexibility; It is also required to mark a strip as a basic strip during the encoding process of the video data. With or with redundant strips, this results in low coding efficiency.
  • the method and device for encoding and decoding video data provided by the embodiments of the present invention can improve coding efficiency or poor transmission flexibility.
  • a method for encoding video data including:
  • the to-be-encoded information group includes first to-be-encoded data
  • the redundant information group includes second to-be-encoded data, location information of the redundant information group, and the to-be-coded information group in the to-be-coded video
  • the location information in the sequence is the same;
  • the second data to be encoded and the location information are encoded to generate a second information group.
  • the encoding the second to-be-coded data and the location information to generate a second information group includes: when the reference information group set includes the And encoding, by the second information group, the second to-be-encoded data and the location information to generate a second information group; the reference information group set is formed by a reference information group, and the reference information group refers to coding the to-be-coded A group of information generated after the group of information to be encoded in the video sequence.
  • the encoding the first to-be-coded data and the location information to generate the first information group includes: The location information and the first information, the group information of the group are encoded to generate the first information group; the attribute information of the first information group is used to represent the first information group as a basic information group .
  • the attribute information of the first information group is located in a network abstraction layer unit header of the first information group.
  • the encoding the second to-be-coded data and the location information to generate the second information group includes: The location information, the attribute information of the second information group, and the network abstraction layer unit type of the first information group are encoded to generate the second information group; and the attribute information of the second information group is used to represent the The second information group is a redundant information group.
  • the attribute information of the second information group is located in a network abstraction layer unit header of the second information group.
  • the network abstraction layer unit type of the first information group is located in the second information group The side information collection.
  • the location information includes: a display position of the to-be-coded information group in the to-be-coded video sequence, or the to-be-coded information group is in the Encode the location of the code in the video sequence.
  • the information group to be encoded is one of the following video coding units: an image, a strip, a slice, or a frame.
  • the generating a redundant information group corresponding to the to-be-coded information group includes:
  • the to-be-referenced information refers to information referenced by other information to be encoded in the to-be-coded video sequence
  • the network abstraction layer unit type of the first information group is not an intra-frame random access point IRAP type.
  • a method for decoding video data including: Determining a to-be-decoded information group and a reference information group set in the to-be-decoded code stream; the to-be-decoded information group includes data information and location information of the to-be-decoded information group; the to-be-decoded code stream includes a basic information group and a redundant information group corresponding to the basic information group, where a location of the basic information group in the to-be-decoded code stream precedes the redundant information group; the information group to be decoded is a basic information group or redundant information
  • the reference information group set is composed of a reference information group, and the reference information group is a group of information generated after parsing the data information of the to-be-decoded information group in the to-be-decoded code stream;
  • the location information of the at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group, discarding the to-be-decoded information group; or, if the reference information group set is in the The location information of the reference information group is different from the location information of the information group to be decoded, and the data information is parsed.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenced state;
  • the location information of the first reference information group is the same as the location information of the information group to be decoded;
  • discarding the to-be-decoded information group includes:
  • the method further includes:
  • the reference state of the first reference information group is an unreferenced state, parsing the data information.
  • the referenceable state includes: a long-range reference state and a close-range reference state.
  • the to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the to-be-decoded information group is not an intra-frame random access point IRAP type.
  • a method for decoding video data including:
  • the first to-be-decoded information group includes data information, attribute information, and location information of the first to-be-decoded information group, where the attribute information is used to represent the
  • the first to-be-decoded information group is a basic information group or a redundant information group;
  • the reference information group set is formed by a reference information group, and the reference information group refers to parsing the to-be-set Decoding the information to be decoded in the code stream, I, the data information of the group, the generated information group;
  • the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group, discarding the first to-be-decoded information group; or, if the reference information The location information of the reference information group in the group set is different from the location information of the first to-be-decoded information group, and the data information is parsed.
  • the method further includes:
  • the method further includes:
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenced state;
  • the location information of the first reference information group is the same as the location information of the first to-be-decoded information group;
  • discarding the first to-be-decoded information group includes:
  • the first to-be-decoded information group is discarded.
  • the method further includes:
  • the reference state of the first reference information group is an unreferenced state, parsing the data information.
  • the attribute information of the first to-be-decoded information group is located in a network abstraction layer unit header of the first to-be-decoded information group.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the attribute information of the code information group indicates that the first to-be-decoded information group is a redundant information group, and the first to-be-decoded information group further includes a network abstraction layer unit of a basic information group corresponding to the first to-be-decoded information group. Types of;
  • the method further includes:
  • the network abstraction layer unit type is replaced with a network abstraction layer unit type of a basic information group corresponding to the first to-be-decoded information group.
  • the network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group is located in the first to be decoded.
  • the first to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the first to-be-decoded information group is not an intra-frame random access point IRAP type.
  • a fourth aspect provides an apparatus for encoding video data, including:
  • a determining unit configured to determine a to-be-encoded information group in the video sequence to be encoded; the to-be-encoded information group includes first to-be-encoded data;
  • a generating unit configured to generate a redundant information group corresponding to the to-be-encoded information group;
  • the redundant information group includes second to-be-encoded data, a location information of the redundant information group, and the to-be-coded information group
  • the location information in the to-be-coded video sequence is the same;
  • the first coding unit is configured to encode the first to-be-encoded data and the location information to generate a first information group;
  • a second coding unit configured to encode the second to-be-encoded data and the location information to generate a second information group.
  • the second coding unit is specifically configured to: when the first information group is included in a reference information group set, The second to-be-coded data and the location information are encoded to generate a second information group; the reference information group set is composed of a reference information group, and the reference information group refers to after encoding the to-be-coded information group in the to-be-coded video sequence. The generated information group.
  • the first coding unit is specifically configured to: encode the first to-be-coded data, the location information, and attribute information of the first information group to generate The first information group; the attribute information of the first information group is used to represent the first information group as a basic information group.
  • the attribute information of the first information group is located in a network abstraction layer unit header of the first information group.
  • the second coding unit is specifically configured to: the second to-be-coded data, the location information, attribute information of the second information group, and the The network abstraction layer unit type of the information group is encoded to generate the second information group; and the attribute information of the second information group is used to represent the second information group as a redundant information group.
  • the attribute information of the second information group is located in a network abstraction layer unit header of the second information group.
  • the network abstraction layer unit type of the first information group is located in the second information group The side information collection.
  • the location information includes: a display position of the to-be-coded information group in the video sequence to be encoded, or the to-be-coded information group is in the Encode the location of the code in the video sequence.
  • the information group to be encoded is one of the following video coding units: an image, a strip, a slice, or a frame.
  • the generating unit package Includes:
  • a determining subunit configured to determine information to be referred to in the to-be-coded information group; the to-be-referenced information refers to information to be referenced by other to-be-encoded messages in the to-be-encoded video sequence;
  • the network abstraction layer unit type of the first information group is not an intra-frame random access point IRAP type.
  • a fifth aspect provides an apparatus for decoding video data, including:
  • a determining unit configured to determine a to-be-decoded information group and a reference information group set in the to-be-decoded code stream;
  • the to-be-decoded information group includes a data message, and the to-be-decoded information, group location information;
  • the to-be-decoded code The stream includes a basic information group and a redundant information group corresponding to the basic information group, where a location of the basic information group in the to-be-decoded code stream precedes the redundant information group;
  • the to-be-decoded information group is The basic information group or the redundant information group;
  • the reference information group set is composed of a reference information group, and the reference information group refers to the information group generated after parsing the data information of the to-be-decoded information group in the to-be-decoded code stream;
  • a first processing unit configured to discard the to-be-decoded information group if the location information of the at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group; or
  • the processing unit is configured to parse the data information if the location information of the reference information group in the reference information group set is different from the location information of the to-be-decoded message, the group.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenced state;
  • the location information of the first reference information group is the same as the location information of the information group to be decoded;
  • the first processing unit is configured to: if the reference state of the first reference information group is a referenceable state, discard the to-be-decoded information group.
  • the first processing unit is further configured to: if a reference state of the first reference information group is an unreferenced state, Parsing the data information.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the to-be-decoded information group is not an intra-frame random access point IRAP type.
  • a sixth aspect provides an apparatus for decoding video data, including:
  • a determining unit configured to determine a first to-be-decoded information group in the to-be-decoded code stream;
  • the first to-be-decoded information group includes data information, attribute information, and location information of the first to-be-decoded information group, the attribute information And used to represent the first to-be-decoded information group as a basic information group or a redundant information group;
  • the reference information group set is formed by a reference information group, and the reference information group refers to an analysis station. Deriving the information to be decoded in the decoded code stream, the data information of the group, and the generated information group;
  • a first processing unit configured to discard the first to-be-decoded information group if the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group;
  • the second processing unit is configured to: if the location information of the reference information group in the reference information group set is different from the location information of the first to-be-decoded information group, parse the data information.
  • the determining unit is further configured to determine the code stream to be decoded. a second to-be-decoded information set;
  • the device further includes: a decoding unit, configured to decode the second to-be-decoded information group; and an updating unit, configured to update the reference information group set after decoding the second to-be-decoded information group;
  • the second processing unit is configured to parse the data information if the location information of the reference information group in the updated reference information group set is different from the location information of the first to-be-decoded information group.
  • the second processing unit is further configured to: if the at least one reference information group in the updated reference information group set The location information is the same as the location information of the first to-be-decoded packet, and the first to-be-coded packet is discarded.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenced state;
  • the location information of the first reference information group is the same as the location information of the first to-be-decoded information group;
  • the first processing unit is specifically configured to discard the first to-be-decoded information group if the reference state of the first reference information group is a referenceable state.
  • the first processing unit is further configured to: if a reference state of the first reference information group is an unreferenced state, Parsing the data information.
  • the attribute information of the first to-be-decoded information group is located in a network abstraction layer unit header of the first to-be-decoded information group.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the attribute information of the first to-be-decoded information group indicates that the first to-be-decoded information group is a redundant information group, and the first to be decoded
  • the information group further includes a network abstraction layer unit type of a basic information group corresponding to the first to-be-decoded information group;
  • the apparatus further includes: a replacing unit, configured to replace the network abstraction layer unit type with a network of basic information groups corresponding to the first to-be-decoded information group Abstract layer unit type.
  • the network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group is located in the first to be decoded.
  • the first to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the first to-be-decoded information group is not an intra-frame random access point IRAP type.
  • the encoding method and encoding apparatus of the above scheme do not need to mark the attribute information of the first information group and the second information group, and thus the encoding efficiency can be mentioned.
  • the decoding method and the decoding apparatus of the foregoing solution do not need to mark the stripe as a basic stripe or a redundant stripe in the process of encoding the video data, so that the encoding efficiency can be improved; or, the basic stripe is not required to be in the basic stripe
  • the decoding is performed before the corresponding redundant stripe, that is to say, the basic stripe is required to be transmitted before the redundant strip corresponding to the basic stripe, so that the transmission flexibility can be improved.
  • FIG. 2 is a flow chart of a method for decoding video data according to Embodiment 2 of the present invention.
  • FIG. 3 is a flow chart of another method for decoding video data according to Embodiment 3 of the present invention.
  • FIG. 4 is a flow chart of a method for encoding video data according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a method for decoding video data according to Embodiment 1 of the present invention.
  • FIG. 6 is a flow chart of another method for decoding video data according to Embodiment 1 of the present invention.
  • FIG. 7 is a flow chart of a method for encoding video data according to Embodiment 2 of the present invention.
  • FIG. 8 is a flowchart of a method for decoding video data according to Embodiment 2 of the present invention.
  • FIG. 8A is a flow chart of another method for decoding video data according to Embodiment 2 of the present invention.
  • FIG. 9 is a structural diagram of an apparatus for encoding video data according to Embodiment 4 of the present invention.
  • FIG. 10 is a structural diagram of another apparatus for encoding video data according to Embodiment 4 of the present invention.
  • FIG. 11 is a structural diagram of an apparatus for encoding video data according to Embodiment 5 of the present invention.
  • FIG. 12 is a structural diagram of an apparatus for decoding video data according to Embodiment 6 of the present invention.
  • FIG. 13 is a structural diagram of an apparatus for decoding video data according to Embodiment 7 of the present invention
  • FIG. 14 is a structural diagram of an apparatus for decoding video data according to Embodiment 8 of the present invention.
  • FIG. 15 is a structural diagram of an apparatus for decoding video data according to Embodiment 8 of the present invention.
  • FIG. 16 is a structural diagram of an apparatus for decoding video data according to Embodiment 9 of the present invention.
  • a method for encoding video data includes:
  • the execution body of this embodiment may be an encoding end.
  • the information group to be encoded The attribute is a basic information group; the information group to be encoded may be data constituting part/all images in an image, or may be data for predicting partial/all images in an image.
  • the information group to be encoded may specifically include Includes, but is not limited to, one of the following video coding units: image, strip, slice, or frame.
  • Video sequence to be encoded Contains one or more information groups to be encoded.
  • Reference information group A group of information generated after encoding the information group to be encoded in the video sequence to be encoded, for example, the first information group and the second information group described below.
  • Reference information set It consists of reference information groups, which can contain one or more elements, and can also be an empty set.
  • the reference information group set is an empty set.
  • the reference information group set has a certain capacity limitation.
  • the coding end moves the reference information group obtained by the first coding out of the reference information group set according to the coding time sequence;
  • the size of the capacity is not limited in the embodiment of the invention.
  • the action of "removing the reference information group in the reference information group set" is not described in the following embodiments.
  • the redundant information group includes second to-be-encoded data, where the location information of the redundant information group and the information group to be encoded are in the The location information in the encoded video sequence is the same.
  • the first to-be-coded data and the second to-be-coded data may be the same or different.
  • the location information is one of the following information: a display position of the to-be-encoded information group in the to-be-coded video sequence, or an encoding position of the to-be-encoded information group in the to-be-coded video sequence.
  • the display bit of the to-be-coded information group in the video sequence to be encoded may be a POC (picture order count).
  • step 102 can be implemented using methods in the prior art, and will not be described here. It should be noted that all the information in the information group to be encoded may be generated into a redundant information group, or only information in the information group to be encoded that is referenced by other information groups to be encoded may be generated into a redundant information group; The amount of data, thereby improving systemicity
  • step 102 may include: determining the to-be-edited Information to be referred to in the code information group; the information to be referred to refers to information referenced by other information groups to be encoded in the video sequence to be encoded; and a redundant information group corresponding to the information to be referenced is generated.
  • step 102 may be specifically implemented as follows: the Nth frame is a reference frame of the N+1 frame, and the Nth frame is encoded; and the N+1 frame is encoded, where Encoding each coding block in the N+1 frame in turn, each coding block can obtain an optimal reference block in the Nth frame, record the position of the best reference block, and encode the redundant frame corresponding to the Nth frame, Only the coded blocks marked as the best reference block are encoded, and the other parts are filled with null data.
  • the step 103 may specifically include: encoding, by the first to-be-coded data, the location information, and the first information, the first information of the group, the generated information An information group; the attribute information of the first information group is used to represent the first information group as a basic information group.
  • the attribute information of the first information group is located in a NALU (Network Abstract Layer Unit) header of the first information group.
  • the NALU header of the first information group may further include a NALU type of the first information group, which may be: RADL (random access decodable leading, which can be decoded before the random access point), RASL (random access skipped) leading, disposable located before the random access point), BLA (broken link access, an access chain scission), IDR (instantaneous decoding refresh, code immediate angular rod 1 ⁇ 1 J Cambridge cock new state), CRA (clean random access, Random access cleanup point), where BLA/IDR/CRA is collectively called IRAP and so on.
  • RADL random access decodable leading
  • RASL random access skipped leading
  • BLA broken link access, an access chain scission
  • IDR instantaneous decoding refresh, code immediate angular rod 1 ⁇ 1 J Cambridge cock new state
  • CRA clean random access, Random access cleanup point
  • the encoding method of step 103 and step 104 can use the prior art.
  • encoding is performed in accordance with RTP or the like.
  • step 103 may be performed first and then step 104 may be performed, or step 104 may be performed first and then step 103 may be performed.
  • another group of information to be encoded in the encoded video sequence may be encoded between step 103 and step 104; that is, the coding sequence of the same to-be-coded information group and its corresponding redundant information group may be consecutive, Can not be continuous.
  • the step 104 may include: when the first information group is included in the reference information group set, the second data to be encoded and the The location information is encoded to generate a second information group; the reference information group set is composed of a reference information group, and the reference information group refers to a information group generated after the information group to be encoded in the video sequence to be encoded is encoded.
  • the coding position of the first information group can be prevented from being too far apart from the coding position of the second information group, so that when the information group to be decoded is determined to be a redundant information group, the corresponding basic information group has been removed from the reference information group. set.
  • the step 104 may specifically include: performing, to the second to-be-encoded data, the location information, the attribute information of the second information group, and the network abstraction layer unit type of the first information group. Encoding, generating the second information group; the attribute information of the second information group is used to represent the second information group as a redundant information group.
  • the attribute information of the second information group is located in a network abstraction layer unit header of the second information group.
  • the network abstraction layer unit type of the first information group is located in an edge information set of the second information group.
  • the side information set may be a strip header.
  • the side information set may specifically be a slice header.
  • the attribute information of the second information group may be used as a NALU type of the second information group (hereinafter referred to as "redundancy type”), or may exist as an attribute in the NALU header of the second information group.
  • the former is described as an example.
  • the first information may be implicitly stored in the attribute information of the first information group.
  • the NALU type of the group may also exist as a single attribute in the N ALU header of the first information group.
  • the former may be implemented as: When the NALU type of a information group is not a redundancy type, the The information group is a basic information group; the former is described as an example in the following embodiments.
  • a NAL unit may contain a partial frame, a frame, or a plurality of frames.
  • the NAL unit consists of a NALU header and NALU data.
  • the NALU data consists of strip header and stripe data, and the stripe data contains the above "data information”.
  • an encoded code stream (including one or more reference information groups) is generated, and after being transmitted through the network, it becomes a code stream to be decoded at the decoding end.
  • the encoding end may send the generated encoded code stream to the decoding end after encoding some/all of the information groups to be encoded in the video sequence to be encoded.
  • the method for encoding video data may be used together with the method for encoding video data in the prior art, and may be specifically described as: configuring redundancy for a part of the to-be-coded information group in the video sequence to be encoded.
  • the remaining information groups are not configured with redundant information groups for other information groups to be encoded. That is, the redundant information group corresponding to the information group to be encoded is generated, and the redundant information group corresponding to the other information group to be encoded is not generated.
  • the redundancy information group may be configured not for the information group to be encoded of the type of the IRA (intra random access point), and the network abstraction layer unit of the first information group. The type is not an IRAP type.
  • redundant information groups can also be configured for each information group to be encoded in the video sequence to be encoded.
  • a method for encoding video data generating information to be encoded Corresponding, a redundant information group including the second data to be encoded, and encoding the first to-be-encoded data included in the coded information group and the location information of the to-be-coded information group in the video sequence to be encoded, to generate a first information group And encoding the second to-be-encoded data and the location information of the redundant information group to generate a second information group, where the location information of the redundant information group is the same as the location information of the information group to be encoded.
  • the method for decoding video data provided in this embodiment corresponds to the method for encoding the video data described above. As shown in Figure 2, it includes:
  • the to-be-decoded information group includes a data message, and the to-be-decoded information, group location information;
  • the to-be-decoded code stream includes a basic And a redundant information group corresponding to the basic information group, where a location of the basic information group in the to-be-decoded code stream is before the redundant information group; and the to-be-decoded information group is a basic information group Or a redundant information group;
  • the reference information group set is composed of a reference information group, and the reference information group refers to the information group generated after parsing the data information of the to-be-decoded information group in the to-be-decoded code stream.
  • the execution body of this embodiment may be a decoding end.
  • the information group to be decoded is a basic information group or a redundant information group; the information group to be decoded may be the first information group or the second information group in the first embodiment.
  • the to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the code stream to be decoded After the coded video sequence is encoded in the first embodiment, the coded code stream is generated and transmitted through the network, and becomes a code stream to be decoded at the decoding end; wherein, packet loss may occur during the transmission process.
  • the code stream to be decoded contains one or more information groups to be decoded.
  • Reference information group The information group generated after parsing the data information of the information group to be decoded in the code stream to be decoded.
  • Reference information set It consists of reference information groups, which can contain one or more elements, and can also be an empty set.
  • the reference information group set is an empty set.
  • the information group in the reference information set may be data in a DPB (Decoded Picture Buffer) (hereinafter referred to as "DPB data"), or may be an RPS (Reference Picture Set). The data in the set).
  • DPB Decoded Picture Buffer
  • RPS Reference Picture Set
  • the decoding end moves the reference information group decoded first out of the reference information group set according to the decoding time sequence;
  • the size of the capacity is not limited in the embodiment of the invention.
  • the actions of "removing the reference information group in the reference information set" are not described in the following embodiments.
  • the "data information” may be information generated after encoding the "first to-be-coded data" in the first embodiment; when the information group to be decoded is a redundant information group When “data information" can be used in the first embodiment
  • Position information of the to-be-decoded information group The position of the information group to be encoded in the code stream to be decoded, when the specific implementation is performed, generally refers to the video to be encoded before the information group to be decoded is not encoded, that is, the information group to be encoded
  • the display position or encoding position in the sequence The display position of the to-be-coded information group in the video sequence to be encoded may be a POC.
  • the location of the basic information group in the to-be-decoded code stream is before the redundant information group, and may be implemented as:
  • the encoded code stream is transmitted in the order of coding, or information for characterizing the coding order, such as timestamp, is added to the packet header before packet transmission.
  • the information group to be decoded is discarded; or if the location information of the reference information group in the reference information group set is the same as the location of the information group to be decoded. If the information is different, the data information is parsed.
  • the location information of at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group
  • At least one reference information group in the reference information group set is the to-be-decoded information group
  • the information group to be encoded is a redundant information group. Therefore, the to-be-decoded information group can be discarded.
  • the data information of the to-be-decoded information group is not further analyzed, and the to-be-decoded information group can also be deleted.
  • the to-be-coded information group is a basic information group; or, the to-be-decoded information group is Redundant information group, but the basic information group corresponding to the redundant information group is lost. Therefore, in this case, it is necessary to continue to parse the data information of the information group to be decoded.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenceable state; and the first reference information group in the reference information group set
  • the location information is the same as the location information of the to-be-decoded information group; in this case, if the location information of the at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group,
  • the discarding the to-be-decoded information group may include: if the reference state of the first reference information group is a referenceable state, discarding the to-be-decoded information group.
  • the method may further include: parsing the data information if a reference state of the first reference information group is a non-reference state.
  • the decoding end can obtain the reference state of the reference information group by interacting with the information of the encoding end.
  • the specific information interaction process can refer to the prior art, and is not described herein.
  • the reference state of the reference information group is determined by the NALU type of the information group to be encoded, the structure of the coding, and the like; the structure of the coding includes: a GOP (Group Of Picture) type, and the coding end is manually set. It may include: a long-range reference state and a close-range reference state.
  • the first reference information group is a short-distance reference information group of the to-be-decoded information group
  • the first reference information group is a long-distance reference information group of the to-be-decoded information group
  • the first reference information group may be referred to as a short-range reference information group of the to-be-decoded information group, It may be a remote reference information group called the to-be-decoded information group.
  • the value can be 16 frames or other values.
  • the network abstraction layer unit type of the to-be-decoded information group may not be an IRAP type.
  • a to-be-decoded information group in the to-be-decoded code stream includes a data message, a packet, and a location information of the packet to be decoded, a packet, and a group; if reference information of the information group to be decoded If the location information of the at least one reference information group in the group set is the same as the location information of the to-be-decoded information group, the information group to be decoded is discarded; or, if the reference information group in the reference information group set of the information group to be decoded is The location information is the same as the location information of the to-be-decoded packet, and the data information is parsed.
  • the first to-be-decoded information group may be a strip.
  • the method for decoding video data provided in this embodiment corresponds to the method for encoding the video data described above. As shown in Figure 3, it includes:
  • the first to-be-decoded information group is a basic information group or a redundant information group.
  • the execution body of this embodiment may be a decoding end.
  • the "first to-be-decoded information group” refers to a to-be-decoded information group in the to-be-decoded code stream
  • the following "second to-be-decoded information group” refers to one or more to-be-decoded information groups after the first to-be-decoded information group. .
  • the attribute information of the first to-be-decoded information group is located in a network abstraction layer unit header of the first to-be-decoded information group. It should be noted that, when the attribute information of the first to-be-decoded information group is used to represent the first to-be-decoded information group as a basic information group, the attribute information may be implicit in the NALU type of the to-be-decoded information group, or It exists in the NALU header as an attribute alone; the former embodiment is described as an example in the following specific embodiments.
  • the attribute information of the first to-be-decoded information group is used to represent the to-be-decoded information group as a redundant information group
  • the attribute information may be used as a NALU type of the first to-be-decoded information group (hereinafter, "redundant type" "), can also exist as an attribute in the NALU header;
  • the former can be implemented as follows: When the NALU type of a packet is not a redundancy type, the information group is considered to be a basic information group; In the examples, the former is described as an example.
  • the first to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the reference information set is composed of a reference information group, and the reference information group is generated after parsing the data to be decoded, the data information of the group in the to-be-decoded code stream.
  • Information group is composed of a reference information group, and the reference information group is generated after parsing the data to be decoded, the data information of the group in the to-be-decoded code stream.
  • the information group to be decoded in this embodiment includes attribute information, and the information to be decoded can be obtained by analyzing the attribute information as a redundant information group or a basic information group.
  • attribute information is used as a NALU type or implicit in In the NALU type, since the NALU type of a packet is located in the NALU header of the packet, it can also be described as: Obtaining whether the to-be-decoded packet is a redundant packet or a basic packet by parsing its NALU header.
  • the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group, discarding the first to-be-decoded information group; or, if The location information of the reference information group in the reference information group set is different from the location information of the first to-be-decoded information group, and the data information is parsed.
  • the location information of the basic information group is the same as the location information of the redundant information group. Therefore, it can be concluded that:
  • the reference information group set includes the first to-be-decoded information group ( Redundant information group) The corresponding basic information group, and the basic information group is not lost. Therefore, the first to-be-decoded information group can be discarded. Specifically, the data information of the first to-be-decoded information group is not continued to be analyzed, and the to-be-coded information group can also be deleted.
  • the first to-be-decoded information group corresponds to The basic information group is lost, and therefore, the data information of the first to-be-decoded information group needs to be parsed.
  • the method may further include: characterizing the first in the attribute information
  • the information group to be decoded is a basic message. In the case of a packet or a group, the first to-be-decoded message is parsed, and the reference information group of the group is constructed.
  • the method further includes: determining a second to-be-decoded information group in the to-be-decoded code stream; decoding the second to-be-decoded information group; and updating the reference information group set after decoding the second to-be-decoded information group.
  • the parsing the data information includes: if the location information of the reference information group in the updated reference information group set is different from the location information of the first to-be-decoded information group, parsing the Data information.
  • the method may further include: if the location information of the at least one reference information group in the updated reference information group set is the same as the location information of the first to-be-decoded information group, discarding the first The information group to be encoded.
  • the location information of the reference information group in the reference information group set is different from the location information of the first to-be-decoded information group
  • One or more information groups to be decoded thereby updating the reference information set.
  • the method for decoding the second to-be-decoded information group may refer to FIG. 3.
  • the number of the second to-be-coded information groups may be determined according to the actual scenario and the experience, and the embodiment of the present invention does not limit the number of times.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-referenceable state; and the first reference information group in the reference information group set
  • the location information is the same as the location information of the first to-be-decoded information group; in this case, if the location information of the at least one reference information group in the reference information group set and the location information of the first to-be-decoded information group The first to-be-decoded information group is discarded, and the first to-be-decoded information group is discarded if the reference state of the first reference information group is a referenceable state.
  • the method further includes: if the reference state of the first reference information group is an unreferenced state, parsing the data information.
  • the Reference states include: Remote reference state and close reference state.
  • the attribute information of the first to-be-decoded information group indicates that the first to-be-decoded information group is a redundant information group
  • the first to-be-decoded information group further includes the first a network abstraction layer unit type of the basic information group corresponding to the to-be-decoded information group; if the location information of the reference information group in the reference information group set is different from the location information of the first to-be-decoded information group, parsing the After the data information, the method further includes: replacing the network abstraction layer unit type with a network abstraction layer unit type of a basic information group corresponding to the first to-be-decoded information group.
  • the method may further include:
  • the network abstraction unit type performs a corresponding operation, for example, when the newly replaced network abstraction unit type is an IDR (Forced Refresh Frame) type, an operation of decoding the image buffer clearing or the like is performed.
  • IDR Formd Refresh Frame
  • the network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group is located in an edge information set of the first to-be-decoded information group.
  • the side information set may be a strip header.
  • the side information set may specifically be a slice header.
  • the network abstraction layer unit type of the first to-be-decoded information group is not an IRAP type.
  • the first to-be-decoded information group in the to-be-decoded code stream includes data information, attribute information, and location information of the first to-be-decoded information group; and the attribute information indicates the first to-be-decoded If the information group is a redundant information group, if the location information of the at least one reference information group in the reference information group set of the first to-be-decoded information group is the same as the location information of the first to-be-decoded information group, discarding the Or the first to-be-decoded information group; or, if the location information of the reference information group in the reference information group set of the first to-be-decoded information group is different from the location information of the first to-be-decoded information group, parsing the data information.
  • the first to-be-decoded information group may be a strip.
  • the basic stripe is not required to be decoded before the redundant strip corresponding to the basic stripe, that is, the basic stripe is required to correspond to the basic stripe.
  • the redundant strips are transmitted before, thus increasing the flexibility of the transmission.
  • the foregoing method for encoding and decoding is described by using a specific embodiment, where the information group to be encoded is a band; the location information of the information group to be encoded in the video sequence to be encoded is: POC of the information group to be encoded; The NALU type of the encoded information group is not of the IRAP type.
  • the information group to be decoded is a band; the location information of the information group to be decoded is the POC of the corresponding information group to be encoded; the NALU type of the information group to be decoded is not the IRAP type.
  • the redundant stripe includes the second to-be-coded data, and the location information of the redundant stripe is the same as the location information of the stripe to be encoded in the video sequence to be encoded.
  • the information generated after the first to-be-encoded data is encoded is the data information of the first stripe.
  • Step 403 may be performed before step 402, or after step 402, and may also be performed concurrently with step 402.
  • the POC of the redundant strip is the same as the POC of the first strip to be encoded.
  • the information generated after the encoding of the two to-be-encoded data is the data information of the second strip.
  • Step 404 may be performed before step 403, or may be performed after step 403, and may also be performed simultaneously with step 403.
  • each of the to-be-coded strips to be encoded in the video sequence to be encoded may be encoded according to the foregoing steps 401-404; or a part of the to-be-encoded strip in the video sequence to be encoded may be processed according to the foregoing steps 401-404.
  • the encoding is performed, and at the same time, the other to-be-encoded strips in the video sequence to be encoded are encoded according to the above steps 401 and 403.
  • the basic stripe is transmitted first and then the corresponding stripe corresponding to the basic stripe is transmitted; or before the packet transmission, information for characterizing the encoding order is added in the packet header, for example. Timestamps, etc. To ensure that the position of the basic stripe in the code stream to be decoded received by the decoder is before its corresponding redundant strip.
  • the decoding method 1 is as shown in FIG. 5, including:
  • step 505 If yes, go to step 505; if no, go to step 506.
  • step 507 is performed.
  • step 508 is performed.
  • step 501 is performed.
  • Decoding method 2 as shown in Figure 6, includes:
  • 601 Determine an i-th to-be-decoded stripe in the to-be-decoded stream, where the to-be-decoded stripe includes data information and a POC of the strip to be decoded; and the POC of the strip to be decoded is located in a stripe header.
  • DPB data where the DPB data includes 0, 1 or more reference strips, and each reference strip corresponds to a reference state, and the reference state includes a referenceable state and a non-referenced state.
  • 604 Determine whether the POC of the strip to be decoded is the same as the POC of at least one reference strip in the DPB data.
  • step 605 If yes, go to step 605; if no, go to step 607.
  • step 606 If yes, go to step 606; if no, go to step 607.
  • step 606 Discard the to-be-decoded strip. After step 606 is performed, step 608 is performed.
  • step 609 is performed.
  • step 601 is performed.
  • the method for encoding and decoding video data provided in this embodiment does not need to mark the to-be-encoded stripe as a basic stripe or a redundant stripe in the process of encoding the video data, so that the encoding efficiency can be improved.
  • Example 2
  • the redundant stripe includes the second to-be-coded data, and the location information of the redundant stripe is the same as the location information of the stripe to be encoded in the video sequence to be encoded.
  • the information generated after the first to-be-encoded data is encoded is the data information of the first stripe.
  • Step 703 may be performed before step 702, or after step 702, and may also be performed simultaneously with step 702.
  • Step 704 Encoding the second to-be-coded data, the POC of the redundant stripe, the attribute information of the second stripe, and the NALU type of the first stripe to generate a second stripe; the attribute information of the second stripe is located in the second The stripe's NALU header; the POC of the redundant stripe and the NALU type of the first strip are located in the stripe header of the second strip.
  • the attribute information of the second strip is used to represent the second strip as a redundant strip.
  • the POC of the redundant strip is the same as the POC of the first strip to be encoded.
  • the information generated after the second encoded data is encoded is the data information of the second strip.
  • Step 704 may be performed before step 703, or may be performed after step 703, and may also be performed simultaneously with step 703.
  • each of the to-be-encoded strips to be encoded may be encoded according to the foregoing steps 701-704; or some of the to-be-encoded strips in the video sequence to be encoded may be processed according to the foregoing steps 701-704.
  • the encoding is performed, and at the same time, the other to-be-encoded strips in the video sequence to be encoded are encoded according to the above steps 701 and 703.
  • the attribute information of the second strip is used as a type of NALU of the second strip, which is hereinafter referred to as a redundancy type (RDN_NUT). Therefore, the Step 704 is described as: encoding, for the second to-be-coded data, the POC of the redundant stripe, the NALU type of the second stripe, and the NALU type of the first stripe, where the NALU type of the second stripe is a redundancy type , used to characterize the second strip as a redundant strip.
  • RDN_NUT redundancy type
  • the redundancy type can be marked by a reserved word bit RS V-VCL24 in the NALU header.
  • Table 1 is a way to define the redundancy type.
  • the VCL refers to a video coding layer.
  • the following provides two methods for decoding video data at the decoding end after encoding according to the video data encoding method shown in FIG. 7. It should be noted that the reference information group in the following decoding method is DPB data.
  • the decoding method is as shown in FIG. 8, and includes:
  • the strip to be decoded includes data information and a POC of the strip to be decoded; if the strip to be decoded is a redundant strip, the strip to be decoded includes data
  • the information, the POC of the strip to be decoded, the NALU type of the strip to be decoded, and the NALU type of the basic stripe corresponding to the strip to be decoded, the NALU type of the strip to be decoded is a redundancy type, and is used to represent the to-be-decoded strip.
  • the strap is a redundant strip.
  • the POC of the to-be-decoded stripe is located in the stripe header; the NALU type (redundancy type) of the stripe to be decoded is located in the NALU header; the NALU type of the basic stripe corresponding to the stripe to be decoded (redundant stripe) Located in the strip head.
  • the strip to be decoded further includes the NALU type of the strip to be decoded (for example: IDR type, RASL type, etc., not redundant type and IRAP type).
  • NALU type of the strip to be decoded for example: IDR type, RASL type, etc., not redundant type and IRAP type.
  • step 804 is performed; if yes, step 805 is performed.
  • step 81 1 is performed.
  • step 807 Determine whether the POC of the strip to be decoded is the same as the POC of at least one reference strip in the DPB data. If yes, go to step 808; if no, go to step 810.
  • step 809 If yes, go to step 809; if no, go to step 810.
  • step 81 1 is performed.
  • the data information is used as the data information of the basic stripe corresponding to the strip to be decoded, parsing the data information, generating a new reference stripe; updating the DPB data according to the new reference strip; parsing the strip of the strip to be decoded Leading, obtaining the NALU type of the basic stripe corresponding to the stripe to be decoded (redundant stripe); replacing the NALU type of the basic stripe with the NALU type of the basic stripe corresponding to the stripe to be decoded; according to the basic strip The NALU type with the corresponding operation.
  • step 81 1 is performed.
  • step 812 is performed.
  • step 801 is performed.
  • the decoding method 2 is as shown in FIG. 8A, and includes:
  • 801A Determine the i-th to-be-decoded slice in the code stream to be decoded.
  • the strip to be decoded includes data information and a POC of the strip to be decoded; if the strip to be decoded is a redundant strip, the strip to be decoded includes data
  • the information, the POC of the strip to be decoded, the NALU type of the strip to be decoded, and the NALU type of the basic stripe corresponding to the strip to be decoded, the NALU type of the strip to be decoded is a redundancy type, and is used to represent the to-be-decoded strip.
  • the strap is a redundant strip.
  • the POC of the strip to be decoded is located in the strip header;
  • the NALU type (redundancy type) of the strip to be decoded is located in the NALU header;
  • the basic strip corresponding to the strip to be decoded redundant strip
  • the NALU type is located in the strip header.
  • the strip to be decoded further includes the NALU type of the strip to be decoded (for example: IDR type, RASL type, etc., not redundant type and IRAP type).
  • NALU type of the strip to be decoded for example: IDR type, RASL type, etc., not redundant type and IRAP type.
  • 802A Parses the NALU header of the strip to be decoded, and obtains the NALU type of the strip to be decoded.
  • step 804A is performed; if yes, step 805A is performed.
  • step 810A is performed.
  • 805A Parse the strip header of the strip to be decoded to obtain the POC of the strip to be decoded.
  • 806A Obtain DPB data, where the DPB data contains 0, 1 or more reference strips.
  • 807A Determine whether the POC of the strip to be decoded is the same as the POC of at least one reference strip in the DPB data.
  • step 808A If yes, go to step 808A; if no, go to step 809A.
  • 808A Discard the to-be-decoded strip.
  • step 810A is performed.
  • step 810A is performed.
  • step 81 1 A If yes, it ends. If no, go to step 81 1 A.
  • step 801 A is performed.
  • the video data encoding and decoding method provided in this embodiment does not require the basic stripe to be decoded before the redundant stripe corresponding to the basic stripe, that is, the basic stripe is not required to be redundant in the basic stripe.
  • the strip is transmitted before, so the flexibility of transmission can be improved.
  • a video data encoding apparatus 9 for performing the video data encoding method shown in FIG. 1 is provided.
  • the apparatus 9 includes:
  • a determining unit 91 configured to determine a to-be-encoded information group in the video sequence to be encoded; the to-be-encoded information group includes first to-be-encoded data;
  • a generating unit 92 configured to generate a redundant information group corresponding to the to-be-encoded information group; the redundant information group includes second to-be-encoded data, location information of the redundant information group, and the to-be-coded information group The location information in the video sequence to be encoded is the same;
  • a first encoding unit 93 configured to encode the first to-be-encoded data and the location information to generate a first information group
  • the second encoding unit 94 is configured to encode the second to-be-encoded data and the location information to generate a second information group.
  • the second encoding unit 94 is configured to: when the first information group is included in the reference information group set, encode the second to-be-encoded data and the location information, to generate second information.
  • the reference information group refers to a group of information generated after encoding the information group to be encoded in the video sequence to be encoded.
  • the first coding unit 93 is configured to: encode the first to-be-encoded data, the location information, and attribute information of the first information group to generate the first information group;
  • the attribute information of a packet is used to characterize the first packet as a basic packet.
  • the attribute information of the first information group is located in a network abstraction layer unit header of the first information group.
  • the second coding unit 94 is specifically configured to: perform, to the second to-be-coded data, the location information, the attribute information of the second information group, and the network abstraction layer unit type of the first information group. Encoding, generating the second information group; the attribute information of the second information group is used to represent the second information group as a redundant information group.
  • the attribute information of the second information group is located in a network abstraction layer unit header of the second information group.
  • the network abstraction layer unit type of the first information group is located in a side information set of the second information group.
  • the location information includes: a display location of the to-be-coded information group in the to-be-coded video sequence, or an encoding location of the to-be-encoded information group in the to-be-coded video sequence.
  • the to-be-coded information group is one of the following video coding units: an image, a strip, a slice, or a frame.
  • the generating unit 92 includes:
  • a determining sub-unit 92 1 configured to determine information to be referenced in the to-be-coded information group; the to-be-referenced information refers to information to be referenced by other to-be-encoded messages in the to-be-encoded video sequence;
  • the generating subunit 922 is configured to generate a redundant information group corresponding to the to-be-referenced information.
  • the network abstraction layer unit type of the first information group is not an IRAP type.
  • the device for encoding video data generates a redundant information group corresponding to the to-be-encoded information group and includes the second to-be-encoded data, and the first to-be-encoded data and the to-be-coded information group included in the to-be-coded information group Encoding the location information in the video sequence to be encoded to generate a first information group; encoding the second to-be-encoded data and the location information of the redundant information group to generate a second information group, where the location information of the redundant information group The same as the location information of the packet to be encoded.
  • a device for encoding video data 9 for performing the method for encoding video data shown in FIG. 1 according to an embodiment of the present invention.
  • the device 9 includes:
  • Memory 1 1 A and processor 1 1 B wherein
  • the memory 1 1 A is used to store a set of codes for controlling the processor 1 1 B to perform the following actions:
  • the to-be-encoded information group includes first to-be-encoded data
  • the redundant information group includes second to-be-encoded data, location information of the redundant information group, and the to-be-coded information group in the to-be-coded video
  • the location information in the sequence is the same;
  • the second data to be encoded and the location information are encoded to generate a second information group.
  • the processor 1 1 B is specifically configured to: when the reference information set includes the And encoding, by the second information group, the second to-be-encoded data and the location information to generate a second information group; the reference information group set is formed by a reference information group, where the reference information group refers to coding the to-be-coded A group of information generated after the group of information to be encoded in the video sequence.
  • the processor 1 1 B is configured to: encode the first to-be-coded data, the location information, and attribute information of the first information group to generate the first information group;
  • the attribute information of the group is used to characterize the first information group as a basic information group.
  • the attribute information of the first information group is located in a network abstraction layer unit header of the first information group.
  • the processor 1 1 B is specifically configured to: encode the second to-be-coded data, the location information, attribute information of the second information group, and a network abstraction layer unit type of the first information group, where Generating the second information group; the attribute information of the second information group is used to represent the second information group as a redundant information group.
  • the attribute information of the second information group is located in a network abstraction layer unit header of the second information group.
  • the network abstraction layer unit type of the first information group is located in a side information set of the second information group.
  • the location information includes: a display location of the to-be-coded information group in the to-be-coded video sequence, or an encoding location of the to-be-encoded information group in the to-be-coded video sequence.
  • the to-be-coded information group is one of the following video coding units: an image, a strip, a slice, or a frame.
  • the processor 1 1 B is specifically configured to determine information to be referenced in the to-be-coded information group; the to-be-referenced information refers to information to be referenced by other to-be-coded information groups in the to-be-coded video sequence. Generating a redundant information group corresponding to the information to be referenced.
  • the network abstraction layer unit type of the first information group is not an IRAP class. Type.
  • the device for encoding video data generates a redundant information group corresponding to the to-be-encoded information group and includes the second to-be-encoded data, and the first to-be-encoded data and the to-be-coded information group included in the to-be-coded information group Encoding the location information in the video sequence to be encoded to generate a first information group; encoding the second to-be-encoded data and the location information of the redundant information group to generate a second information group, where the location information of the redundant information group The same as the location information of the packet to be encoded.
  • a device 12 for decoding video data is configured to perform the method for decoding video data shown in FIG. 2.
  • the device 12 includes: a determining unit 12A, configured to determine to be decoded. a to-be-decoded information group and a reference information group set in the code stream; the to-be-decoded information group includes data information and the to-be-decoded information, ⁇ , group location information; the to-be-decoded code stream includes a basic information group and a redundant information group corresponding to the basic information group, where a location of the basic information group in the to-be-decoded code stream precedes the redundant information group; and the information group to be decoded is a basic information group or redundant information
  • the reference information group set is composed of a reference information group, and the reference information group refers to the information group generated after parsing the data information of the to-be-decoded information group in the to-be-decoded code stream;
  • the first processing unit 12B is configured to discard the to-be-decoded information group if the location information of the at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group; or
  • the second processing unit 12C is configured to parse the data information if the location information of the reference information group in the reference information group set is different from the location information of the group to be decoded.
  • first processing unit 12B and the second processing unit The elements 12C can exist at the same time, and FIG. 12 is described by taking them as an example.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-reference state; and location information and location information of the first reference information group in the reference information group set. Describe the decoded letter, the location letter of the group, the same;
  • the first processing unit 12B is specifically configured to: if the reference state of the first reference information group is a referenceable state, discard the to-be-decoded information group.
  • the first processing unit 12B is further configured to: if the reference state of the first reference information group is an unreferenceable state, parse the data information.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the to-be-decoded information group is not an IRAP type.
  • a to-be-decoded information group in the to-be-decoded code stream includes a data message, a packet, and a location information of the to-be-decoded packet, a packet, and a group; if the reference information of the to-be-decoded information group If the location information of the at least one reference information group in the group set is the same as the location information of the to-be-decoded information group, the information group to be decoded is discarded; or, if the reference information group in the reference information group set of the information group to be decoded is The location information is the same as the location information of the to-be-decoded packet, and the data information is parsed.
  • the first to-be-decoded information group may be a band.
  • a device for decoding video data As shown in FIG. 13, a device for decoding video data according to an embodiment of the present invention is provided. 12, a method for performing the decoding of the video data shown in FIG. 2, the device 12 includes: a memory 13A and a processor 13B, where
  • the memory 13A is for storing a set of codes for controlling the processor 13B to perform the following actions:
  • the to-be-decoded information group includes data information and location information of the to-be-decoded information group;
  • the to-be-decoded code stream includes a basic information group and a redundant information group corresponding to the basic information group, where a location of the basic information group in the to-be-decoded code stream precedes the redundant information group; and
  • the information group to be decoded is a basic information group or redundant information
  • the reference information group set is composed of a reference information group, and the reference information group refers to the information group generated after parsing the data information of the to-be-decoded information group in the to-be-decoded code stream;
  • the location information of the at least one reference information group in the reference information group set is the same as the location information of the to-be-decoded information group, discarding the to-be-decoded information group; or, if in the reference information group set The location information of the reference information group is different from the location information of the information group to be decoded, and the data information is parsed.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-reference state; and location information and location information of the first reference information group in the reference information group set. Describe the decoded letter, the location letter of the group, the same;
  • the processor 13B is specifically configured to discard the to-be-decoded information group if the reference state of the first reference information group is a referenceable state.
  • the processor 13B is further configured to parse the data information if the reference state of the first reference information group is an unreferenceable state.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the to-be-decoded information group is not an IRAP type.
  • a to-be-decoded information group in the to-be-decoded code stream includes a data message, a packet, and a location information of the to-be-decoded packet, a packet, and a group; if the reference information of the to-be-decoded information group If the location information of the at least one reference information group in the group set is the same as the location information of the to-be-decoded information group, the information group to be decoded is discarded; or, if the reference information group in the reference information group set of the information group to be decoded is The location information is the same as the location information of the to-be-decoded packet, and the data information is parsed.
  • the first to-be-decoded information group may be a band.
  • a video data decoding apparatus 14 is provided for performing the video data decoding method shown in FIG. 3, and the apparatus 14 includes: a determining unit 14A, configured to determine to be decoded. a first to-be-decoded information group in the code stream; the first to-be-decoded information group includes data information, a category information, and location information of the first to-be-decoded information group, where the attribute information is used to represent the The first to-be-decoded information group is a basic information group or a redundant information group;
  • the reference information group set is formed by a reference information group, and the reference information group refers to an analysis station. Deriving the information to be decoded in the decoded code stream, the data information of the group, and the generated information group;
  • the first processing unit 14B is configured to discard the first to-be-decoded information group if the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group ;
  • the second processing unit 14C is configured to: if the parameter in the reference information set is The location information of the test information group is different from the location information of the first to-be-decoded information group, and the data information is parsed.
  • first processing unit 14B and the second processing unit 14C may exist at the same time, and FIG. 14 is described by taking them as an example.
  • the determining unit 14A is further configured to: determine a second to-be-decoded information group in the to-be-decoded code stream;
  • the device further includes: a decoding unit 14D, configured to decode the second to-be-decoded information group;
  • the updating unit 14E is configured to update the reference information set after decoding the second to-be-decoded information group
  • the second processing unit 14C is specifically configured to: if the location information of the reference information group in the updated reference information group set is different from the location information of the first to-be-decoded information group, parsing the data information .
  • the second processing unit 14C is further configured to: if the location information of the at least one reference information group in the updated reference information group set is the same as the location information of the first to-be-decoded information group, Discarding the first to-be-coded information group.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-reference state; and location information and location information of the first reference information group in the reference information group set.
  • the location information of the first to-be-decoded information group is the same;
  • the first processing unit 14B is specifically configured to discard the first to-be-decoded information group if the reference state of the first reference information group is a referenceable state.
  • the first processing unit 14B is further configured to: if the reference state of the first reference information group is an unreferenced state, parse the data information.
  • the attribute information of the first to-be-decoded information group is located in a network abstraction layer unit header of the first to-be-decoded information group.
  • the referenceable state includes: a long-distance reference state and a close distance parameter Test status.
  • the attribute information of the first to-be-decoded information group indicates that the first to-be-decoded information group is a redundant information group, and the first to-be-decoded information group further includes a first to-be-decoded information group.
  • the apparatus when the apparatus includes the second processing unit 14C, the apparatus further includes:
  • the replacing unit 14F is configured to replace the network abstraction layer unit type with a network abstraction layer unit type of a basic information group corresponding to the first to-be-decoded information group.
  • the network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group is located in an edge information set of the first to-be-decoded information group.
  • the first to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the first to-be-decoded information group is not an IRAP type.
  • the first to-be-decoded information group in the to-be-decoded code stream includes data information, attribute information, and location information of the first to-be-decoded information group; and the attribute information indicates the first to-be-decoded If the information group is a redundant information group, if the location information of the at least one reference information group in the reference information group set of the first to-be-decoded information group is the same as the location information of the first to-be-decoded information group, discarding the Or the first to-be-decoded information group; or, if the location information of the reference information group in the reference information group set of the first to-be-decoded information group is different from the location information of the first to-be-decoded information group, parsing the data information.
  • the first to-be-decoded information group may be a strip.
  • the basic stripe is not required to be decoded before the redundant strip corresponding to the basic stripe, that is, the basic stripe is required to be in the basic stripe.
  • the transmission is carried out with the corresponding redundant strips, thus increasing the flexibility of the transmission.
  • a device for decoding video data is used to perform the method for decoding video data shown in FIG. 3.
  • the device 14 includes: a memory 16A and a processor 16B, where
  • the memory 16A is for storing a set of codes for controlling the processor 16B to perform the following actions:
  • the first to-be-decoded information group includes data information, attribute information, and location information of the first to-be-decoded information group, where the attribute information is used to represent the
  • the first to-be-decoded information group is a basic information group or a redundant information group;
  • the reference information group set is formed by a reference information group, and the reference information group refers to an analysis station. Deriving the information to be decoded in the decoded code stream, the data information of the group, and the generated information group;
  • the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group, discarding the first to-be-decoded information group;
  • the location information of the reference information group in the reference information group set is different from the location information of the first to-be-decoded information group, parsing the data information.
  • the processor 16B further performs the following actions:
  • the processor 16B Updating the reference information set after decoding the second to-be-decoded information group; the processor 16B is specifically configured to: if the location information of the reference information group in the updated reference information set is the first The location information of the to-be-decoded information group is different. Then parse the data information.
  • the processor 16B is further configured to: if the location information of the at least one reference information group in the updated reference information group set is the same as the location information of the first to-be-decoded information group, discarding the The first group of information to be encoded.
  • the reference information group in the reference information group set includes a reference state, where the reference state includes a referenceable state and a non-reference state; and location information and location information of the first reference information group in the reference information group set.
  • the location information of the first to-be-decoded information group is the same;
  • the processor 16B is specifically configured to: if the location information of the at least one reference information group in the reference information group set is the same as the location information of the first to-be-decoded information group, if the reference state of the first reference information group is referenced The state, the first to-be-decoded information group is discarded.
  • the reference state of the first reference information group is a non-reference state, parsing the data information.
  • the attribute information of the first to-be-decoded information group is located in a network abstraction layer unit header of the first to-be-decoded information group.
  • the referenceable state includes: a remote reference state and a close reference state.
  • the attribute information of the first to-be-decoded information group indicates that the first to-be-decoded information group is a redundant information group, and the first to-be-decoded information group further includes a first to-be-decoded information group.
  • the processor 16B is further configured to replace the network abstraction layer unit type with the location The network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group.
  • the network abstraction layer unit type of the basic information group corresponding to the first to-be-decoded information group is located in an edge information set of the first to-be-decoded information group.
  • the first to-be-decoded information group is one of the following video decoding units: an image, a strip, a slice, or a frame.
  • the network abstraction layer unit type of the first to-be-decoded information group is not
  • the first to-be-decoded information group in the to-be-decoded code stream includes data information, attribute information, and location information of the first to-be-decoded information group; and the attribute information indicates the first to-be-decoded If the information group is a redundant information group, if the location information of the at least one reference information group in the reference information group set of the first to-be-decoded information group is the same as the location information of the first to-be-decoded information group, discarding the Or the first to-be-decoded information group; or, if the location information of the reference information group in the reference information group set of the first to-be-decoded information group is different from the location information of the first to-be-decoded information group, parsing the data information.
  • the first to-be-decoded information group may be a strip.
  • the basic stripe is not required to be decoded before the redundant strip corresponding to the basic stripe, that is, the basic stripe is required to be in the basic stripe.
  • the transmission is carried out with the corresponding redundant strips, thus increasing the flexibility of the transmission.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, It can be electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, and may be located in one place or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the software functional unit described above is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明公开了一种视频数据编码、解码的方法和装置,涉及编码解码技术领域,能够提高编码效率,或者提高传输的灵活性。本发明提供的解码方法包括:确定待解码码流中的第一待解码信息组;第一待解码信息组包含数据信息、属性信息和第一待解码信息组的位置信息;在属性信息表征第一待解码信息组为冗余信息组的情况下,确定参考信息组集合;若参考信息组集合中的至少一个参考信息组的位置信息与第一待解码信息组的位置信息相同,则丢弃第一待解码信息组;或者,若参考信息组集合中的参考信息组的位置信息均与第一待解码信息组的位置信息不同,则解析数据信息。

Description

一种视频数据编码、 解码的方法和装置
技术领域
本发明涉及编码解码术领域, 尤其涉及一种视频数据编码、 解 码的方法和装置。 背景技术
在视讯通信系统中, 一般使用 RTP ( Real-time Transport Protocol , 实 时传输协议)对视频数据进行编码, 生成 RTP数据包; 再使用 UDP ( User Datagram Protocol , 用户数据报协议) 传输 RTP数据包。 其中, 视频由多 个图像构成, 一个图像由至少一个条带构成。 但是, UDP是非可靠的传输 协议, 在传输过程中, 当网络阻塞时, 容易出现丟包, 从而影响解码端重 构的视频的质量。 为了解决上述问题, 可以在视频数据的编码过程中引入冗余图像技 术。 具体可以包括: 在视频数据的编码过程中, 产生与基本条带对应的一 个或者多个冗余条带;将基本条带和冗余条带封装到不同的分组进行传输; 其中图像由至少一个条带构成。 这样, 解码端可以通过以下方法进行解码: 解析当前条带的条带头, 得到当前条带的属性信息, 当前条带的属性信息 用于表征当前条带为基本条带或者冗余条带; 若当前条带为冗余条带且当 前条带对应的基本条带为正常条带 (即未丟包条带) , 则丟弃当前条带; 若当前条带为冗余条带且当前条带对应的基本条带为非正常条带 (即已丟 包条带) , 则拷贝该基本条带的条带头信息至当前条带头, 并继续解析当 前条带的其他信息, 从而使用冗余条带重构视频。
上述解码方法既要求基本条带在与该基本条带对应的冗余条带之前 解码, 这就需要基本条带在与该基本条带对应的冗余条带之前传输, 从而 导致传输灵活性差; 又要求在视频数据的编码过程中标记一条带为基本条 带或者冗余条带, 这样, 导致编码效率低。 发明内容
本发明实施例提供的视频数据编码、 解码的方法和装置, 能够 提高编码效率, 或者传输灵活性差。
为达到上述目的, 本发明的实施例采用如下技术方案: 第一方面, 提供一种视频数据编码的方法, 包括:
确定待编码视频序列中的一待编码信息组;所述待编码信息组 包含第一待编码数据;
生成与所述待编码信息组对应的冗余信息组;所述冗余信息组 包含第二待编码数据,所述冗余信息组的位置信息与所述待编码信 息组在所述待编码视频序列中的位置信息相同;
对所述第一待编码数据和所述位置信息进行编码,生成第一信 息组;
对所述第二待编码数据和所述位置信息进行编码,生成第二信 息组。
结合第一方面, 在第一种可能的实现方式中, 所述对所述第二 待编码数据和所述位置信息进行编码, 生成第二信息组, 包括: 当参考信息组集合中包含所述第一信息组时,对所述第二待编 码数据和所述位置信息进行编码, 生成第二信息组; 所述参考信息 组集合由参考信息组构成,参考信息组是指编码所述待编码视频序 列中的待编码信息组之后生成的信息组。
结合第一方面, 在第二种可能的实现方式中, 所述对所述第一 待编码数据和所述位置信息进行编码, 生成第一信息组, 包括: 对所述第一待编码数据、所述位置信息和第一信, 、组的属' f生信 息进行编码, 生成所述第一信息组; 所述第一信息组的属性信息用 于表征所述第一信息组为基本信息组。
结合第一方面的第二种可能的实现方式,在第三种可能的实现 方式中,所述第一信息组的属性信息位于所述第一信息组的网络抽 象层单元头中。
结合第一方面, 在第四种可能的实现方式中, 所述对所述第二 待编码数据和所述位置信息进行编码, 生成第二信息组, 包括: 对所述第二待编码数据、 所述位置信息、 第二信息组的属性信 息和所述第一信息组的网络抽象层单元类型进行编码,生成所述第 二信息组;所述第二信息组的属性信息用于表征所述第二信息组为 冗余信息组。
结合第一方面的第四种可能的实现方式,在第五种可能的实现 方式中,所述第二信息组的属性信息位于所述第二信息组的网络抽 象层单元头中。
结合第一方面的第四种可能的实现方式或者第五种可能的实 现方式, 在第六种可能的实现方式中, 所述第一信息组的网络抽象 层单元类型位于所述第二信息组的边信息集合中。
结合第一方面, 在第七种可能的实现方式中, 所述位置信息包 括: 所述待编码信息组在所述待编码视频序列中的显示位置, 或者 所述待编码信息组在所述待编码视频序列中的编码位置。
结合第一方面, 在第八种可能的实现方式中, 所述待编码信息 组为以下视频编码单位之一: 图像、 条带、 片或者帧。
结合第一方面, 在第九种可能的实现方式中, 所述生成与所述 待编码信息组对应的冗余信息组, 包括:
确定所述待编码信息组中的待参考信息;所述待参考信息是指 被所述待编码视频序列中的其他待编码信息组参考的信息;
生成与所述待参考信息对应的冗余信息组。
结合第一方面, 在第十种可能的实现方式中, 所述第一信息组 的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
第二方面, 提供一种视频数据解码的方法, 包括: 确定待解码码流中的一待解码信息组以及参考信息组集合;所 述待解码信息组包含数据信息和所述待解码信息组的位置信息;所 述待解码码流包含基本信息组和与所述基本信息组对应的冗余信 息组,所述基本信息组在所述待解码码流中的位置在所述冗余信息 组之前; 所述待解码信息组为基本信息组或者冗余信息组; 所述参 考信息组集合由参考信息组构成,参考信息组是指解析所述待解码 码流中的待解码信息组的数据信息之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息 与所述待解码信息组的位置信息相同, 则丟弃所述待解码信息组; 或者,若所述参考信息组集合中的参考信息组的位置信息均与 所述待解码信息组的位置信息不同, 则解析所述数据信息。
结合第二方面, 在第一种可能的实现方式中, 所述参考信息组 集合中的参考信息组包含参考状态,所述参考状态包括可参考状态 和不可参考状态;所述参考信息组集合中的第一参考信息组的位置 信息与所述待解码信息组的位置信息相同;
若所述参考信息组集合中的至少一个参考信息组的位置信息 与所述待解码信息组的位置信息相同, 则丟弃所述待解码信息组, 包括:
若所述第一参考信息组的参考状态为可参考状态,则丟弃所述 待解码信息组。
结合第二方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述方法还包括:
若所述第一参考信息组的参考状态为不可参考状态,则解析所 述数据信息。
结合第二方面的第一种可能的实现方式,在第三种可能的实现 方式中, 所述可参考状态包括: 远距离可参考状态和近距离参考状 态。 结合第二方面, 在第四种可能的实现方式中, 所述待解码信息 组为以下视频解码单位之一: 图像、 条带、 片或者帧。
结合第二方面, 在第五种可能的实现方式中, 所述待解码信息 组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
第三方面, 提供一种视频数据解码的方法, 包括:
确定待解码码流中的第一待解码信息组;所述第一待解码信息 组包含数据信息、 属性信息和所述第一待解码信息组的位置信息, 所述属性信息用于表征所述第一待解码信息组为基本信息组或者 冗余信息组;
在所述属性信息表征所述第一待解码信息组为冗余信息组的 情况下, 确定参考信息组集合; 所述参考信息组集合由参考信息组 构成,参考信息组是指解析所述待解码码流中的待解码信 , I,组的数 据信息之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息 与所述第一待解码信息组的位置信息相同,则丟弃所述第一待解码 信息组; 或者, 若所述参考信息组集合中的参考信息组的位置信息 均与所述第一待解码信息组的位置信息不同, 则解析所述数据信 息。
结合第三方面, 在第一种可能的实现方式中, 所述若参考信息 组集合中的参考信息组的位置信息均与所述第一待解码信 , 组的 位置信息不同, 在解析所述数据信息之前, 所述方法还包括:
确定所述待解码码流中的第二待解码信息组;
解码所述第二待解码信息组;
在解码所述第二待解码信息组之后更新所述参考信息组集合; 所述解析所述数据信息, 包括:
若所述更新后的参考信息组集合中的参考信息组的位置信息 均与所述第一待解码信息组的位置信息不同, 则解析所述数据信 息。
结合第三方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述方法还包括:
若所述更新后的参考信息组集合中的至少一个参考信息组的 位置信息与所述第一待解码信息组的位置信息相同,则丟弃所述第 一待编码信息组。
结合第三方面, 在第三种可能的实现方式中, 所述参考信息组 集合中的参考信息组包含参考状态,所述参考状态包括可参考状态 和不可参考状态;所述参考信息组集合中的第一参考信息组的位置 信息与所述第一待解码信息组的位置信息相同;
若参考信息组集合中的至少一个参考信息组的位置信息与所 述第一待解码信息组的位置信息相同,则丟弃所述第一待解码信息 组, 包括:
若第一参考信息组的参考状态为可参考状态,则丟弃所述第一 待解码信息组。
结合第三方面的第三种可能的实现方式,在第四种可能的实现 方式中, 所述方法还包括:
若所述第一参考信息组的参考状态为不可参考状态,则解析所 述数据信息。
结合第三方面, 在第五种可能的实现方式中, 所述第一待解码 信息组的属性信息位于所述第一待解码信息组的网络抽象层单元 头中。
结合第三方面的第三种可能的实现方式,在第六种可能的实现 方式中, 所述可参考状态包括: 远距离可参考状态和近距离参考状 态。
结合第三方面、第三方面的第一种可能的实现方式至第六种可 能的实现方式任一种, 在第七种可能的实现方式中, 所述第一待解 码信息组的属性信息表征所述第一待解码信息组为冗余信息组,所 述第一待解码信息组还包含与所述第一待解码信息组对应的基本 信息组的网络抽象层单元类型;
在参考信息组集合中的参考信息组的位置信息均与所述第一 待解码信息组的位置信息不同的情况下, 解析所述数据信息之后, 所述方法还包括:
将所述网络抽象层单元类型替换为与所述第一待解码信息组 对应的基本信息组的网络抽象层单元类型。
结合第三方面的第七种可能的实现方式,在第八种可能的实现 方式中,与所述第一待解码信息组对应的基本信息组的网络抽象层 单元类型位于所述第一待解码信息组的边信息集合中。
结合第三方面, 在第九种可能的实现方式中, 所述第一待解码 信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
结合第三方面, 在第十种可能的实现方式中, 所述第一待解码 信息组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
第四方面, 提供一种视频数据编码的装置, 包括:
确定单元, 用于确定待编码视频序列中的一待编码信息组; 所 述待编码信息组包含第一待编码数据;
生成单元, 用于生成与所述待编码信息组对应的冗余信息组; 所述冗余信息组包含第二待编码数据,所述冗余信息组的位置信, 与所述待编码信息组在所述待编码视频序列中的位置信息相同; 第一编码单元,用于对所述第一待编码数据和所述位置信息进 行编码, 生成第一信息组;
第二编码单元,用于对所述第二待编码数据和所述位置信息进 行编码, 生成第二信息组。
结合第四方面, 在第一种可能的实现方式中, 所述第二编码单 元具体用于, 当参考信息组集合中包含所述第一信息组时, 对所述 第二待编码数据和所述位置信息进行编码, 生成第二信息组; 所述 参考信息组集合由参考信息组构成,参考信息组是指编码所述待编 码视频序列中的待编码信息组之后生成的信息组。
结合第四方面, 在第二种可能的实现方式中, 所述第一编码单 元具体用于, 对所述第一待编码数据、 所述位置信息和第一信息组 的属性信息进行编码, 生成所述第一信息组; 所述第一信息组的属 性信息用于表征所述第一信息组为基本信息组。
结合第四方面的第二种可能的实现方式,在第三种可能的实现 方式中,所述第一信息组的属性信息位于所述第一信息组的网络抽 象层单元头中。
结合第四方面, 在第四种可能的实现方式中, 所述第二编码单 元具体用于, 对所述第二待编码数据、 所述位置信息、 第二信息组 的属性信息和所述第一信息组的网络抽象层单元类型进行编码,生 成所述第二信息组;所述第二信息组的属性信息用于表征所述第二 信息组为冗余信息组。
结合第四方面的第四种可能的实现方式,在第五种可能的实现 方式中,所述第二信息组的属性信息位于所述第二信息组的网络抽 象层单元头中。
结合第四方面的第四种可能的实现方式或者第五种可能的实 现方式, 在第六种可能的实现方式中, 所述第一信息组的网络抽象 层单元类型位于所述第二信息组的边信息集合中。
结合第四方面, 在第七种可能的实现方式中, 所述位置信息包 括: 所述待编码信息组在所述待编码视频序列中的显示位置, 或者 所述待编码信息组在所述待编码视频序列中的编码位置。
结合第四方面, 在第八种可能的实现方式中, 所述待编码信息 组为以下视频编码单位之一: 图像、 条带、 片或者帧。
结合第四方面, 在第九种可能的实现方式中, 所述生成单元包 括:
确定子单元, 用于确定所述待编码信息组中的待参考信息; 所 述待参考信息是指被所述待编码视频序列中的其他待编码信 , 组 参考的信息;
生成子单元, 用于生成与所述待参考信息对应的冗余信息组。 结合第四方面, 在第十种可能的实现方式中, 所述第一信息组 的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
第五方面, 提供一种视频数据解码的装置, 包括:
确定单元,用于确定待解码码流中的一待解码信息组以及参考 信息组集合;所述待解码信息组包含数据信 , 和所述待解码信 , 组 的位置信息;所述待解码码流包含基本信息组和与所述基本信息组 对应的冗余信息组,所述基本信息组在所述待解码码流中的位置在 所述冗余信息组之前;所述待解码信息组为基本信息组或者冗余信 息组; 所述参考信息组集合由参考信息组构成, 参考信息组是指解 析所述待解码码流中的待解码信息组的数据信息之后,生成的信息 组;
第一处理单元,用于若所述参考信息组集合中的至少一个参考 信息组的位置信息与所述待解码信息组的位置信息相同,则丟弃所 述待解码信息组; 或者, 第二处理单元, 用于若所述参考信息组集 合中的参考信息组的位置信, 均与所述待解码信 , 组的位置信, 不同, 则解析所述数据信息。
结合第五方面, 在第一种可能的实现方式中, 所述参考信息组 集合中的参考信息组包含参考状态,所述参考状态包括可参考状态 和不可参考状态;所述参考信息组集合中的第一参考信息组的位置 信息与所述待解码信息组的位置信息相同;
所述第一处理单元具体用于,若所述第一参考信息组的参考状 态为可参考状态, 则丟弃所述待解码信息组。 结合第五方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述第一处理单元还用于, 若所述第一参考信息组的参考 状态为不可参考状态, 则解析所述数据信息。
结合第五方面的第一种可能的实现方式,在第三种可能的实现 方式中, 所述可参考状态包括: 远距离可参考状态和近距离参考状 态。
结合第五方面, 在第四种可能的实现方式中, 所述待解码信息 组为以下视频解码单位之一: 图像、 条带、 片或者帧。
结合第五方面, 在第五种可能的实现方式中, 所述待解码信息 组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
第六方面, 提供一种视频数据解码的装置, 包括:
确定单元, 用于确定待解码码流中的第一待解码信息组; 所述 第一待解码信息组包含数据信息、属性信息和所述第一待解码信息 组的位置信息,所述属性信息用于表征所述第一待解码信息组为基 本信息组或者冗余信息组;
以及,在所述属性信息表征所述第一待解码信息组为冗余信息 组的情况下, 确定参考信息组集合; 所述参考信息组集合由参考信 息组构成,参考信息组是指解析所述待解码码流中的待解码信 , 、组 的数据信息之后, 生成的信息组;
第一处理单元,用于若所述参考信息组集合中的至少一个参考 信息组的位置信息与所述第一待解码信息组的位置信息相同,则丟 弃所述第一待解码信息组;
或者, 第二处理单元, 用于若所述参考信息组集合中的参考信 息组的位置信息均与所述第一待解码信息组的位置信息不同,则解 析所述数据信息。
结合第六方面, 在第一种可能的实现方式中, 当所述装置包括 上述第二处理单元时, 所述确定单元还用于, 确定所述待解码码流 中的第二待解码信息组;
所述装置还包括:解码单元,用于解码所述第二待解码信息组; 更新单元,用于在解码所述第二待解码信息组之后更新所述参 考信息组集合;
所述第二处理单元具体用于,若所述更新后的参考信息组集合 中的参考信息组的位置信息均与所述第一待解码信息组的位置信 息不同, 则解析所述数据信息。
结合第六方面的第一种可能的实现方式,在第二种可能的实现 方式中, 所述第二处理单元还用于, 若所述更新后的参考信息组集 合中的至少一个参考信息组的位置信息与所述第一待解码信息组 的位置信息相同, 则丟弃所述第一待编码信息组。
结合第六方面, 在第三种可能的实现方式中, 所述参考信息组 集合中的参考信息组包含参考状态,所述参考状态包括可参考状态 和不可参考状态;所述参考信息组集合中的第一参考信息组的位置 信息与所述第一待解码信息组的位置信息相同;
所述第一处理单元具体用于,若第一参考信息组的参考状态为 可参考状态, 则丟弃所述第一待解码信息组。
结合第六方面的第三种可能的实现方式,在第四种可能的实现 方式中, 所述第一处理单元还用于, 若所述第一参考信息组的参考 状态为不可参考状态, 则解析所述数据信息。
结合第六方面, 在第五种可能的实现方式中, 所述第一待解码 信息组的属性信息位于所述第一待解码信息组的网络抽象层单元 头中。
结合第六方面的第三种可能的实现方式,在第六种可能的实现 方式中, 所述可参考状态包括: 远距离可参考状态和近距离参考状 态。
结合第六方面、第六方面的第一种可能的实现方式至第六种可 能的实现方式任一种, 在第七种可能的实现方式中, 所述第一待解 码信息组的属性信息表征所述第一待解码信息组为冗余信息组,所 述第一待解码信息组还包含与所述第一待解码信息组对应的基本 信息组的网络抽象层单元类型;
当所述装置包括所述第二处理单元时, 所述装置还包括: 替换单元,用于将所述网络抽象层单元类型替换为与所述第一 待解码信息组对应的基本信息组的网络抽象层单元类型。
结合第六方面的第七种可能的实现方式,在第八种可能的实现 方式中,与所述第一待解码信息组对应的基本信息组的网络抽象层 单元类型位于所述第一待解码信息组的边信息集合中。
结合第六方面, 在第九种可能的实现方式中, 所述第一待解码 信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
结合第六方面, 在第十种可能的实现方式中, 所述第一待解码 信息组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
上述方案的编码方法和编码装置,不需要标记第一信息组和第 二信息组的属性信息, 因此能够提到编码效率。 上述方案的解码方 法和解码装置,不需要在视频数据的编码的过程中标记条带为基本 条带或者冗余条带, 因此能够提高编码效率; 或者, 不需要基本条 带在与该基本条带对应的冗余条带之前解码,也就是说需要基本条 带在与该基本条带对应的冗余条带之前传输, 因此能够提高传输的 灵活性。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于 本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以 根据这些附图获得其他的附图。 图 1 为本发明实施例一提供的一种视频数据编码的方法的流程 图;
图 2 为本发明实施例二提供的一种视频数据解码的方法的流程 图;
图 3 为本发明实施例三提供的另一种视频数据解码的方法的流 程图;
图 4为本发明实施例 1 提供的一种视频数据编码的方法的流程 图;
图 5 为本发明实施例 1 提供的一种视频数据解码的方法的流程 图;
图 6为本发明实施例 1 提供的另一种视频数据解码的方法的流 程图;
图 7 为本发明实施例 2提供的一种视频数据编码的方法的流程 图;
图 8 为本发明实施例 2提供的一种视频数据解码的方法的流程 图;
图 8A为本发明实施例 2提供的另一种视频数据解码的方法的流 程图;
图 9 为本发明实施例四提供的一种视频数据编码的装置的结构 图;
图 10为本发明实施例四提供的另一种视频数据编码的装置的结 构图;
图 1 1为本发明实施例五提供的一种视频数据编码的装置的结构 图;
图 12为本发明实施例六提供的一种视频数据解码的装置的结构 图;
图 13为本发明实施例七提供的一种视频数据解码的装置的结构 图; 图 14为本发明实施例八提供的一种视频数据解码的装置的结构 图;
图 15为本发明实施例八提供的一种视频数据解码的装置的结构 图;
图 16为本发明实施例九提供的一种视频数据解码的装置的结构 图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。
本文中术语 "和 /或", 仅仅是一种描述关联对象的关联关系, 表示可以存在三种关系, 例如, A和 /或 B , 可以表示: 单独存在 A , 同时存在 A和 B , 单独存在 B这三种情况。 另外, 本文中字符 " /" , 一般表示前后关联对象是一种 "或" 的关系。
实施例一
如图 1所示, 为本发明实施例提供的一种视频数据编码的方法, 包括:
101 : 确定待编码视频序列中的一待编码信息组; 所述待编码信 息组包含第一待编码数据。
示例性的, 本实施例的执行主体可以为编码端。
下面对本实施例中的一些术语进行说明:
1 ) 待编码信息组: 属性为基本信息组; 一个待编码信息组可以 为构成一图像中的部分 /全部图像的数据, 也可以为用于预测一图像 中的部分 /全部图像的数据。 可选的, 所述待编码信息组具体可以包 含但不限于以下视频编码单位之一: 图像、 条带、 片或者帧。
2 ) 待编码视频序列: 包含一个或者多个待编码信息组。
3 ) 参考信息组: 编码待编码视频序列中的待编码信息组之后生 成的信息组, 例如, 下述第一信息组和第二信息组。
4 ) 参考信息组集合: 由参考信息组构成, 可以包含一个或者多 个元素, 还可以为空集。 例如, 当步骤 101 中的待编码信息组为待 编码视频序列中的第一个信息组时, 参考信息组集合为空集。 另夕卜, 一般地, 参考信息组集合有一定容量限制, 当其中包含的参考信息 组过多时, 编码端会按照编码的时间顺序, 将先编码得到的参考信 息组移出参考信息组集合; 本发明实施例对该容量的大小不进行限 定。 另外, 为了清楚简洁地描述本发明实施例的技术方案, 下述实 施例中均未描述 "参考信息组集合中的参考信息组移出" 的动作。
102 : 生成与所述待编码信息组对应的冗余信息组; 所述冗余信 息组包含第二待编码数据, 所述冗余信息组的位置信息与所述待编 码信息组在所述待编码视频序列中的位置信息相同。
其中, 第一待编码数据和第二待编码数据可以相同也可以不同。 可选的, 所述位置信息为以下信息之一: 所述待编码信息组在所述 待编码视频序列中的显示位置, 或者所述待编码信息组在所述待编 码视频序列中的编码位置, 当然不限于此。 其中, 待编码信息组在 待编码视频序列中的显示位可以为 POC ( picture order count , 图像 顺序号码)。
示例性的, 步骤 102 可以使用现有技术中的方法实现, 此处不 再叙述。 需要说明的是, 可以将待编码信息组中的全部信息生成冗 余信息组, 也可以只将待编码信息组中被其他待编码信息组参考的 信息生成冗余信息组; 后者可以减少传输数据量, 从而提升系统性
•6
fj匕。
在本发明的一个实施例中, 步骤 102 可以包括: 确定所述待编 码信息组中的待参考信息; 所述待参考信息是指被所述待编码视频 序列中的其他待编码信息组参考的信息; 生成与所述待参考信息相 对应的冗余信息组。
示例性的, 假设待参考信息组为一帧, 则步骤 102 具体可以实 现为: 第 N帧是第 N+ 1 帧的参考帧, 对第 N帧进行编码; 对第 N+ 1 帧进行编码, 其中, 依次对第 N+ 1 帧中的各编码块进行编码, 各编 码块可以在第 N帧中获得最佳参考块, 记录最佳参考块的位置; 对 与第 N帧对应的冗余帧进行编码, 其中只对被标记为最佳参考块的 编码块进行编码, 其它部分填充空数据。
103 : 对所述第一待编码数据和所述位置信息进行编码, 生成第 一信息组。
在本发明的一个实施例中, 步骤 103 具体可以包括: 对所述第 一待编码数据、 所述位置信息和第一信, I,组的属' I·生信息进行编码, 生成所述第一信息组; 所述第一信息组的属性信息用于表征所述第 一信息组为基本信息组。 可选的, 所述第一信息组的属性信息位于 所述第一信息组的 NALU ( Network Abstract Layer Unit , 网络抽象 层单元) 头中。
具体实现时, 第一信息组的 NALU头中还可以包含该第一信息 组的 NALU 类型, 具体可以为: RADL ( random access decodable leading ,位于随机接入点之前可解码), RASL( random access skipped leading , 位于随机接入点之前可丟弃 ) , BLA ( broken link access , 断链接入), IDR ( instantaneous decoding refresh , 即时角竿码^ 1夫态屌1 J 新 ) , CRA ( clean random access , 随机接入清理点 ), 其 中 BLA/IDR/CRA统称 IRAP等等。
104 : 对所述第二待编码数据和所述位置信息进行编码, 生成第 二信息组。
示例性的, 步骤 103 和步骤 104 的编码方法可以使用现有技术 中的方法实现。 例如, 按照 RTP等进行编码。
需要说明的是, 具体实现时, 可以先执行步骤 103 再执行步骤 104 , 也可以先执行步骤 104再执行步骤 103。 进一步地, 还可以在 步骤 103 和步骤 104之间对待编码视频序列中的其他待编码信息组 进行编码; 也就是说, 同一待编码信息组与其对应的冗余信息组的 编码顺序可以连续, 也可以不连续。
为了保证该编码方法可以适用于下述视频数据解码的方法, 可 选的, 步骤 104 可以包括: 当参考信息组集合中包含所述第一信息 组时, 对所述第二待编码数据和所述位置信息进行编码, 生成第二 信息组; 所述参考信息组集合由参考信息组构成, 参考信息组是指 编码所述待编码视频序列中的待编码信息组之后生成的信息组。 这 样, 可以防止第一信息组的编码位置与第二信息组的编码位置相隔 太远, 导致当判断待解码信息组为冗余信息组时, 其对应的基本信 息组已经被移出了参考信息组集合。
在本发明的一个实施例中, 步骤 104 具体可以包括: 对所述第 二待编码数据、 所述位置信息、 第二信息组的属性信息和所述第一 信息组的网络抽象层单元类型进行编码, 生成所述第二信息组; 所 述第二信息组的属性信息用于表征所述第二信息组为冗余信息组。 可选的, 所述第二信息组的属性信息位于所述第二信息组的网络抽 象层单元头中。 可选的, 所述第一信息组的网络抽象层单元类型位 于所述第二信息组的边信息集合中。 具体的: 当待编码信息组为帧、 图像或者条带时, 边信息集合具体可以为条带头; 当待编码信息组 为片时, 边信息集合具体可以为片头。
需要说明的是, 第二信息组的属性信息可以作为第二信息组的 一种 NALU类型 (下文中的 "冗余类型"), 也可以单独作为一种属 性存在于第二信息组的 NALU头中; 以下实施例中均以前者为例进 行说明。 相应地, 可以将第一信息组的属性信息隐含存在第一信息 组的 NALU类型中, 也可以作为单独的一种属性存在于第一信息组 的 N ALU头中; 其中, 前者具体可以实现为: 当一信息组的 NALU 类型不为冗余类型时, 认为该信息组为基本信息组; 以下实施例中 均以前者为例进行说明。
进一步地, 一个 NAL单元 (即 NALU ) 可以包含部分帧、 一个 帧或者多个帧。 下面以 "一个 NAL单元包含一个帧、 一个帧包含一 个条带、 待编码信息组为一个帧" 为例进行说明: 按照本实施例提 供的方法对一个待编码信息组进行编码之后, 可以生成两个 NAL单 元, 其中, 一个 NAL单元为基本信息组, 另一个 NAL单元为冗余 信息组。 以步骤 101 - 104 中的待编码信息组为例, 生成的两个 NAL 单元分别为第一信息组和第二信息组。 NAL 单元由 NALU 头和 NALU 数据构成, NALU 数据由条带头和条带数据构成, 条带数据 包含上述 "数据信息"。
对待编码视频序列进行编码之后生成已编码码流 ( 包含一个或 者多个参考信息组), 经网络传输后, 成为解码端的待解码码流。 具 体实现时, 编码端可以在对待编码视频序列中的部分 /全部待编码信 息组进行编码之后, 将生成的已编码码流发送给解码端。
需要说明的是, 本发明实施例提供的视频数据编码的方法可以 与现有技术中的视频数据编码的方法一起使用, 具体可以描述为: 为待编码视频序列中的部分待编码信息组配置冗余信息组, 同时不 为其他待编码信息组配置冗余信息组。 即, 生成部分待编码信息组 对应的冗余信息组, 同时不生成其他待编码信息组对应的冗余信息 组。可选的,可以不为 NALU类型为 IRAP( Intra random access point , 帧内随机接入点) 类型的待编码信息组配置冗余信息组, 具体的: 所述第一信息组的网络抽象层单元类型不为 IRAP类型。 当然, 还可 以为待编码视频序列中的每个待编码信息组均配置冗余信, 组。
本发明实施例提供的视频数据编码的方法, 生成与待编码信息 组对应的、 包含第二待编码数据的冗余信息组, 并对待编码信息组 包含的第一待编码数据和待编码信息组在待编码视频序列中的位置 信息进行编码, 生成第一信息组; 对第二待编码数据和冗余信息组 的位置信息进行编码, 生成第二信息组, 其中, 冗余信息组的位置 信息与待编码信息组的位置信息相同。 利用本方案进行编码, 不需 要标记第一信息组和第二信息组的属性信息, 因此能够提到编码效 率。 实施例二
本实施例提供的视频数据解码的方法, 与上述视频数据编码的 方法对应。 如图 2所示, 包括:
201 : 确定待解码码流中的一待解码信息组以及参考信息组集 合; 所述待解码信息组包含数据信 , 和所述待解码信 , 组的位置信 息; 所述待解码码流包含基本信息组和与所述基本信息组对应的冗 余信息组, 所述基本信息组在所述待解码码流中的位置在所述冗余 信息组之前; 所述待解码信息组为基本信息组或者冗余信息组; 所 述参考信息组集合由参考信息组构成, 参考信息组是指解析所述待 解码码流中的待解码信息组的数据信息之后, 生成的信息组。
示例性的, 本实施例的执行主体可以为解码端。
下面对本实施例中的一些术语进行说明:
1 )待解码信息组: 待解码信息组的属性为基本信息组或者冗余 信息组; 待解码信息组具体可以为实施例一中的第一信息组或者第 二信息组。 可选的, 所述待解码信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
2 )待解码码流: 实施例一中待编码视频序列编码之后生成已编 码码流, 经网络传输, 在解码端成为待解码码流; 其中, 在传输过 程中可能出现丟包。 待解码码流包含一个或者多个待解码信息组。 3 ) 参考信息组: 解析待解码码流中的待解码信息组的数据信息 之后, 生成的信息组。
4 ) 参考信息组集合: 由参考信息组构成, 可以包含一个或者多 个元素, 还可以为空集。 例如, 当步骤 201 中的待解码信息组为待 解码码流中的第一个信息组时, 参考信息组集合为空集。 示例性的, 参考信息组集合中的信息组可以为 DPB ( Decoded Picture Buffer , 解码图像存储器) 中的数据 (下文中称为 " DPB 数据"), 也可以为 RPS ( Reference Picture Set , 参考图象集) 中的数据。 另夕卜, 一般地, 参考信息组集合有一定容量限制, 当其中包含的参考信息组过多时, 解码端会按照解码的时间顺序, 将先解码得到的参考信息组移出参 考信息组集合; 本发明实施例对该容量的大小不进行限定。 另外, 为了清楚简洁地描述本发明实施例的技术方案, 下述实施例中均未 描述 "参考信息组集合中的参考信息组移出 " 的动作。
5 ) 数据信息: 当待解码信息组为基本信息组时, "数据信息" 可以为实施例一中的 "第一待编码数据" 编码之后生成的信息; 当 待解码信息组为冗余信息组时, "数据信息" 可以为实施例一中的
"第二待编码数据" 编码之后生成的信息。
6 )待解码信息组的位置信息: 待编码信息组在待解码码流中的 位置, 具体实现时, 一般是指待解码信息组未编码之前, 即为待编 码信息组时, 在待编码视频序列中的显示位置或者编码位置。 其中, 待编码信息组在待编码视频序列中的显示位置可以为 POC。
7 ) 基本信息组在待解码码流中的位置在所述冗余信息组之前, 具体可以实现为: 编码过程中, 在对冗余信息组进行编码之前对该 冗余组对应的基本信息组进行编码; 传输过程中, 按照编码的先后 顺序传输已编码码流, 或者在打包传输之前, 在包头添加用于表征 编码顺序的信息, 比如时间戳等。
202 : 若所述参考信息组集合中的至少一个参考信息组的位置信 息与所述待解码信息组的位置信息相同, 则丟弃所述待解码信息组; 或者, 若所述参考信息组集合中的参考信息组的位置信息均与所述 待解码信息组的位置信息不同, 则解析所述数据信息。
示例性的, 本实施例中, 由于基本信息组在待解码码流中的位 置在该基本信息组对应的冗余信息组之前, 而且由上述实施例一可 知, 基本信息组的位置信息与冗余信息组的位置信息相同, 因此, 可以得出:
A ) "所述参考信息组集合中的至少一个参考信息组的位置信息 与所述待解码信息组的位置信息相同 " 说明: 参考信息组集合中的 至少一个参考信息组为该待解码信息组对应的基本信息组或者该解 码信息组对应的基本信, I,组的其他冗余信, ^组; 该待编码信息组为 冗余信息组。 因此, 可以丟弃该待解码信息组, 具体的: 不继续解 析该待解码信息组的数据信息, 另外, 还可以删除该待解码信息组。
B ) "所述参考信息组集合中的参考信息组的位置信息均与所述 待解码信息组的位置信息不同 " 说明: 该待编码信息组为基本信息 组; 或者, 该待解码信息组为冗余信息组, 但是该冗余信息组对应 的基本信息组丟失。 因此, 该情况下, 需要继续解析该待解码信息 组的数据信息。
在本发明的一个实施例中, 所述参考信息组集合中的参考信息 组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信息与所述待解码 信息组的位置信息相同; 该情况下, 若所述参考信息组集合中的至 少一个参考信息组的位置信息与所述待解码信息组的位置信息相 同, 则丟弃所述待解码信息组, 具体可以包括: 若所述第一参考信 息组的参考状态为可参考状态, 则丟弃所述待解码信息组。 可选的, 该情况下, 所述方法还可以包括: 若所述第一参考信息组的参考状 态为不可参考状态, 则解析所述数据信息。 示例性的, 解码端可以通过与编码端的信息交互获得参考信息 组的参考状态, 具体的信息交互过程可以参考现有技术, 此处不再 叙述。 其中, 参考信息组的参考状态由待编码信息组的 NALU类型、 编码的结构等决定; 编码的结构包括: GOP ( Group Of Picture , 图 像组) 类型, 编码端手动设置。 可以包括: 远距离可参考状态和近距离参考状态。 具体的: 若第一 参考信息组对应的解码位置与该待解码信息组的解码位置之间的距 离小于某一阔值, 则第一参考信息组为该待解码信息组的近距离参 考信息组; 若第一参考信息组对应的解码位置与该待解码信息组的 解码位置之间的距离大于该阔值, 则第一参考信息组为该待解码信 息组的远距离参考信息组; 另外, 若第一参考信息组对应的解码位 置与该待解码信息组的解码位置之间的距离等于该阔值, 则第一参 考信息组可以称为该待解码信息组的近距离参考信息组, 也可以为 称为该待解码信息组的远距离参考信息组。 其中, 该值可以 16帧或 者其他值。
可选的, 与上述实施例一相对应, 所述待解码信息组的网络抽 象层单元类型可以不为 IRAP类型。
本实施例提供的视频数据解码的方法中, 待解码码流中的一待 解码信息组包含数据信 ,包、和该待解码信 ,包、组的位置信息; 若待解码 信息组的参考信息组集合中的至少一个参考信息组的位置信息与该 待解码信息组的位置信息相同, 则丟弃该待解码信息组; 或者, 若 待解码信息组的参考信息组集合中的参考信息组的位置信息与该待 解码信息组的位置信息均相同, 则解析所述数据信息。 其中, 第一 待解码信息组可以为一条带。 与现有技术提供的视频数据的解码方 法相比, 本方案中, 不需要在视频数据的编码的过程中标记条带为 基本条带或者冗余条带, 因此能够提高编码效率。 实施例三
本实施例提供的视频数据解码的方法, 与上述视频数据编码的 方法对应。 如图 3所示, 包括:
301 : 确定待解码码流中的第一待解码信息组; 所述第一待解码 信息组包含数据信息、 属性信息和所述第一待解码信息组的位置信 息, 所述属性信息用于表征所述第一待解码信息组为基本信息组或 者冗余信息组。
示例性的, 本实施例的执行主体可以为解码端。 本实施例中相 关内容的解释可以参考上述实施例二, 此处不再赘述。 "第一待解码 信息组" 是指待解码码流中的一个待解码信息组, 下述 "第二待解 码信息组" 是指第一待解码信息组之后的一个或者多个待解码信息 组。
可选的, 所述第一待解码信息组的属性信息位于所述第一待解 码信息组的网络抽象层单元头中。 需要说明的是, 当第一待解码信 息组的属性信息用于表征该第一待解码信息组为基本信息组时, 该 属性信息可以隐含在该待解码信息组的 NALU类型中, 也可以单独 作为一种属性存在于 NALU头中; 以下具体实施例中均以前者为例 进行说明。 当第一待解码信息组的属性信息用于表征该待解码信息 组为冗余信息组时, 可以将该属性信息作为第一待解码信息组的一 种 NALU类型 (下文中的 "冗余类型"), 也可以单独作为一种属性 存在于 NALU 头中;; 其中, 前者具体可以实现为: 当一信息组的 NALU 类型不为冗余类型时, 认为该信息组为基本信息组; 以下具 体实施例中均以前者为例进行说明。
可选的, 所述第一待解码信息组为以下视频解码单位之一: 图 像、 条带、 片或者帧。
302 : 在所述属性信息表征所述第一待解码信息组为冗余信息组 的情况下, 确定参考信息组集合; 所述参考信息组集合由参考信息 组构成, 参考信息组是指解析所述待解码码流中的待解码信 , ί、组的 数据信息之后, 生成的信息组。
示例性的, 本实施例中的待解码信息组包含属性信息, 可以通 过解析属性信息获知该待解码信息组为冗余信息组还是基本信息 组, 当属性信息作为一种 NALU类型或者隐含于 NALU类型中时, 由于一信息组的 NALU类型位于该信息组的 NALU头中, 因此也可 以描述为: 通过解析其 NALU头获知该待解码信息组为冗余信息组 还是基本信息组。
303 : 若所述参考信息组集合中的至少一个参考信息组的位置信 息与所述第一待解码信息组的位置信息相同, 则丟弃所述第一待解 码信息组; 或者, 若所述参考信息组集合中的参考信息组的位置信 息均与所述第一待解码信息组的位置信息不同, 则解析所述数据信 息。
示例性的, 由上述实施例一可知, 基本信息组的位置信息与冗 余信息组的位置信息相同, 因此, 可以得出:
A ) "所述参考信息组集合中的至少一个参考信息组的位置信息 与所述第一待解码信息组的位置信息相同 " 说明: 参考信息组集合 中包含与该第一待解码信息组 ( 冗余信息组) 对应的基本信息组, 且该基本信息组未丟失。 因此, 可以丟弃该第一待解码信息组, 具 体的: 不继续解析该第一待解码信息组的数据信息, 另外, 还可以 删除该待编码信息组。
B ) 本实施例中, 认为在 "所述参考信息组集合中的参考信息组 的位置信息均与所述第一待解码信息组的位置信息不同" 的情况下, 第一待解码信息组对应的基本信息组丟失, 因此, 需要解析该第一 待解码信息组的数据信息。
进一步地, 该方法还可以包括: 在所述属性信息表征所述第一 待解码信息组为基本信,包、组的情况下, 解析所述第一待解码信 , 组 的参考信息组构成。
在本发明的一个实施例中, 所述若参考信息组集合中的参考信 , 组的位置信息均与所述第一待解码信息组的位置信息不同, 在解 析所述数据信息之前, 所述方法还包括: 确定所述待解码码流中的 第二待解码信息组; 解码所述第二待解码信息组; 在解码所述第二 待解码信息组之后更新所述参考信息组集合。 该情况下, 所述解析 所述数据信息包括: 若所述更新后的参考信息组集合中的参考信息 组的位置信息均与所述第一待解码信息组的位置信息不同, 则解析 所述数据信息。 另外, 所述方法还可以包括: 若所述更新后的参考 信息组集合中的至少一个参考信息组的位置信息与所述第一待解码 信息组的位置信息相同, 则丟弃所述第一待编码信息组。
示例性的, 该实施例中, 可以在参考信息组集合中的参考信息 组的位置信息均与所述第一待解码信息组的位置信息不同的情况 下, 解码第一待解码信息组之后的一个或者多个待解码信息组, 从 而更新参考信息组集合。 其中, 解码第二待解码信息组的方法可以 参考图 3。 具体实现时, 可以根据实际场景和经验确定第二待编码信 息组的个数, 本发明实施例对次不进行限定。
在本发明的一个实施例中, 所述参考信息组集合中的参考信息 组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信息与所述第一待 解码信息组的位置信息相同; 该情况下, 若所述参考信息组集合中 的至少一个参考信息组的位置信息与所述第一待解码信息组的位置 信息相同, 则丟弃所述第一待解码信息组, 包括: 若所述第一参考 信息组的参考状态为可参考状态, 则丟弃所述第一待解码信息组。
可选的, 该情况下, 所述方法还包括: 若所述第一参考信息组 的参考状态为不可参考状态, 则解析所述数据信息。 可选的, 所述 可参考状态包括: 远距离可参考状态和近距离参考状态。
在本发明的一个实施例中, 所述第一待解码信息组的属性信息 表征所述第一待解码信息组为冗余信息组, 所述第一待解码信息组 还包含与所述第一待解码信息组对应的基本信息组的网络抽象层单 元类型; 在参考信息组集合中的参考信息组的位置信息均与所述第 一待解码信息组的位置信息不同的情况下, 解析所述数据信息之后, 所述方法还包括: 将所述网络抽象层单元类型替换为与所述第一待 解码信息组对应的基本信息组的网络抽象层单元类型。
示例性的, 具体实现时, 在将所述网络抽象层单元类型替换为 与所述第一待解码信息组对应的基本信息组的网络抽象层单元类型 之后, 该方法还可以包括: 根据新替换的网络抽象单元类型执行相 应操作, 例如, 当新替换的网络抽象单元类型为 IDR (强制刷新帧 ) 类型时, 执行解码图像緩冲器清空的操作等。
可选的, 与所述第一待解码信息组对应的基本信息组的网络抽 象层单元类型位于所述第一待解码信息组的边信息集合中。 具体的: 当待编码信息组为帧、 图像或者条带时, 边信息集合具体可以为条 带头; 当待编码信息组为片时, 边信息集合具体可以为片头。
可选的, 所述第一待解码信息组的网络抽象层单元类型不为 IRAP类型。
本实施例提供的视频数据解码的方法中, 待解码码流中的第一 待解码信息组包含数据信息、 属性信息和第一待解码信息组的位置 信息; 在属性信息表征该第一待解码信息组为冗余信息组的情况下, 若第一待解码信息组的参考信息组集合中的至少一个参考信息组的 位置信息与该第一待解码信息组的位置信息相同, 则丟弃该第一待 解码信息组; 或者, 若第一待解码信息组的参考信息组集合中的参 考信息组的位置信息均与该第一待解码信息组的位置信息不同, 则 解析该数据信息。 其中, 第一待解码信息组可以为一条带。 与现有 技术提供的视频数据解码的方法相比, 本方案中, 不需要基本条带 在与该基本条带对应的冗余条带之前解码, 也就是说需要基本条带 在与该基本条带对应的冗余条带之前传输, 因此能够提高传输的灵 活性。 下面通过几个具体的实施例对上述编码解码的方法进行说明, 其中, 待编码信息组为一条带; 待编码信息组在待编码视频序列中 的位置信息为: 待编码信息组的 POC ; 待编码信息组的 NALU类型 不为 IRAP类型。 待解码信息组为一条带; 待解码信息组的位置信息 为其对应的待编码信息组的 POC ; 待解码信息组的 NALU类型不为 IRAP类型。 实施例 1
编码方法 如图 4所示, 包括:
401 : 确定待编码视频序列中的一待编码条带; 待编码条带包含 第一待编码数据。
402 : 生成与待编码条带对应的冗余条带; 冗余条带包含第二待 编码数据, 冗余条带的位置信息与待编码条带在待编码视频序列中 的位置信息相同。
403 : 对第一待编码数据和待编码条带的 POC 进行编码, 生成 第一条带; 待编码条带的 POC位于第一条带的条带头中。
示例性的, 第一待编码数据编码之后生成的信息为第一条带的 数据信息。 步骤 403 可以在步骤 402 之前执行, 也可以在步骤 402 之后执行, 还可以与步骤 402 同时执行。
404 : 对第二待编码数据和冗余条带的 POC 进行编码, 生成第 二条带; 冗余条带的 POC位于第二条带的条带头中。
示例性的, 冗余条带的 POC与第一待编码条带的 POC相同。 第 二待编码数据编码之后生成的信息为第二条带的数据信息。步骤 404 可以在步骤 403之前执行, 也可以在步骤 403之后执行, 还可以与 步骤 403 同时执行。
需要说明的是, 具体实现时, 可以按照上述步骤 401 -404 对待 编码视频序列中的每一个待编码条带进行编码; 也可以按照上述步 骤 401 -404对待编码视频序列中的部分待编码条带进行编码, 同时, 按照上述步骤 401 和步骤 403 对该待编码视频序列中的其他待编码 条带进行编码。 按照图 4 所示的视频数据编码的方法进行编码, 需要先传输基 本条带再传输基本条带对应的冗余条带; 或者在打包传输之前, 在 包头添加用于表征编码顺序的信息, 比如时间戳等。 以保证解码端 接收到的待解码码流中的基本条带的位置在其对应的冗余条带之 前。
下面提供两种按照图 4 所示的视频数据编码的方法进行编码之 后, 解码端的视频数据解码方法, 需要说明的是, 以下两种解码方 法中的参考信息组均为 DPB数据。 解码方法一 如图 5所示, 包括:
501 : 确定待解码码流中的第 i个待解码条带, 该待解码条带包 含数据信息和待解码条带的 POC ; 待解码条带的 POC位于条带头。
示例性的,假设本实施例中待解码码流中共有 R个待解码条带, i < R , i、 R均为大于 0的值, i的初始值为 1。
502 : 解析待解码条带的条带头, 得到待解码条带的 POC。
503 : 获取 DPB数据, 其中, DPB数据包含 0个、 1个或者多个 参考条带。
504 : 判断待解码条带的 POC是否与 DPB数据中的至少一个参 考条带的 POC相同。
若是, 则执行步骤 505; 若否, 则执行步骤 506。
505: 丟弃该待解码条带。
步骤 505之后执行步骤 507。
506: 解析数据信息, 生成新的参考条带; 根据新的参考条带更 新 DPB数据。
507: 判断 i是否大于或者等于 R。
若是, 则结束。 若否, 则执行步骤 508。
508: i 自力口 1。
步骤 508之后, 执行步骤 501。 解码方法二 如图 6所示, 包括:
601: 确定待解码码流中的第 i个待解码条带, 该待解码条带包 含数据信息和待解码条带的 POC; 待解码条带的 POC位于条带头。
示例性的,假设本实施例中待解码码流中共有 R个待解码条带, i < R, i、 R均为大于 0的值, i的初始值为 1。
602: 解析待解码条带的条带头, 得到待解码条带的 POC。
603: 获取 DPB数据, 其中, DPB数据包含 0个、 1个或者多个 参考条带, 每个参考条带对应一个参考状态, 该参考状态包括可参 考状态和不可参考状态。
604: 判断待解码条带的 POC是否与 DPB数据中的至少一个参 考条带的 POC相同。
若是, 则执行步骤 605; 若否, 则执行步骤 607。
605: 判断该至少一个参考条带中是否存在一个参考条带的参考 状态为可参考状态。
若是, 则执行步骤 606; 若否, 则执行步骤 607。
606: 丟弃该待解码条带。 执行步骤 606之后, 执行步骤 608。
607 : 解析数据信息, 生成新的参考条带; 根据该新的参考条带 更新 DPB数据。
608 : 判断 i是否大于或者等于 R。
若是, 则结束。 若否, 则执行步骤 609。
609 : i 自力口 1。
步骤 609之后, 执行步骤 601。
本实施例提供的视频数据编码解码的方法, 不需要在视频数据 的编码的过程中标记待编码条带为基本条带或者冗余条带, 因此能 够提高编码效率。 实施例 2
编码方法 如图 7所示, 包括:
701 : 确定待编码视频序列中的一待编码条带; 待编码条带包含 第一待编码数据。
702 : 生成与待编码条带对应的冗余条带; 冗余条带包含第二待 编码数据, 冗余条带的位置信息与待编码条带在待编码视频序列中 的位置信息相同。
703 : 对第一待编码数据、 待编码条带的 POC 进行编码, 生成 第一条带; 待编码条带的 POC位于第一条带的条带头中。
示例性的, 第一待编码数据编码之后生成的信息为第一条带的 数据信息。 步骤 703 可以在步骤 702 之前执行, 也可以在步骤 702 之后执行, 还可以与步骤 702 同时执行。
704 : 对第二待编码数据、 冗余条带的 POC、 第二条带的属性信 息和第一条带的 NALU类型进行编码, 生成第二条带; 第二条带的 属性信息位于第二条带的 NALU头中; 冗余条带的 POC和第一条带 的 NALU类型位于第二条带的条带头中。 示例性的, 第二条带的属性信息用于表征第二条带为冗余条带。 冗余条带的 POC与第一待编码条带的 POC相同。第二待编码数据编 码之后生成的信息为第二条带的数据信息。步骤 704可以在步骤 703 之前执行, 也可以在步骤 703之后执行, 还可以与步骤 703 同时执 行。
需要说明的是, 具体实现时, 可以按照上述步骤 701 -704 对待 编码视频序列中的每一个待编码条带进行编码; 也可以按照上述步 骤 701 -704对待编码视频序列中的部分待编码条带进行编码, 同时, 按照上述步骤 701 和步骤 703 对该待编码视频序列中的其他待编码 条带进行编码。
另外需要说明的是, 本实施例中, 将第二条带的属性信息作为 第 二条带 的 一种 NALU 类 型 , 下 文 中 将其称为 冗余类 型 ( RDN— NUT ) , 因此, 可以将该步骤 704 描述为: 对第二待编码数 据、 冗余条带的 POC、 第二条带的 NALU类型和第一条带的 NALU 类型进行编码, 其中, 第二条带的 NALU类型为冗余类型, 用于表 征第二条带为冗余条带。
具体实现时, 可以使用 NALU 头中的一保留字位 RS V— VCL24 标记冗余类型, 表 1为一种定义冗余类型的方式。
表 1
Figure imgf000032_0001
其中, VCL是指视频编码层编码方式 ( video coding layer )。 下面提供两种按照图 7 所示的视频数据编码的方法进行编码之 后, 解码端的视频数据解码方法, 需要说明的是, 以下解码方法中 的参考信息组为 DPB数据。 解码方法一 如图 8所示, 包括:
801 : 确定待解码码流中的第 i个待解码条带。
其中, 若该待解码条带为基本条带, 则该待解码条带包含数据 信息和待解码条带的 POC ; 若该待解码条带为冗余条带, 则该待解 码条带包含数据信息、 待解码条带的 POC、 待解码条带的 NALU类 型和该待解码条带对应的基本条带的 NALU 类型, 待解码条带的 NALU类型为冗余类型, 用于表征该待解码条带为冗余条带。 另夕卜, 待解码条带的 POC位于条带头; 待解码条带的 NALU类型 (冗余类 型 ) 位于 NALU头中; 该待解码条带 (冗余条带) 对应的基本条带 的 NALU类型位于条带头中。
另外, 若待解码条带为基本条带, 则待解码条带还包含该待解 码条带的 NALU 类型 (例如: IDR类型、 RASL 类型等, 不为冗余 类型和 IRAP类型 )。
本实施例中, ^^设本实施例中待解码码流中共有 R个待解码条 带, i R , i、 R均为大于 0的值, i的初始值为 1。
802 : 解析待解码条带的 NALU 头, 得到待解码条带的 NALU 类型。
803 : 判断待解码条带的 NALU类型是否为冗余类型。
若否, 则执行步骤 804 ; 若是, 则执行步骤 805。
804 : 解析数据信息, 生成新的参考条带; 根据该新的参考条带 更新 DPB数据。
步骤 804之后, 执行步骤 81 1。
805 : 解析待解码条带的条带头, 得到待解码条带的 POC。
806 : 获取 DPB数据, 其中, DPB数据包含 0个、 1个或者多个 参考条带。
807 : 判断待解码条带的 POC是否与 DPB数据中的至少一个参 考条带的 POC相同。 若是, 则执行步骤 808 ; 若否, 则执行步骤 810。
808 : 判断该至少一个参考条带中是否存在一个参考条带的参考 状态为可参考状态。
若是, 则执行步骤 809 ; 若否, 则执行步骤 810。
809 : 丟弃该待解码条带。
执行步骤 809之后, 执行步骤 81 1。
810 : 将数据信息作为该待解码条带对应的基本条带的数据信 息, 解析该数据信息, 生成新的参考条带; 根据该新的参考条带更 新 DPB数据; 解析待解码条带的条带头, 得到待解码条带 ( 冗余条 带) 对应的基本条带的 NALU类型; 将该基本条带的 NALU类型替 换为该待解码条带对应的基本条带的 NALU类型; 根据该基本条带 的 NALU类型进行相应操作。
步骤 810之后, 执行步骤 81 1。
81 1 : 判断 i是否大于或者等于 R。
若是, 则结束。 若否, 则执行步骤 812。
812 : i 自加 1。
步骤 812之后, 执行步骤 801。 解码方法二 如图 8A所示, 包括:
801A: 确定待解码码流中的第 i个待解码条带。
其中, 若该待解码条带为基本条带, 则该待解码条带包含数据 信息和待解码条带的 POC ; 若该待解码条带为冗余条带, 则该待解 码条带包含数据信息、 待解码条带的 POC、 待解码条带的 NALU类 型和该待解码条带对应的基本条带的 NALU 类型, 待解码条带的 NALU类型为冗余类型, 用于表征该待解码条带为冗余条带。 另夕卜, 待解码条带的 POC位于条带头; 待解码条带的 NALU类型 (冗余类 型 ) 位于 NALU头中; 该待解码条带 (冗余条带) 对应的基本条带 的 NALU类型位于条带头中。
另外, 若待解码条带为基本条带, 则待解码条带还包含该待解 码条带的 NALU 类型 (例如: IDR类型、 RASL 类型等, 不为冗余 类型和 IRAP类型 )。
本实施例中, ^^设本实施例中待解码码流中共有 R个待解码条 带, i R , i、 R均为大于 0的值, i的初始值为 1。
802A : 解析待解码条带的 NALU头, 得到待解码条带的 NALU 类型。
803A : 判断待解码条带的 NALU类型是否为冗余类型。
若否, 则执行步骤 804A ; 若是, 则执行步骤 805A。
804A : 解析数据信息, 生成新的参考条带; 根据该新的参考条 带更新 DPB数据。
步骤 804A之后, 执行步骤 810A。
805A : 解析待解码条带的条带头, 得到待解码条带的 POC。 806A : 获取 DPB数据, 其中, DPB数据包含 0个、 1个或者多 个参考条带。
807A : 判断待解码条带的 POC是否与 DPB数据中的至少一个 参考条带的 POC相同。
若是, 则执行步骤 808A ; 若否, 则执行步骤 809A。
808A : 丟弃该待解码条带。
执行步骤 808A之后, 执行步骤 810A。
809 A: 将数据信息作为该待解码条带对应的基本条带的数据信 息, 解析该数据信息, 生成新的参考条带; 根据该新的参考条带更 新 DPB数据; 解析待解码条带的条带头, 得到待解码条带 ( 冗余条 带) 对应的基本条带的 NALU类型; 将该基本条带的 NALU类型替 换为该待解码条带对应的基本条带的 NALU类型; 根据该基本条带 的 NALU类型进行相应操作, 例如当该 NALU类型为 IRAP(BLA , IDR , CRA)时, 且其相关的 RASL帧不输出时, DPB 中的所有参考 帧被设置为不能被其他帧所参考, 该帧的 POC设置为 0。
步骤 809A之后, 执行步骤 810A。
810A : 判断 i是否大于或者等于 R。
若是, 则结束。 若否, 则执行步骤 81 1 A。
81 1 A : i 自加 1。
步骤 81 1之后, 执行步骤 801 A。
本实施例提供的视频数据编码解码的方法, 不需要基本条带在 与该基本条带对应的冗余条带之前解码, 也就是说不需要基本条带 在与该基本条带对应的冗余条带之前传输, 因此能够提高传输的灵 活性。 实施例四
如图 9 所示, 为本发明实施例提供的一种视频数据编码的装置 9 , 用以执行图 1所示的视频数据编码的方法, 该装置 9 包括:
确定单元 91 , 用于确定待编码视频序列中的一待编码信息组; 所述待编码信息组包含第一待编码数据;
生成单元 92 ,用于生成与所述待编码信息组对应的冗余信息组; 所述冗余信息组包含第二待编码数据, 所述冗余信息组的位置信息 与所述待编码信息组在所述待编码视频序列中的位置信息相同;
第一编码单元 93 , 用于对所述第一待编码数据和所述位置信息 进行编码, 生成第一信息组;
第二编码单元 94 , 用于对所述第二待编码数据和所述位置信息 进行编码, 生成第二信息组。
可选的, 所述第二编码单元 94具体用于, 当参考信息组集合中 包含所述第一信息组时, 对所述第二待编码数据和所述位置信息进 行编码, 生成第二信息组; 所述参考信息组集合由参考信息组构成, 参考信息组是指编码所述待编码视频序列中的待编码信息组之后生 成的信息组。
可选的, 所述第一编码单元 93具体用于, 对所述第一待编码数 据、 所述位置信息和第一信息组的属性信息进行编码, 生成所述第 一信息组; 所述第一信息组的属性信息用于表征所述第一信息组为 基本信息组。
可选的, 所述第一信息组的属性信息位于所述第一信息组的网 络抽象层单元头中。
可选的, 所述第二编码单元 94具体用于, 对所述第二待编码数 据、 所述位置信息、 第二信息组的属性信息和所述第一信息组的网 络抽象层单元类型进行编码, 生成所述第二信息组; 所述第二信息 组的属性信息用于表征所述第二信息组为冗余信息组。
可选的, 所述第二信息组的属性信息位于所述第二信息组的网 络抽象层单元头中。
可选的, 所述第一信息组的网络抽象层单元类型位于所述第二 信息组的边信息集合中。
可选的, 所述位置信息包括: 所述待编码信息组在所述待编码 视频序列中的显示位置, 或者所述待编码信息组在所述待编码视频 序列中的编码位置。
可选的, 所述待编码信息组为以下视频编码单位之一: 图像、 条带、 片或者帧。
可选的, 如图 10所示, 所述生成单元 92 包括:
确定子单元 92 1 , 用于确定所述待编码信息组中的待参考信息; 所述待参考信息是指被所述待编码视频序列中的其他待编码信 , 组 参考的信息;
生成子单元 922 , 用于生成与所述待参考信息对应的冗余信息 组。 可选的, 所述第一信息组的网络抽象层单元类型不为 IRAP 类 型。
本发明实施例提供的视频数据编码的装置, 生成与待编码信息 组对应的、 包含第二待编码数据的冗余信息组, 并对待编码信息组 包含的第一待编码数据和待编码信息组在待编码视频序列中的位置 信息进行编码, 生成第一信息组; 对第二待编码数据和冗余信息组 的位置信息进行编码, 生成第二信息组, 其中, 冗余信息组的位置 信息与待编码信息组的位置信息相同。 利用本方案进行编码, 不需 要标记第一信息组和第二信息组的属性信息, 因此能够提到编码效 率。 实施例五
如图 1 1所示, 为本发明实施例提供的一种视频数据编码的装置 9 , 用以执行图 1所示的视频数据编码的方法, 该装置 9 包括:
存储器 1 1 A和处理器 1 1 B , 其中,
存储器 1 1 A用于存储一组代码, 该代码用于控制处理器 1 1 B执 行如下动作:
确定待编码视频序列中的一待编码信息组; 所述待编码信息组 包含第一待编码数据;
生成与所述待编码信息组对应的冗余信息组; 所述冗余信息组 包含第二待编码数据, 所述冗余信息组的位置信息与所述待编码信 息组在所述待编码视频序列中的位置信息相同;
对所述第一待编码数据和所述位置信息进行编码, 生成第一信 息组;
对所述第二待编码数据和所述位置信息进行编码, 生成第二信 息组。
可选的, 处理器 1 1 B 具体用于, 当参考信息组集合中包含所述 第一信息组时, 对所述第二待编码数据和所述位置信息进行编码, 生成第二信息组; 所述参考信息组集合由参考信息组构成, 参考信 息组是指编码所述待编码视频序列中的待编码信息组之后生成的信 息组。
可选的, 处理器 1 1 B 具体用于, 对所述第一待编码数据、 所述 位置信息和第一信息组的属性信息进行编码, 生成所述第一信息组; 所述第一信息组的属性信息用于表征所述第一信息组为基本信息 组。
可选的, 所述第一信息组的属性信息位于所述第一信息组的网 络抽象层单元头中。
可选的, 处理器 1 1 B 具体用于, 对所述第二待编码数据、 所述 位置信息、 第二信息组的属性信息和所述第一信息组的网络抽象层 单元类型进行编码, 生成所述第二信息组; 所述第二信息组的属性 信息用于表征所述第二信息组为冗余信息组。
可选的, 所述第二信息组的属性信息位于所述第二信息组的网 络抽象层单元头中。
可选的, 所述第一信息组的网络抽象层单元类型位于所述第二 信息组的边信息集合中。
可选的, 所述位置信息包括: 所述待编码信息组在所述待编码 视频序列中的显示位置, 或者所述待编码信息组在所述待编码视频 序列中的编码位置。
可选的, 所述待编码信息组为以下视频编码单位之一: 图像、 条带、 片或者帧。
可选的, 处理器 1 1 B 具体用于, 确定所述待编码信息组中的待 参考信息; 所述待参考信息是指被所述待编码视频序列中的其他待 编码信息组参考的信息; 生成与所述待参考信息对应的冗余信息组。
可选的, 所述第一信息组的网络抽象层单元类型不为 IRAP 类 型。
本发明实施例提供的视频数据编码的装置, 生成与待编码信息 组对应的、 包含第二待编码数据的冗余信息组, 并对待编码信息组 包含的第一待编码数据和待编码信息组在待编码视频序列中的位置 信息进行编码, 生成第一信息组; 对第二待编码数据和冗余信息组 的位置信息进行编码, 生成第二信息组, 其中, 冗余信息组的位置 信息与待编码信息组的位置信息相同。 利用本方案进行编码, 不需 要标记第一信息组和第二信息组的属性信息, 因此能够提到编码效 率。 实施例六
如图 12所示, 为本发明实施例提供的一种视频数据解码的装置 12 , 用以执行图 2所示的视频数据解码的方法, 该装置 12 包括: 确定单元 12A , 用于确定待解码码流中的一待解码信息组以及 参考信息组集合; 所述待解码信息组包含数据信息和所述待解码信 , ί、组的位置信息; 所述待解码码流包含基本信息组和与所述基本信 息组对应的冗余信息组, 所述基本信息组在所述待解码码流中的位 置在所述冗余信息组之前; 所述待解码信息组为基本信息组或者冗 余信息组; 所述参考信息组集合由参考信息组构成, 参考信息组是 指解析所述待解码码流中的待解码信息组的数据信息之后, 生成的 信息组;
第一处理单元 12B , 用于若所述参考信息组集合中的至少一个 参考信息组的位置信息与所述待解码信息组的位置信息相同, 则丟 弃所述待解码信息组; 或者, 第二处理单元 12C , 用于若所述参考 信息组集合中的参考信息组的位置信,包、均与所述待解码信 , 组的位 置信息不同, 则解析所述数据信息。
需要说明的是, 具体实现时, 第一处理单元 12B 和第二处理单 元 12C可以同时存在, 图 12以它们同时存在为例进行说明。
可选的, 所述参考信息组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集 合中的第一参考信息组的位置信息与所述待解码信 , 组的位置信, 相同;
所述第一处理单元 12B 具体用于, 若所述第一参考信息组的参 考状态为可参考状态, 则丟弃所述待解码信息组。
可选的, 所述第一处理单元 12B还用于, 若所述第一参考信息 组的参考状态为不可参考状态, 则解析所述数据信息。
可选的, 所述可参考状态包括: 远距离可参考状态和近距离参 考状态。
可选的, 所述待解码信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
可选的, 所述待解码信息组的网络抽象层单元类型不为 IRAP 类型。
本实施例提供的视频数据解码的装置中, 待解码码流中的一待 解码信息组包含数据信 ,包、和该待解码信 ,包、组的位置信息; 若待解码 信息组的参考信息组集合中的至少一个参考信息组的位置信息与该 待解码信息组的位置信息相同, 则丟弃该待解码信息组; 或者, 若 待解码信息组的参考信息组集合中的参考信息组的位置信息与该待 解码信息组的位置信息均相同, 则解析所述数据信息。 其中, 第一 待解码信息组可以为一条带。 与现有技术提供的视频数据的解码方 法相比, 本方案中, 不需要在视频数据的编码的过程中标记条带为 基本条带或者冗余条带, 因此能够提高编码效率。 实施例七
如图 13所示, 为本发明实施例提供的一种视频数据解码的装置 12 , 用以执行图 2所示的视频数据解码的方法, 该装置 12 包括: 存储器 13A和处理器 13B , 其中,
存储器 13A用于存储一组代码, 该代码用于控制处理器 13B执 行如下动作:
确定待解码码流中的一待解码信息组以及参考信息组集合; 所 述待解码信息组包含数据信息和所述待解码信息组的位置信息; 所 述待解码码流包含基本信息组和与所述基本信息组对应的冗余信息 组, 所述基本信息组在所述待解码码流中的位置在所述冗余信息组 之前; 所述待解码信息组为基本信息组或者冗余信息组; 所述参考 信息组集合由参考信息组构成, 参考信息组是指解析所述待解码码 流中的待解码信息组的数据信息之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息与 所述待解码信息组的位置信息相同, 则丟弃所述待解码信息组; 或 者, 若所述参考信息组集合中的参考信息组的位置信息均与所述待 解码信息组的位置信息不同, 则解析所述数据信息。
可选的, 所述参考信息组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集 合中的第一参考信息组的位置信息与所述待解码信 , 组的位置信, 相同;
处理器 13 B具体用于, 若所述第一参考信息组的参考状态为可 参考状态, 则丟弃所述待解码信息组。
可选的, 处理器 13 B还用于, 若所述第一参考信息组的参考状 态为不可参考状态, 则解析所述数据信息。
可选的, 所述可参考状态包括: 远距离可参考状态和近距离参 考状态。
可选的, 所述待解码信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。 可选的, 所述待解码信息组的网络抽象层单元类型不为 IRAP 类型。
本实施例提供的视频数据解码的装置中, 待解码码流中的一待 解码信息组包含数据信 ,包、和该待解码信 ,包、组的位置信息; 若待解码 信息组的参考信息组集合中的至少一个参考信息组的位置信息与该 待解码信息组的位置信息相同, 则丟弃该待解码信息组; 或者, 若 待解码信息组的参考信息组集合中的参考信息组的位置信息与该待 解码信息组的位置信息均相同, 则解析所述数据信息。 其中, 第一 待解码信息组可以为一条带。 与现有技术提供的视频数据的解码方 法相比, 本方案中, 不需要在视频数据的编码的过程中标记条带为 基本条带或者冗余条带, 因此能够提高编码效率。 实施例八
如图 14所示, 为本发明实施例提供的一种视频数据解码的装置 14 , 用以执行图 3所示的视频数据解码的方法, 该装置 14 包括: 确定单元 14A , 用于确定待解码码流中的第一待解码信息组; 所述第一待解码信息组包含数据信息、 属' 1±信息和所述第一待解码 信息组的位置信息, 所述属性信息用于表征所述第一待解码信息组 为基本信息组或者冗余信息组;
以及, 在所述属性信息表征所述第一待解码信息组为冗余信息 组的情况下, 确定参考信息组集合; 所述参考信息组集合由参考信 息组构成, 参考信息组是指解析所述待解码码流中的待解码信 , 、组 的数据信息之后, 生成的信息组;
第一处理单元 14B , 用于若所述参考信息组集合中的至少一个 参考信息组的位置信息与所述第一待解码信息组的位置信息相同, 则丟弃所述第一待解码信息组;
或者, 第二处理单元 14C , 用于若所述参考信息组集合中的参 考信息组的位置信息均与所述第一待解码信息组的位置信息不同, 则解析所述数据信息。
需要说明的是, 具体实现时, 第一处理单元 14B 和第二处理单 元 14C可以同时存在, 图 14以它们同时存在为例进行说明。
可选的, 当所述装置包括上述第二处理单元 14C 时, 所述确定 单元 14A还用于, 确定所述待解码码流中的第二待解码信息组; 如图 15所示, 所述装置还包括: 解码单元 14D , 用于解码所述 第二待解码信息组;
更新单元 14E , 用于在解码所述第二待解码信息组之后更新所 述参考信息组集合;
所述第二处理单元 14C具体用于, 若所述更新后的参考信息组 集合中的参考信息组的位置信息均与所述第一待解码信息组的位置 信息不同, 则解析所述数据信息。
可选的, 所述第二处理单元 14C还用于, 若所述更新后的参考 信息组集合中的至少一个参考信息组的位置信息与所述第一待解码 信息组的位置信息相同, 则丟弃所述第一待编码信息组。
可选的, 所述参考信息组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集 合中的第一参考信息组的位置信息与所述第一待解码信息组的位置 信息相同;
所述第一处理单元 14B 具体用于, 若第一参考信息组的参考状 态为可参考状态, 则丟弃所述第一待解码信息组。
可选的, 所述第一处理单元 14B还用于, 若所述第一参考信息 组的参考状态为不可参考状态, 则解析所述数据信息。
可选的, 所述第一待解码信息组的属性信息位于所述第一待解 码信息组的网络抽象层单元头中。
可选的, 所述可参考状态包括: 远距离可参考状态和近距离参 考状态。
可选的, 所述第一待解码信息组的属性信息表征所述第一待解 码信息组为冗余信息组, 所述第一待解码信息组还包含与所述第一 待解码信息组对应的基本信息组的网络抽象层单元类型;
如图 15所示, 当所述装置包括所述第二处理单元 14C时, 所述 装置还包括:
替换单元 14F , 用于将所述网络抽象层单元类型替换为与所述 第一待解码信息组对应的基本信息组的网络抽象层单元类型。
可选的, 与所述第一待解码信息组对应的基本信息组的网络抽 象层单元类型位于所述第一待解码信息组的边信息集合中。
可选的, 所述第一待解码信息组为以下视频解码单位之一: 图 像、 条带、 片或者帧。
可选的, 所述第一待解码信息组的网络抽象层单元类型不为 IRAP类型。
本实施例提供的视频数据解码的装置中, 待解码码流中的第一 待解码信息组包含数据信息、 属性信息和第一待解码信息组的位置 信息; 在属性信息表征该第一待解码信息组为冗余信息组的情况下, 若第一待解码信息组的参考信息组集合中的至少一个参考信息组的 位置信息与该第一待解码信息组的位置信息相同, 则丟弃该第一待 解码信息组; 或者, 若第一待解码信息组的参考信息组集合中的参 考信息组的位置信息均与该第一待解码信息组的位置信息不同, 则 解析该数据信息。 其中, 第一待解码信息组可以为一条带。 与现有 技术提供的视频数据解码的方法相比, 本方案中, 不需要基本条带 在与该基本条带对应的冗余条带之前解码, 也就是说需要基本条带 在与该基本条带对应的冗余条带之前传输, 因此能够提高传输的灵 活性。 实施例九
如图 16所示, 为本发明实施例提供的一种视频数据解码的装置 14 , 用以执行图 3所示的视频数据解码的方法, 该装置 14 包括: 存储器 16A和处理器 16B , 其中,
存储器 16A用于存储一组代码, 该代码用于控制处理器 16B执 行如下动作:
确定待解码码流中的第一待解码信息组; 所述第一待解码信息 组包含数据信息、 属性信息和所述第一待解码信息组的位置信息, 所述属性信息用于表征所述第一待解码信息组为基本信息组或者冗 余信息组;
以及, 在所述属性信息表征所述第一待解码信息组为冗余信息 组的情况下, 确定参考信息组集合; 所述参考信息组集合由参考信 息组构成, 参考信息组是指解析所述待解码码流中的待解码信 , 、组 的数据信息之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息与 所述第一待解码信息组的位置信息相同, 则丟弃所述第一待解码信 息组;
或者, 若所述参考信息组集合中的参考信息组的位置信息均与 所述第一待解码信息组的位置信息不同, 则解析所述数据信息。
可选的, 若所述参考信息组集合中的参考信息组的位置信息均 与所述第一待解码信息组的位置信息不同, 则处理器 16B还用执行 以下动作:
确定所述待解码码流中的第二待解码信息组;
解码所述第二待解码信息组;
在解码所述第二待解码信息组之后更新所述参考信息组集合; 处理器 16B具体用于, 若所述更新后的参考信息组集合中的参 考信息组的位置信息均与所述第一待解码信息组的位置信息不同, 则解析所述数据信息。
可选的, 处理器 16B还用于, 若所述更新后的参考信息组集合 中的至少一个参考信息组的位置信息与所述第一待解码信息组的位 置信息相同, 则丟弃所述第一待编码信息组。
可选的, 所述参考信息组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态和不可参考状态; 所述参考信息组集 合中的第一参考信息组的位置信息与所述第一待解码信息组的位置 信息相同;
处理器 16B具体用于, 若所述参考信息组集合中的至少一个参 考信息组的位置信息与所述第一待解码信息组的位置信息相同, 若 第一参考信息组的参考状态为可参考状态, 则丟弃所述第一待解码 信息组。
可选的, 若所述第一参考信息组的参考状态为不可参考状态, 则解析所述数据信息。
可选的, 所述第一待解码信息组的属性信息位于所述第一待解 码信息组的网络抽象层单元头中。
可选的, 所述可参考状态包括: 远距离可参考状态和近距离参 考状态。
可选的, 所述第一待解码信息组的属性信息表征所述第一待解 码信息组为冗余信息组, 所述第一待解码信息组还包含与所述第一 待解码信息组对应的基本信息组的网络抽象层单元类型;
若所述参考信息组集合中的参考信息组的位置信息均与所述第 一待解码信息组的位置信息不同, 则处理器 16B还用于, 将所述网 络抽象层单元类型替换为与所述第一待解码信息组对应的基本信息 组的网络抽象层单元类型。
可选的, 与所述第一待解码信息组对应的基本信息组的网络抽 象层单元类型位于所述第一待解码信息组的边信息集合中。 可选的, 所述第一待解码信息组为以下视频解码单位之一: 图 像、 条带、 片或者帧。
可选的, 所述第一待解码信息组的网络抽象层单元类型不为
IRAP类型。
本实施例提供的视频数据解码的装置中, 待解码码流中的第一 待解码信息组包含数据信息、 属性信息和第一待解码信息组的位置 信息; 在属性信息表征该第一待解码信息组为冗余信息组的情况下, 若第一待解码信息组的参考信息组集合中的至少一个参考信息组的 位置信息与该第一待解码信息组的位置信息相同, 则丟弃该第一待 解码信息组; 或者, 若第一待解码信息组的参考信息组集合中的参 考信息组的位置信息均与该第一待解码信息组的位置信息不同, 则 解析该数据信息。 其中, 第一待解码信息组可以为一条带。 与现有 技术提供的视频数据解码的方法相比, 本方案中, 不需要基本条带 在与该基本条带对应的冗余条带之前解码, 也就是说需要基本条带 在与该基本条带对应的冗余条带之前传输, 因此能够提高传输的灵 活性。 所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描述的系统, 装置和单元的具体工作过程, 可以参考前述方法 实施例中的对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑 功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或 不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分 开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可 以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实 际的需要选择其中的部分或者全部单元来实现本实施例方案的 目 的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理包括, 也可以两个或两个以 上单元集成在一个单元中。 上述集成的单元既可以采用硬件的形式 实现, 也可以采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一 个计算机可读取存储介质中。 上述软件功能单元存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U盘、 移动硬盘、 ROM ( Read-Only Memory , 只读存储器)、 RAM ( Random Access Memory , 随机存取 存储器)、 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记 载的技术方案进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实 施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种视频数据编码的方法, 其特征在于, 包括:
确定待编码视频序列中的一待编码信息组; 所述待编码信息组包 含第一待编码数据;
生成与所述待编码信息组对应的冗余信息组; 所述冗余信息组包 含第二待编码数据, 所述冗余信息组的位置信息与所述待编码信 , 组 在所述待编码视频序列中的位置信息相同;
对所述第一待编码数据和所述位置信息进行编码, 生成第一信, 组;
对所述第二待编码数据和所述位置信息进行编码, 生成第二信, 组。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述对所述第二 待编码数据和所述位置信息进行编码, 生成第二信息组, 包括: 当参考信息组集合中包含所述第一信息组时, 对所述第二待编码 数据和所述位置信息进行编码, 生成第二信息组; 所述参考信息组集 合由参考信息组构成, 参考信息组是指编码所述待编码视频序列中的 待编码信息组之后生成的信息组。
3、 根据权利要求 1 所述的方法, 其特征在于, 所述对所述第一 待编码数据和所述位置信息进行编码, 生成第一信息组, 包括: 对所述第一待编码数据、 所述位置信息和第一信, 、组的属' ti信 , 进行编码, 生成所述第一信息组; 所述第一信息组的属性信息用于表 征所述第一信息组为基本信息组。
4、 根据权利要求 3 所述的方法, 其特征在于, 所述第一信息组 的属性信息位于所述第一信息组的网络抽象层单元头中。
5、 根据权利要求 1 所述的方法, 其特征在于, 所述对所述第二 待编码数据和所述位置信息进行编码, 生成第二信息组, 包括: 对所述第二待编码数据、 所述位置信息、 第二信息组的属性信息 和所述第一信息组的网络抽象层单元类型进行编码, 生成所述第二信 息组; 所述第二信息组的属性信息用于表征所述第二信息组为冗余信 息组。
6、 根据权利要求 5 所述的方法, 其特征在于, 所述第二信息组 的属性信息位于所述第二信息组的网络抽象层单元头中。
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述第一信 息组的网络抽象层单元类型位于所述第二信息组的边信息集合中。
8、 根据权利要求 1 所述的方法, 其特征在于, 所述位置信息包 括: 所述待编码信息组在所述待编码视频序列中的显示位置, 或者所 述待编码信息组在所述待编码视频序列中的编码位置。
9、 根据权利要求 1 所述的方法, 其特征在于, 所述待编码信息 组为以下视频编码单位之一: 图像、 条带、 片或者帧。
10、 根据权利要求 1所述的方法, 其特征在于, 所述生成与所述 待编码信息组对应的冗余信息组, 包括:
确定所述待编码信息组中的待参考信息; 所述待参考信息是指被 所述待编码视频序列中的其他待编码信息组参考的信息;
生成与所述待参考信息对应的冗余信息组。
1 1、 根据权利要求 1所述的方法, 其特征在于, 所述第一信息组 的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
12、 一种视频数据解码的方法, 其特征在于, 包括:
确定待解码码流中的一待解码信息组以及参考信息组集合; 所述 待解码信息组包含数据信 , 和所述待解码信 , 组的位置信息; 所述待 解码码流包含基本信息组和与所述基本信息组对应的冗余信息组, 所 述基本信息组在所述待解码码流中的位置在所述冗余信息组之前; 所 述待解码信息组为基本信息组或者冗余信息组; 所述参考信息组集合 由参考信息组构成, 参考信息组是指解析所述待解码码流中的待解码 信息组的数据信息之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息与 所述待解码信息组的位置信息相同, 则丟弃所述待解码信息组;
或者, 若所述参考信息组集合中的参考信息组的位置信息均与所 述待解码信息组的位置信息不同, 则解析所述数据信息。
13、 根据权利要求 12 所述的方法, 其特征在于, 所述参考信息 组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态 和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信 息与所述待解码信息组的位置信息相同;
若所述参考信息组集合中的至少一个参考信息组的位置信息与 所述待解码信息组的位置信息相同,则丟弃所述待解码信息组, 包括: 若所述第一参考信息组的参考状态为可参考状态, 则丟弃所述待 解码信息组。
14、 根据权利要求 13 所述的方法, 其特征在于, 所述方法还包 括:
若所述第一参考信息组的参考状态为不可参考状态, 则解析所述 数据信息。
15、 根据权利要求 13 所述的方法, 其特征在于, 所述可参考状 态包括: 远距离可参考状态和近距离参考状态。
16、 根据权利要求 12 所述的方法, 其特征在于, 所述待解码信 息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
17、 根据权利要求 12 所述的方法, 其特征在于, 所述待解码信 息组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
18、 一种视频数据解码的方法, 其特征在于, 包括:
确定待解码码流中的第一待解码信息组; 所述第一待解码信息组 包含数据信息、 属性信息和所述第一待解码信息组的位置信息, 所述 属性信息用于表征所述第一待解码信息组为基本信息组或者冗余信 息组;
在所述属性信息表征所述第一待解码信息组为冗余信息组的情 况下,确定参考信息组集合;所述参考信息组集合由参考信息组构成, 参考信息组是指解析所述待解码码流中的待解码信息组的数据信息 之后, 生成的信息组;
若所述参考信息组集合中的至少一个参考信息组的位置信息与 所述第一待解码信息组的位置信息相同, 则丟弃所述第一待解码信息 组; 或者, 若所述参考信息组集合中的参考信息组的位置信息均与所 述第一待解码信息组的位置信息不同, 则解析所述数据信息。
19、 根据权利要求 18 所述的方法, 其特征在于, 所述若参考信 息组集合中的参考信息组的位置信息均与所述第一待解码信息组的 位置信息不同, 在解析所述数据信息之前, 所述方法还包括:
确定所述待解码码流中的第二待解码信息组;
解码所述第二待解码信息组;
在解码所述第二待解码信息组之后更新所述参考信息组集合; 所述解析所述数据信息, 包括:
若所述更新后的参考信息组集合中的参考信息组的位置信息均 与所述第一待解码信息组的位置信息不同, 则解析所述数据信息。
20、 根据权利要求 19 所述的方法, 其特征在于, 所述方法还包 括:
若所述更新后的参考信息组集合中的至少一个参考信息组的位 置信息与所述第一待解码信息组的位置信息相同, 则丟弃所述第一待 编码信息组。
21、 根据权利要求 18 所述的方法, 其特征在于, 所述参考信息 组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态 和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信 息与所述第一待解码信息组的位置信息相同;
若参考信息组集合中的至少一个参考信息组的位置信息与所述 第一待解码信息组的位置信息相同, 则丟弃所述第一待解码信息组, 包括:
若第一参考信息组的参考状态为可参考状态, 则丟弃所述第一待 解码信息组。
22、 根据权利要求 21 所述的方法, 其特征在于, 所述方法还包 括:
若所述第一参考信息组的参考状态为不可参考状态, 则解析所述 数据信息。
23、 根据权利要求 18 所述的方法, 其特征在于, 所述第一待解 码信息组的属性信息位于所述第一待解码信息组的网络抽象层单元 头中。
24、 根据权利要求 21 所述的方法, 其特征在于, 所述可参考状 态包括: 远距离可参考状态和近距离参考状态。
25、 根据权利要求 18-24任一项所述的方法, 其特征在于, 所述 第一待解码信息组的属性信息表征所述第一待解码信息组为冗余信 息组, 所述第一待解码信息组还包含与所述第一待解码信息组对应的 基本信息组的网络抽象层单元类型;
在参考信息组集合中的参考信息组的位置信息均与所述第一待 解码信息组的位置信息不同的情况下, 解析所述数据信息之后, 所述 方法还包括:
将所述网络抽象层单元类型替换为与所述第一待解码信息组对 应的基本信息组的网络抽象层单元类型。
26、 根据权利要求 25 所述的方法, 其特征在于, 与所述第一待 解码信息组对应的基本信息组的网络抽象层单元类型位于所述第一 待解码信息组的边信息集合中。
27、 根据权利要求 18 所述的方法, 其特征在于, 所述第一待解 码信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
28、 根据权利要求 18 所述的方法, 其特征在于, 所述第一待解 码信息组的网络抽象层单元类型不为 IRAP类型。
29、 一种视频数据编码的装置, 其特征在于, 包括:
确定单元, 用于确定待编码视频序列中的一待编码信息组; 所述 待编码信息组包含第一待编码数据;
生成单元, 用于生成与所述待编码信息组对应的冗余信息组; 所 述冗余信息组包含第二待编码数据, 所述冗余信息组的位置信息与所 述待编码信息组在所述待编码视频序列中的位置信息相同;
第一编码单元, 用于对所述第一待编码数据和所述位置信息进行 编码, 生成第一信息组;
第二编码单元, 用于对所述第二待编码数据和所述位置信息进行 编码, 生成第二信息组。
30、 根据权利要求 29所述的装置, 其特征在于,
所述第二编码单元具体用于, 当参考信息组集合中包含所述第一 信息组时, 对所述第二待编码数据和所述位置信息进行编码, 生成第 二信息组; 所述参考信息组集合由参考信息组构成, 参考信息组是指 编码所述待编码视频序列中的待编码信息组之后生成的信息组。
3 1、 根据权利要求 29所述的装置, 其特征在于,
所述第一编码单元具体用于, 对所述第一待编码数据、 所述位置 信息和第一信息组的属性信息进行编码, 生成所述第一信息组; 所述 第一信息组的属性信息用于表征所述第一信息组为基本信息组。
32、 根据权利要求 3 1 所述的装置, 其特征在于, 所述第一信息 组的属性信息位于所述第一信息组的网络抽象层单元头中。
33、 根据权利要求 29所述的装置, 其特征在于, 所述第二编码单元具体用于, 对所述第二待编码数据、 所述位置 信息、 第二信息组的属性信息和所述第一信息组的网络抽象层单元类 型进行编码, 生成所述第二信息组; 所述第二信息组的属性信息用于 表征所述第二信息组为冗余信息组。
34、 根据权利要求 33 所述的装置, 其特征在于, 所述第二信息 组的属性信息位于所述第二信息组的网络抽象层单元头中。
35、 根据权利要求 33或 34所述的装置, 其特征在于, 所述第一 信息组的网络抽象层单元类型位于所述第二信息组的边信息集合中。
36、 根据权利要求 29 所述的装置, 其特征在于, 所述位置信息 包括: 所述待编码信息组在所述待编码视频序列中的显示位置, 或者 所述待编码信息组在所述待编码视频序列中的编码位置。
37、 根据权利要求 29 所述的装置, 其特征在于, 所述待编码信 息组为以下视频编码单位之一: 图像、 条带、 片或者帧。
38、 根据权利要求 29 所述的装置, 其特征在于, 所述生成单元 包括:
确定子单元, 用于确定所述待编码信息组中的待参考信息; 所述 待参考信息是指被所述待编码视频序列中的其他待编码信息组参考 的信息;
生成子单元, 用于生成与所述待参考信息对应的冗余信息组。
39、 根据权利要求 29 所述的装置, 其特征在于, 所述第一信息 组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
40、 一种视频数据解码的装置, 其特征在于, 包括:
确定单元, 用于确定待解码码流中的一待解码信息组以及参考信 息组集合; 所述待解码信息组包含数据信 , 和所述待解码信 , 组的位 置信息; 所述待解码码流包含基本信息组和与所述基本信息组对应的 冗余信息组, 所述基本信息组在所述待解码码流中的位置在所述冗余 信息组之前; 所述待解码信息组为基本信息组或者冗余信息组; 所述 参考信息组集合由参考信息组构成, 参考信息组是指解析所述待解码 码流中的待解码信息组的数据信息之后, 生成的信息组;
第一处理单元, 用于若所述参考信息组集合中的至少一个参考信 息组的位置信息与所述待解码信息组的位置信息相同, 则丟弃所述待 解码信息组; 或者, 第二处理单元, 用于若所述参考信息组集合中的 参考信息组的位置信息均与所述待解码信息组的位置信息不同, 则解 析所述数据信息。
41、 根据权利要求 40 所述的装置, 其特征在于, 所述参考信息 组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态 和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信 息与所述待解码信息组的位置信息相同;
所述第一处理单元具体用于, 若所述第一参考信息组的参考状态 为可参考状态, 则丟弃所述待解码信息组。
42、 根据权利要求 41所述的装置, 其特征在于,
所述第一处理单元还用于, 若所述第一参考信息组的参考状态为 不可参考状态, 则解析所述数据信息。
43、 根据权利要求 41 所述的装置, 其特征在于, 所述可参考状 态包括: 远距离可参考状态和近距离参考状态。
44、 根据权利要求 40 所述的装置, 其特征在于, 所述待解码信 息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
45、 根据权利要求 40 所述的装置, 其特征在于, 所述待解码信 息组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
46、 一种视频数据解码的装置, 其特征在于, 包括:
确定单元, 用于确定待解码码流中的第一待解码信息组; 所述第 一待解码信息组包含数据信息、属性信息和所述第一待解码信息组的 位置信息, 所述属性信息用于表征所述第一待解码信息组为基本信息 组或者冗余信息组;
以及, 在所述属性信息表征所述第一待解码信息组为冗余信息组 的情况下, 确定参考信息组集合; 所述参考信息组集合由参考信息组 构成, 参考信息组是指解析所述待解码码流中的待解码信 ,包、组的数据 信息之后, 生成的信息组;
第一处理单元, 用于若所述参考信息组集合中的至少一个参考信 息组的位置信息与所述第一待解码信息组的位置信息相同, 则丟弃所 述第一待解码信息组;
或者, 第二处理单元, 用于若所述参考信息组集合中的参考信息 组的位置信息均与所述第一待解码信息组的位置信息不同, 则解析所 述数据信息。
47、 根据权利要求 46所述的装置, 其特征在于,
当所述装置包括上述第二处理单元时, 所述确定单元还用于, 确 定所述待解码码流中的第二待解码信息组;
所述装置还包括: 解码单元, 用于解码所述第二待解码信息组; 更新单元, 用于在解码所述第二待解码信息组之后更新所述参考 信息组集合;
所述第二处理单元具体用于, 若所述更新后的参考信息组集合中 的参考信息组的位置信息均与所述第一待解码信息组的位置信息不 同, 则解析所述数据信息。
48、 根据权利要求 47所述的装置, 其特征在于,
所述第二处理单元还用于, 若所述更新后的参考信息组集合中的 至少一个参考信息组的位置信息与所述第一待解码信息组的位置信 息相同, 则丟弃所述第一待编码信息组。
49、 根据权利要求 46 所述的装置, 其特征在于, 所述参考信息 组集合中的参考信息组包含参考状态, 所述参考状态包括可参考状态 和不可参考状态; 所述参考信息组集合中的第一参考信息组的位置信 息与所述第一待解码信息组的位置信息相同;
所述第一处理单元具体用于, 若第一参考信息组的参考状态为可 参考状态, 则丟弃所述第一待解码信息组。
50、 根据权利要求 49所述的装置, 其特征在于,
所述第一处理单元还用于, 若所述第一参考信息组的参考状态为 不可参考状态, 则解析所述数据信息。
51、 根据权利要求 46 所述的装置, 其特征在于, 所述第一待解 码信息组的属性信息位于所述第一待解码信息组的网络抽象层单元 头中。
52、 根据权利要求 49 所述的装置, 其特征在于, 所述可参考状 态包括: 远距离可参考状态和近距离参考状态。
53、 根据权利要求 46-52任一项所述的装置, 其特征在于, 所述 第一待解码信息组的属性信息表征所述第一待解码信息组为冗余信 息组, 所述第一待解码信息组还包含与所述第一待解码信息组对应的 基本信息组的网络抽象层单元类型;
当所述装置包括所述第二处理单元时, 所述装置还包括: 替换单元, 用于将所述网络抽象层单元类型替换为与所述第一待 解码信息组对应的基本信息组的网络抽象层单元类型。
54、 根据权利要求 53 所述的装置, 其特征在于, 与所述第一待 解码信息组对应的基本信息组的网络抽象层单元类型位于所述第一 待解码信息组的边信息集合中。
55、 根据权利要求 46 所述的装置, 其特征在于, 所述第一待解 码信息组为以下视频解码单位之一: 图像、 条带、 片或者帧。
56、 根据权利要求 46 所述的装置, 其特征在于, 所述第一待解 码信息组的网络抽象层单元类型不为帧内随机接入点 IRAP类型。
PCT/CN2014/083134 2013-12-31 2014-07-28 一种视频数据编码、解码的方法和装置 Ceased WO2015101031A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2016543667A JP6291064B2 (ja) 2013-12-31 2014-07-28 ビデオデータを符号化及び復号化する方法と装置
EP14876548.0A EP3076651A4 (en) 2013-12-31 2014-07-28 METHODS AND DEVICES FOR ENCODING / DECODING VIDEO DATA
KR1020167020210A KR101858040B1 (ko) 2013-12-31 2014-07-28 비디오 데이터 인코딩 및 디코딩 방법 및 장치
US15/199,157 US20160316211A1 (en) 2013-12-31 2016-06-30 Video Data Coding and Decoding Methods and Apparatuses

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310754175.7 2013-12-31
CN201310754175.7A CN104754341B (zh) 2013-12-31 2013-12-31 一种视频数据编码、解码的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/199,157 Continuation US20160316211A1 (en) 2013-12-31 2016-06-30 Video Data Coding and Decoding Methods and Apparatuses

Publications (1)

Publication Number Publication Date
WO2015101031A1 true WO2015101031A1 (zh) 2015-07-09

Family

ID=53493137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083134 Ceased WO2015101031A1 (zh) 2013-12-31 2014-07-28 一种视频数据编码、解码的方法和装置

Country Status (6)

Country Link
US (1) US20160316211A1 (zh)
EP (1) EP3076651A4 (zh)
JP (1) JP6291064B2 (zh)
KR (1) KR101858040B1 (zh)
CN (1) CN104754341B (zh)
WO (1) WO2015101031A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10542288B2 (en) 2014-06-18 2020-01-21 Telefonaktiebolaget Lm Ericsson (Publ) Random access in a video bitstream
EP3158752B1 (en) * 2014-06-18 2021-08-04 Telefonaktiebolaget LM Ericsson (publ) Dependent random access point pictures
WO2015192989A1 (en) * 2014-06-18 2015-12-23 Telefonaktiebolaget L M Ericsson (Publ) Robust encoding and decoding of pictures in video
US10116576B2 (en) * 2015-10-19 2018-10-30 Samsung Electronics Co., Ltd. Methods and apparatus for random access of HEVC bitstream for MMT
US10999590B2 (en) 2018-12-28 2021-05-04 Tencent America LLC Method for identification of random access point and picture types
US20260006221A1 (en) * 2024-06-28 2026-01-01 Ati Technologies Ulc Parallel slice encoding across gpus with predicated multi-reference image

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080199094A1 (en) * 2005-07-20 2008-08-21 Hae Chul Choi Method of Redundant Picture Coding Using Polyphase Downsampling and the Codes Using the Method
CN101695134A (zh) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 一种弱信号环境下提高终端播放性能的终端、系统及方法
CN101753270A (zh) * 2009-12-28 2010-06-23 杭州华三通信技术有限公司 一种编码发送方法和装置
WO2013046698A1 (ja) * 2011-09-28 2013-04-04 パナソニック株式会社 データ処理装置及びデータ処理方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040218669A1 (en) * 2003-04-30 2004-11-04 Nokia Corporation Picture coding method
US20050201471A1 (en) 2004-02-13 2005-09-15 Nokia Corporation Picture decoding method
KR100889745B1 (ko) * 2006-01-09 2009-03-24 한국전자통신연구원 날 유닛 타입 표시방법 및 그에 따른 비트스트림 전달장치및 리던던트 슬라이스 부호화 장치
FR2898754B1 (fr) * 2006-03-17 2008-06-13 Thales Sa Procede de protection de donnees multimedia au moyen de couches d'abstraction reseau (nal) supplementaires
JP5313880B2 (ja) * 2006-04-20 2013-10-09 トムソン ライセンシング 冗長ビデオ符号化方法および装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080199094A1 (en) * 2005-07-20 2008-08-21 Hae Chul Choi Method of Redundant Picture Coding Using Polyphase Downsampling and the Codes Using the Method
CN101695134A (zh) * 2009-10-15 2010-04-14 中兴通讯股份有限公司 一种弱信号环境下提高终端播放性能的终端、系统及方法
CN101753270A (zh) * 2009-12-28 2010-06-23 杭州华三通信技术有限公司 一种编码发送方法和装置
WO2013046698A1 (ja) * 2011-09-28 2013-04-04 パナソニック株式会社 データ処理装置及びデータ処理方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3076651A4 *

Also Published As

Publication number Publication date
JP6291064B2 (ja) 2018-03-14
CN104754341B (zh) 2019-02-26
JP2017507535A (ja) 2017-03-16
KR101858040B1 (ko) 2018-05-15
EP3076651A1 (en) 2016-10-05
CN104754341A (zh) 2015-07-01
EP3076651A4 (en) 2016-10-12
KR20160102062A (ko) 2016-08-26
US20160316211A1 (en) 2016-10-27

Similar Documents

Publication Publication Date Title
WO2015101031A1 (zh) 一种视频数据编码、解码的方法和装置
RU2581566C2 (ru) Сигнализация опорного изображения
KR102295788B1 (ko) 데이터 스트리밍의 순방향 오류 정정
CN101272495B (zh) 用于传输基于分组的图像帧的方法和装置
EP2721814B1 (en) Method and apparatus for transmitting/receiving media contents in multimedia system
ES2592811T3 (es) Método y sistema para determinar un valor de calidad de un flujo continuo de vídeo
JP2015501098A5 (zh)
US20110249729A1 (en) Error resilient hierarchical long term reference frames
CN113316028B (zh) 投屏方法、投屏设备及存储介质
WO2011091769A1 (zh) 一种纠错校验方法、设备和系统
JP2015501098A (ja) 復号化されたピクチャのバッファおよび基準ピクチャのリストのための状態情報の信号化
US10313703B2 (en) Video data encoding and decoding methods and apparatuses
CN101742289B (zh) 视频码流压缩方法、系统及装置
US9264737B2 (en) Error resilient transmission of random access frames and global coding parameters
US9246830B2 (en) Method and apparatus for multimedia queue management
US20130114743A1 (en) Encoder, decoder and methods thereof for reference picture management
WO2022143902A1 (zh) 数据包传输方法及相关设备
CN102223218B (zh) 媒体报文重传抑制方法和设备
CN102870416A (zh) 运动图像编码装置以及运动图像解码装置
KR102118678B1 (ko) 부호화된 비디오 스트림 전송 장치 및 방법
CN109862400B (zh) 一种流媒体传输方法、装置及其系统
US10116415B2 (en) Transmission device, receiving device, transmission method, and receiving method
WO2025040105A1 (zh) 一种视频码流处理方法、装置、设备及可读存储介质
CN105407351B (zh) 一种从实时传输协议数据包中重建编码方式的方法和装置
CN110691212A (zh) 数据编解码的方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14876548

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016543667

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014876548

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014876548

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20167020210

Country of ref document: KR

Kind code of ref document: A