0e79fe37e5 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: init return value.  
							
							Fix a warning and random failures. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f245a2086a 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: update broken link to v4l2 video capture example  
							
							Reviewed-by: Stefano Sabatini 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36810215fa 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: improve debug message  
							
							Reviewed-by: Stefano Sabatini 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d012059e7b 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: apply grammar/consistency fixes to options help fields  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa359d3808 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: return meaningful error code from device_init()  
							
							In particular, propagate errno value in case of device init failure. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fce165027f 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: fix misc messages  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1b325ce91a 
								
							
								 
							
						 
						
							
							
								
								lavd/v4l2: extend error/debug feedback in case of invalid codec/pix_fmt  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49dc82eef7 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not assert on a value received from outside of Libav  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								838b849e70 
								
							
								 
							
						 
						
							
							
								
								v4l2: set the average framerate instead of codec timebase.  
							
							Codec timebase is supposed to be set by decoders only. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246da0b135 
								
							
								 
							
						 
						
							
							
								
								v4l2: avoid pointless indirection.  
							
							v4l2_read_header() does no cleanup, so it can return directly, without
any need for goto. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fb79f30db 
								
							
								 
							
						 
						
							
							
								
								Support H264 over video4linux2.  
							
							Tested-by: Val Malykh 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6153f173a 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124134e424 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7b4337777 
								
							
								 
							
						 
						
							
							
								
								v4l2: fix compile on systems that lack V4L2_PIX_FMT_CPIA1  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6eac554659 
								
							
								 
							
						 
						
							
							
								
								Add CPiA video decoder  
							
							The cpia video decoder is intended to be used with the v4l2 demuxer.
There are some small changes to the v4l2 demuxer to support the
variable frame length of the format.
Fixes ticket #1537 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd58678b86 
								
							
								 
							
						 
						
							
							
								
								v4l2: remove call to v4l2_fd_open.  
							
							v4l2_fd_open is already called at the end of v4l2_open;
calling a second time leaks structures inside libv4l2.
Fix trac ticket #1560 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6a085a928 
								
							
								 
							
						 
						
							
							
								
								v4l2: use av_assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6501dcfb5e 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary inclusions of [sys/]time.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e63071115 
								
							
								 
							
						 
						
							
							
								
								v4l2: use AV_OPT_TYPE_IMAGE_SIZE.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12292f35a3 
								
							
								 
							
						 
						
							
							
								
								v4l2: allow to convert monotonic timestamps.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fa1a1d8fc 
								
							
								 
							
						 
						
							
							
								
								Support YV12 from video4linux2 devices.  
							
							Reviewed-by: Luca Abeni 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2327a8202 
								
							
								 
							
						 
						
							
							
								
								Add some missing v4l2 pix_fmt mappings.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4632066713 
								
							
								 
							
						 
						
							
							
								
								Fix v4l pix_fmt mapping for rgb32: There is no transparency information.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93a3ba9bcd 
								
							
								 
							
						 
						
							
							
								
								Fix pix_fmt mapping for v4l2 rgb5x5.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								106f714d30 
								
							
								 
							
						 
						
							
							
								
								Revert "v4l2: poll the file descriptor"  
							
							This reverts commit 0efd48dfd1 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6db385922 
								
							
								 
							
						 
						
							
							
								
								v4l2: use C99 struct initializer  
							
							Remove some unneeded memsets. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0efd48dfd1 
								
							
								 
							
						 
						
							
							
								
								v4l2: poll the file descriptor  
							
							Instead of busy waiting use poll(); 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8c310cb0a 
								
							
								 
							
						 
						
							
							
								
								v4l2: support compressed formats  
							
							Let pass the codec name to -pixel_format and introduce -input_format. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f13a9ca906 
								
							
								 
							
						 
						
							
							
								
								v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined  
							
							V4L2_FMT_FLAG_EMULATED was added in 2.6.32. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6a4793d04 
								
							
								 
							
						 
						
							
							
								
								v4l2: list available formats  
							
							Make use of the experimental framesize enumeration ioctl if available. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd2bbad303 
								
							
								 
							
						 
						
							
							
								
								v4l2: set the proper codec_tag  
							
							Unbreak direct streamcopy. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb89b4fc09 
								
							
								 
							
						 
						
							
							
								
								v4l2: refactor device_open  
							
							Check capabilities directly in the function, further simplify the code. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246007d370 
								
							
								 
							
						 
						
							
							
								
								v4l2: simplify away io_method  
							
							Only mmap is supported. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a896d7f45a 
								
							
								 
							
						 
						
							
							
								
								v4l2: cosmetics  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								21aa6ae4fb 
								
							
								 
							
						 
						
							
							
								
								v4l2: uniform and format options  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af7123b2ad 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not force interlaced mode  
							
							Video4linux2 supports both interlaced and non-interlaced mode, do not
ask for interlaced if not necessary. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1adba23cec 
								
							
								 
							
						 
						
							
							
								
								v4l2: remove unneded linux specific asm/types.h include  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ffa1f541b3 
								
							
								 
							
						 
						
							
							
								
								libavdevice: Fix v4l2 compilation under FreeBSD  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f0f9a87d0 
								
							
								 
							
						 
						
							
							
								
								Fix various if parenthesis misplacements.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5955c63c36 
								
							
								 
							
						 
						
							
							
								
								v4l2: fix uninitialized variable  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb3244dee2 
								
							
								 
							
						 
						
							
							
								
								Replace all usage of strcasecmp/strncasecmp  
							
							All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1054ab3595 
								
							
								 
							
						 
						
							
							
								
								v4l2: add libv4l2 support.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96949dafcc 
								
							
								 
							
						 
						
							
							
								
								Replace all strcasecmp/strncasecmp usages.  
							
							All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6921272b23 
								
							
								 
							
						 
						
							
							
								
								lavd: add v4l and v4l2 aliases.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago