0711d14299 
								
							
								 
							
						 
						
							
							
								
								examples: Use new API for transcoding example  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1efbbfedca 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: do not set the deprecated field refcounted_frames  
							
							It is used by the deprecated API avcodec_decode_video2 and ignored by the
new decode APIs (avcodec_send_packet/avcodec_receive_frame).
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ecc5c4db2d 
								
							
								 
							
						 
						
							
							
								
								doc/examples/output: Cast pointer to the right (const) type  
							
							doc/examples/output.c:512:33: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f25609ff06 
								
							
								 
							
						 
						
							
							
								
								doc/examples/filter_audio: const correctness  
							
							doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b200a2c8da 
								
							
								 
							
						 
						
							
							
								
								examples: Fixed and extended Doxygen documentation  
							
							Added parameter descriptions for all functions
 and converted in-function comments into regular
 (non-Doxygen) comments.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c483398bb7 
								
							
								 
							
						 
						
							
							
								
								build: Drop DOC_ prefix from EXAMPLES-related variables  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab566cc96b 
								
							
								 
							
						 
						
							
							
								
								build: Separate logic for building examples from that for building avtools  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								acb0dea27e 
								
							
								 
							
						 
						
							
							
								
								build: Split logic for building examples off into a separate Makefile  
							
							
								
							
							
						 
						8 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a91f1023bc 
								
							
								 
							
						 
						
							
							
								
								examples: fix a typo in an error message  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7ab0eb305 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: allocate the packet dynamically  
							
							AVPackets on stack are discouraged. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								728ea23cce 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: switch to the new decoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f78d360bba 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: use a parser for splitting the input  
							
							Do not rely on the decoder handling this, as it's not guaranteed to
work. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59ab9e8ba1 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: allocate the packet dynamically  
							
							AVPackets on stack are discouraged. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5f102a9559 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: switch to the new encoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fee0f1de2c 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: flush the decoder  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9a38184a14 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: allocate the packet dynamically  
							
							AVPackets on stack are discouraged now. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45a1ce2ff7 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: handle planar audio now produced by the MP2 decoder  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d66717f7c 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: use the new audio decoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0946c754d9 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: use a parser for splitting the input  
							
							Do not rely on the decoder handling this, as it's not guaranteed to
work. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f27e262dbd 
								
							
								 
							
						 
						
							
							
								
								examples/encode_audio: switch to the new audio encoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44c9f374f1 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: convert to the new decoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1dd2b6c91c 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: switch to the hwcontext API  
							
							The code now does not depend on VA and will work on windows as well. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb265b764a 
								
							
								 
							
						 
						
							
							
								
								examples/transcode_aac: Drop pointless return value const qualifier  
							
							doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe92dfe60 
								
							
								 
							
						 
						
							
							
								
								Ignore all generated example binaries  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								905cdcaa9d 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: Add missing header for av_free()  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								636515c324 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: remove a stray unrelated comment  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8191f960a6 
								
							
								 
							
						 
						
							
							
								
								examples/decode_video: constify the AVCodec instance  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b4d7ac7ae 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: use the AVFrame API for allocating the frame  
							
							It is more efficient and so preferred over allocating the buffers
manually. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0a603a534 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: set the framerate  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e02524025b 
								
							
								 
							
						 
						
							
							
								
								examples/encode_video: constify the AVCodec instance  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b1f03477f 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split the remaining two examples into separate files  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90265814f9 
								
							
								 
							
						 
						
							
							
								
								examples/decode_audio: constify the AVCodec instance  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5df897c4b 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split audio decoding into a separate example  
							
							The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f76698e759 
								
							
								 
							
						 
						
							
							
								
								examples/encode_audio: use the AVFrame API for allocating the data  
							
							It is simpler and more efficient. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c00a11ab38 
								
							
								 
							
						 
						
							
							
								
								examples/encode_audio: constify AVCodec instances  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								40aaa8dadf 
								
							
								 
							
						 
						
							
							
								
								examples/avcodec: split audio encoding into a separate example  
							
							The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file. 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67d28f4a0f 
								
							
								 
							
						 
						
							
							
								
								examples/output: switch to the new encoding API  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9833a406d3 
								
							
								 
							
						 
						
							
							
								
								examples: Properly free AVCodecContext  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								257f00ec1a 
								
							
								 
							
						 
						
							
							
								
								Split global .gitignore file into per-directory files  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41ed7ab45f 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Fix spelling mistakes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac6d53589f 
								
							
								 
							
						 
						
							
							
								
								examples/transcode_aac: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9e1f2cc61 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9897d9f4e0 
								
							
								 
							
						 
						
							
							
								
								examples/output: convert to codecpar  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce70f28a17 
								
							
								 
							
						 
						
							
							
								
								avpacket: Replace av_free_packet with av_packet_unref  
							
							`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34ed5c2e4d 
								
							
								 
							
						 
						
							
							
								
								avformat: Do not use AVFMT_RAWPICTURE  
							
							There are no formats supporting it anymore and it is deprecated.
Update the documentation accordingly. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								539e5ac2ec 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: free the lavc decoder before closing MFX/VAAPI  
							
							lavc expects MFX to still be in a usable state on close. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ee462dca1 
								
							
								 
							
						 
						
							
							
								
								examples/qsvdec: do not free the surfaces in the frame_free() callback  
							
							Even though libmfx might not need them anymore, avcodec might still
access the surfaces. So free them separately at the end. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								059a934806 
								
							
								 
							
						 
						
							
							
								
								lavc: Consistently prefix input buffer defines  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								def97856de 
								
							
								 
							
						 
						
							
							
								
								lavc: AV-prefix all codec capabilities  
							
							Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7c6eb0a1b7 
								
							
								 
							
						 
						
							
							
								
								lavc: AV-prefix all codec flags  
							
							Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago