6ea220cbee 
								
							
								 
							
						 
						
							
							
								
								h264_sei: Add namespace prefix to all SEI values  
							
							This avoids confusion with equivalent H.265 SEI values when both are
being used at the same time. 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7b2bb5391 
								
							
								 
							
						 
						
							
							
								
								h264_sei: Check actual presence of picture timing SEI message  
							
							Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4c2103bd3 
								
							
								 
							
						 
						
							
							
								
								golomb: Convert to the new bitstream reader  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c2fb561d9 
								
							
								 
							
						 
						
							
							
								
								h264: add H264_ prefix to the NAL unit types  
							
							This will prevent conflicts e.g. in code that deals with both h264 and
hevc. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b24dafe105 
								
							
								 
							
						 
						
							
							
								
								lavc: drop unnecessary h264dec.h includes  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f638b67e57 
								
							
								 
							
						 
						
							
							
								
								h264: move the parameter set definitions to a new header file  
							
							The PS parsing code is independent from the decoder, so it makes more
sense for it to have its own separate header. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								251cbb4400 
								
							
								 
							
						 
						
							
							
								
								h264: create a new header for common h264 definitions  
							
							Move the NAL unit types into it. This will allow to stop including the
whole decoder-specific h264dec.h in some code that is unrelated to the
decoder and only needs some enum values. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9df889a5f1 
								
							
								 
							
						 
						
							
							
								
								h264: rename h264.[ch] to h264dec.[ch]  
							
							This is more consistent with the naming of other decoders. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72da8d9bb2 
								
							
								 
							
						 
						
							
							
								
								h264_parser: remove the remaining dependencies on the h264 decoder  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98c97994c5 
								
							
								 
							
						 
						
							
							
								
								h264: decouple extradata parsing from the decoder  
							
							This will allow decoupling the parser from the decoder. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								728d90a0c1 
								
							
								 
							
						 
						
							
							
								
								h264: decouple h264_sei from the h264 decoder  
							
							Make the SEI parsing independent of the H264Context, to allow
decoupling the parser from the decoder. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c8dcff0cdb 
								
							
								 
							
						 
						
							
							
								
								h264: factor out calculating the POC count into a separate file  
							
							This will allow decoupling the parser from the decoder. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								113aeee6ae 
								
							
								 
							
						 
						
							
							
								
								h264_parser: move the H264DSPContext to the parser context  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3176217c60 
								
							
								 
							
						 
						
							
							
								
								h264: decouple h264_ps from the h264 decoder  
							
							Make the SPS/PPS parsing independent of the H264Context, to allow
decoupling the parser from the decoder. The change is modelled after the
one done earlier for HEVC.
Move the dequant buffers to the PPS to avoid complex checks whether they
changed and an expensive copy for frame threads. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44d16df413 
								
							
								 
							
						 
						
							
							
								
								h264_parser: eliminate H264SliceContext usage  
							
							It is no longer needed for anything. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6e27f7add 
								
							
								 
							
						 
						
							
							
								
								h264: factor out parsing the reference count into a separate file  
							
							This will allow decoupling the parser from the decoder. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e9f884416c 
								
							
								 
							
						 
						
							
							
								
								h264: move reading direct_spatial_mv_pred out of ff_set_ref_count()  
							
							It has nothing to do with the reference count and so does not belong in
