1. 29 11月, 2016 1 次提交
  2. 17 11月, 2016 1 次提交
  3. 25 10月, 2016 1 次提交
  4. 13 7月, 2016 1 次提交
    • H
      [media] adv7604/adv7842: fix quantization range handling · fd74246d
      Hans Verkuil 提交于
      Fix a number of bugs that appeared when support for mediabus formats was
      added:
      
      - Support for V4L2_DV_RGB_RANGE_FULL/LIMITED should only be enabled
        for HDMI RGB formats, not for YCbCr formats. Since, as the name
        says, this setting is for RGB only. So read the InfoFrame to check
        the format.
      
      - the quantization range for the pixelport depends on whether the
        mediabus code is RGB or not: if it is RGB, then produce full range
        RGB values, otherwise produce limited range YCbCr values.
      
        This means that the op_656_range and alt_data_sat fields of the
        platform data are no longer used and these will be removed in a
        following patch.
      
      - when setting up a new format the RGB quantization range settings
        were never updated. Do so, since this depends on the format.
      
      - fix the log_status output which was confusing and incorrect.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      fd74246d
  5. 09 7月, 2016 2 次提交
  6. 28 6月, 2016 2 次提交
  7. 08 6月, 2016 1 次提交
  8. 25 4月, 2016 1 次提交
  9. 03 3月, 2016 1 次提交
  10. 16 2月, 2016 1 次提交
  11. 10 2月, 2016 2 次提交
  12. 01 2月, 2016 2 次提交
  13. 11 1月, 2016 2 次提交
  14. 03 12月, 2015 1 次提交
  15. 17 11月, 2015 1 次提交
    • M
      [media] include/media: split I2C headers from V4L2 core · b5dcee22
      Mauro Carvalho Chehab 提交于
      Currently, include/media is messy, as it contains both the V4L2 core
      headers and some driver-specific headers on the same place. That makes
      harder to identify what core headers should be documented and what
      headers belong to I2C drivers that are included only by bridge/main
      drivers that would require the functions provided by them.
      
      Let's move those i2c specific files to its own subdirectory.
      
      The files to move were produced via the following script:
      	mkdir include/media/i2c
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	for i in include/media/*.h; do n=`basename $i`;  (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; done
      
      And the references corrected via this script:
          MAIN_DIR="media/"
          PREV_DIR="media/"
          DIRS="i2c/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      
      Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      b5dcee22
  16. 12 8月, 2015 1 次提交
  17. 11 8月, 2015 2 次提交
  18. 17 7月, 2015 2 次提交
  19. 06 7月, 2015 4 次提交
  20. 10 6月, 2015 4 次提交
  21. 21 5月, 2015 1 次提交
  22. 12 5月, 2015 1 次提交
  23. 01 5月, 2015 1 次提交
  24. 08 4月, 2015 1 次提交
  25. 24 3月, 2015 1 次提交
  26. 03 3月, 2015 2 次提交