diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2013-10-21 11:49:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-22 20:20:40 +0200 |
commit | 0c8aba3842a718eb9139fc88b7b60dc79e127bd7 (patch) | |
tree | 5f688a62b6e74e920f54450cc4a313ebcfe06877 /libavcodec/hevc_sei.c | |
parent | e146c326b91297ff900db632eb0dba30289e9ee6 (diff) | |
download | ffmpeg-0c8aba3842a718eb9139fc88b7b60dc79e127bd7.tar.gz |
hevc: add wavefront parallel processing
cherry picked from commit b971f2c8fdc60f8bab605a6e8060492eb548a53a
cherry picked from commit e57b0a2c915ce6b8a9d57b8292f6581f0680842e
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc_sei.c')
-rw-r--r-- | libavcodec/hevc_sei.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index abdbc001e1..1a964477de 100644 --- a/libavcodec/hevc_sei.c +++ b/libavcodec/hevc_sei.c @@ -31,7 +31,7 @@ static void decode_nal_sei_decoded_picture_hash(HEVCContext *s, int payload_size uint8_t hash_type; //uint16_t picture_crc; //uint32_t picture_checksum; - GetBitContext *gb = &s->HEVClc.gb; + GetBitContext *gb = &s->HEVClc->gb; hash_type = get_bits(gb, 8); @@ -79,7 +79,7 @@ static void decode_nal_sei_frame_packing_arrangement(HEVCLocalContext *lc) static int decode_nal_sei_message(HEVCContext *s) { - GetBitContext *gb = &s->HEVClc.gb; + GetBitContext *gb = &s->HEVClc->gb; int payload_type = 0; int payload_size = 0; @@ -99,7 +99,7 @@ static int decode_nal_sei_message(HEVCContext *s) if (payload_type == 256 /*&& s->decode_checksum_sei*/) decode_nal_sei_decoded_picture_hash(s, payload_size); else if (payload_type == 45) - decode_nal_sei_frame_packing_arrangement(&s->HEVClc); + decode_nal_sei_frame_packing_arrangement(s->HEVClc); else { av_log(s->avctx, AV_LOG_DEBUG, "Skipped PREFIX SEI %d\n", payload_type); skip_bits(gb, 8*payload_size); @@ -124,6 +124,6 @@ int ff_hevc_decode_nal_sei(HEVCContext *s) { do { decode_nal_sei_message(s); - } while (more_rbsp_data(&s->HEVClc.gb)); + } while (more_rbsp_data(&s->HEVClc->gb)); return 0; } |