this function. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d0cc8ca97 
								
							
								 
							
						 
						
							
							
								
								h264_parser: switch to h2645_parse for NAL unescaping  
							
							Remove now unused ff_h264_decode_nal(). 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e481458bc3 
								
							
								 
							
						 
						
							
							
								
								h264: factor out pred weight table parsing into a separate file  
							
							This will allow decoupling the parser from the decoder. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a7da517f6a 
								
							
								 
							
						 
						
							
							
								
								h264data: Move all data tables from a header to a .c file  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								02cd8bb9cb 
								
							
								 
							
						 
						
							
							
								
								h264: Clean up #includes  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8161220eee 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Rename close() to h264_close()  
							
							At least on AIX it conflicts with the close() libc function from unistd.h. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bf3c0fa49 
								
							
								 
							
						 
						
							
							
								
								h264: drop the now unused per-slice H264Contexts  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3178f4d33f 
								
							
								 
							
						 
						
							
							
								
								h264: move rbsp_buffer into the per-slice context  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f42485dbce 
								
							
								 
							
						 
						
							
							
								
								h264: use a separate GetBitContext for slice data  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								95eb35f305 
								
							
								 
							
						 
						
							
							
								
								h264: move the ref lists variables into the per-slice context  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56febc993b 
								
							
								 
							
						 
						
							
							
								
								h264: move the slice type variables into the per-slice context  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92c6c2a605 
								
							
								 
							
						 
						
							
							
								
								h264: split weighted pred-related vars into per-slice context  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31d2039cb4 
								
							
								 
							
						 
						
							
							
								
								h264_parser: export video format and dimensions  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58ae8d5957 
								
							
								 
							
						 
						
							
							
								
								h264_parser: restore a comment lost in  0268a54 
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9404a47a2d 
								
							
								 
							
						 
						
							
							
								
								h264: move parser-only variables to their own context  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b66726906 
								
							
								 
							
						 
						
							
							
								
								h264_parser: don't stop on SPS_EXT in split  
							
							Add SPS_EXT, SEI, and subset SPS to codes that are skipped during split.
These codes can come before the PPS and results in incomplete extradata. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f929ab0569 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Write NULL pointer equality checks more compactly  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db7f1c7c5a 
								
							
								 
							
						 
						
							
							
								
								h264: Move start code search functions into separate source files.  
							
							This permits re-use with parsers for codecs which use similar start codes.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0c16e4e32 
								
							
								 
							
						 
						
							
							
								
								mpegvideo: move mpegvideo formats-related defines to mpegutils.h  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dc971acf4a 
								
							
								 
							
						 
						
							
							
								
								h264_parser: use enum values in h264_find_frame_end()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73e8fab31d 
								
							
								 
							
						 
						
							
							
								
								h264: print values in case of error  
							
							Also make error style consistent and drop redundant information. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								103d073dd7 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Use ff_h264_reset_sei()  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19f5384000 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Fix order of operations  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4baba6c813 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Fix POC parsing for the case where MMCO_RESET is present.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b81dbd6cb7 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.  
							
							The prev_ values were not set after parsing POC.
Increase length of the buffer decoded to parse enough safely.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								218d6844b3 
								
							
								 
							
						 
						
							
							
								
								h264dsp: Factorize code into a new function, h264_find_start_code_candidate  
							
							This performs the start code search which was previously part of
h264_find_frame_end() - the most CPU intensive part of the function.
By itself, this results in a performance regression:
              Before          After
              Mean   StdDev   Mean   StdDev  Change
Overall time  2925.6 26.2     3068.5 31.7    -4.7%
but this can more than be made up for by platform-optimised
implementations of the function.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a82022ee2 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Initialize the h264dsp context in the parser as well  
							
							Each AVStream struct for an H.264 elementary stream actually has two
copies of the H264DSPContext struct (and in fact all the other members
of H264Context as well):
((H264Context *) ((AVStream *)st)->codec->priv_data)->h264dsp
((H264Context *) ((AVStream *)st)->parser->priv_data)->h264dsp
but only the first of these was actually being initialised. This
prevented the addition of platform-specific implementations of
parser-related functions.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8b19271c3 
								
							
								 
							
						 
						
							
							
								
								avcodec: Add output_picture_number to AVCodecParserContext  
							
							Set output_picture_number in H.264 parser.
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8a4d5e970 
								
							
								 
							
						 
						
							
							
								
								h264_parser: K&R formatting cosmetics  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f1a7ceb2c 
								
							
								 
							
						 
						
							
							
								
								h264_parser: Set field_order and picture_structure.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6fee1b90ce 
								
							
								 
							
						 
						
							
							
								
								avcodec: Add av_cold attributes to init functions missing them  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								088f38a4f9 
								
							
								 
							
						 
						
							
							
								
								avcodec: Drop unnecessary ff_ name prefixes from static functions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1e9398621 
								
							
								 
							
						 
						
							
							
								
								lavc: Rename avpriv_mpv_find_start_code after moving out from mpegvideo  
							
							Also move the declaration to internal.h, and add restrict qualifiers
to the declaration (as in the implementation).
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago