summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Make media/ PIC-clean on 32-bit Linux.agl@chromium.org2011-09-271-2/+5
| | | | | | | | | | | | This change sets the asm defines so that code in media/ doesn't require text relocations on 32-bit Linux. BUG=87704 TEST=Try running Chrome on Fedora Review URL: http://codereview.chromium.org/8046012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102920 0039d316-1c4b-4281-b951-d872f2087c98
* The runner script runs the analyzer with various parameters (especially, ↵imasaki@google.com2011-09-237-117/+504
| | | | | | | | | | | | group names defined in the CSV file). The runner also creates dashboard page to summarize the results in simple HTML table. Also, fixed the issue when there is no previous result to compare in the result directory. In that case, it still updates the trend graph. Review URL: http://codereview.chromium.org/7918010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102568 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude ffmpeg from the build when building for Android.peter@chromium.org2011-09-231-65/+126
| | | | | | | | | | | | | | | | Conditionalize the ffmpeg dependency and exclude files which rely on it for the media and media_unittest targets. Disable the ffmpeg_unittests, ffmpeg_tests and media_bench for Android targets as they require it. This change also conditionalizes the inclusion of yasm_compile.gyp, as yasm is only used for the ia32 and x86 target architectures. BUG= TEST= Review URL: http://codereview.chromium.org/7977023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102474 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r102332 - export more symbols needed for the component builddpranke@chromium.org2011-09-231-1/+1
| | | | | | | | | | | | | of content and also move a couple of functions to content that should've been moved earlier. BUG=90442 TBR=jam@chromium.org,allanwoj@chromium.org TEST= Review URL: http://codereview.chromium.org/7969028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102405 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Fix more symbol exports and a compile failure for the component ↵dpranke@chromium.org2011-09-221-1/+1
| | | | | | | | | | | | | build of" TBR=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/7967013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102334 0039d316-1c4b-4281-b951-d872f2087c98
* Fix more symbol exports and a compile failure for the component build ofdpranke@chromium.org2011-09-221-1/+1
| | | | | | | | | | | | content. R=jam@chromium.org,crogers@google.com,allanwoj@chromium.org BUG=90442 TEST=none Review URL: http://codereview.chromium.org/7981049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102332 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce AudioDecoderConfig to migrate away from GetAVStream().scherkus@chromium.org2011-09-2126-85/+426
| | | | | | | | | Instead add DemuxerStream::audio_decoder_config() to break FFmpegAudioDecoder's dependency on the AVCodecContext object maintained by FFmpegDemuxer. Review URL: http://codereview.chromium.org/7867051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102183 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Tracked, and move Location to its own file.ajwong@chromium.org2011-09-211-0/+1
| | | | | | | | | | | | | The Birth/Death tracking of tasks has been moved out-of-band into MessageLoop's PendingTask structure. Thus, Task no longer needs to inherit from Tracked. Since Task was the only child of Tracked, delete the Tracked class and move Location to its own file. BUG=none TEST=builds Review URL: http://codereview.chromium.org/7879006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102132 0039d316-1c4b-4281-b951-d872f2087c98
* Add a lock around getting and setting of source_ to avoid possible compiler ↵ajwong@chromium.org2011-09-212-11/+32
| | | | | | | | | | | | | | reorderings. Also makes it very explicit that multi-threaded access is occuring. BUG=24801 TEST=will see how TSan handles this. Review URL: http://codereview.chromium.org/7888055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102067 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r101418: Fix aspect ratio and clarify video frame dimensionsvrk@google.com2011-09-1926-206/+199
| | | | | | | | | | | | Fixes shared build errors for windows and linux. BUG=18941,94861 TEST=shared builds compile TBR=acolwell Review URL: http://codereview.chromium.org/7932005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101808 0039d316-1c4b-4281-b951-d872f2087c98
* Remove base/scoped_ptr.hakalin@chromium.org2011-09-182-2/+2
| | | | | | | | | | | Fix remaining users to use base/memory/scoped_ptr.h. BUG= TEST= Review URL: http://codereview.chromium.org/7930009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101715 0039d316-1c4b-4281-b951-d872f2087c98
* Rewriting FFmpegAudioDecoder and eliminating DecoderBase.scherkus@chromium.org2011-09-178-658/+257
| | | | | | | | | BUG=93379 TEST=media_unittests, layout tests Review URL: http://codereview.chromium.org/6901135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101607 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 101551 - Add script to generate and run layout tests for problematic ↵vrk@google.com2011-09-163-211/+0
| | | | | | | | | | | | | | video files. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7888020 TBR=vrk@google.com Review URL: http://codereview.chromium.org/7918033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101570 0039d316-1c4b-4281-b951-d872f2087c98
* Replace AudioDecoderConfig with simple accessors on AudioDecoder.scherkus@chromium.org2011-09-1617-103/+73
| | | | | | | | AudioDecoderConfig was being used as a struct for outputting format information to an AudioRenderer. This was confusing and in contrast to VideoDecoderConfig, which is is actually used as input to configure a video decoder! Review URL: http://codereview.chromium.org/7796033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101563 0039d316-1c4b-4281-b951-d872f2087c98
* Add script to generate and run layout tests for problematic video files.vrk@google.com2011-09-163-0/+211
| | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7888020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101551 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize YUV scalers (Continued)hclam@chromium.org2011-09-1616-1857/+111
| | | | | | | | | | | | | | | | | | | | After rewriting assembly code in YASM we can finally move all these different versions of files in the same folder, i.e. media/base/simd. After this change the main entry point will be: yuv_convert.cc and yuv_convert.h It then calls into the internal functions under media/base/simd. After this change I'll move all the color conversion files to media/csc. BUG=None TEST=Tree is gree Review URL: http://codereview.chromium.org/7888012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101507 0039d316-1c4b-4281-b951-d872f2087c98
* Write tests for FFmpegAudioDecoder so I can rewrite the class sans regressions.scherkus@chromium.org2011-09-164-2/+206
| | | | | | | | | TEST=media_unittests BUG=96773 Review URL: http://codereview.chromium.org/7891050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101429 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 101418 - Fix aspect ratio and clarify video frame dimensionsvrk@google.com2011-09-1625-196/+206
| | | | | | | | | | | | BUG=18941,94861 TEST=video-aspect-ratio.html Review URL: http://codereview.chromium.org/7864009 TBR=vrk@google.com Review URL: http://codereview.chromium.org/7919006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101420 0039d316-1c4b-4281-b951-d872f2087c98
* Fix aspect ratio and clarify video frame dimensionsvrk@google.com2011-09-1625-206/+196
| | | | | | | | | BUG=18941,94861 TEST=video-aspect-ratio.html Review URL: http://codereview.chromium.org/7864009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101418 0039d316-1c4b-4281-b951-d872f2087c98
* Remove hardcoded text 'media' in the layout test analyzer.imasaki@google.com2011-09-152-92/+121
| | | | | | | | | Added functionality to run the analzyer for a general layout test group such as 'compositing'. Review URL: http://codereview.chromium.org/7888061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101318 0039d316-1c4b-4281-b951-d872f2087c98
* Add API to query for the audio buffer size.rtoy@google.com2011-09-152-0/+22
| | | | | | | | | | | | | This is essentially identical to the GetAudioHardwareSampleRate API, except we get the "optimal" hardware buffer size to be used. BUG=None TEST=None Review URL: http://codereview.chromium.org/7837030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101249 0039d316-1c4b-4281-b951-d872f2087c98
* There is a complain from Valgrind about invalid memory access in ↵xians@chromium.org2011-09-153-14/+23
| | | | | | | | | | | | | | snd_device_name_hint(-1, ..) // -1 means all cards. It looks like the problem is actually because we use -1 to loop through all the soundcards. And this patch will loop through the soundcard manually, which should resolve the Valgrind problem. Bug=96207 Test=media_unittests with Valgrind Review URL: http://codereview.chromium.org/7888011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101240 0039d316-1c4b-4281-b951-d872f2087c98
* Windows-only change -- issue is worst on Windows because of pre-buffering. ↵enal@chromium.org2011-09-152-2/+24
| | | | | | | | | | | | | | | | | On Linux problem is much milder, and on Mac we cannot yield high-priority audio thread... Very short-term change: while working on proper long-term solution, workaround for race condition that causes clicks and bad audio stream. Yield if reader was called too quickly after previous call, as there are good chances renderer thread did not fill the buffer yet. BUG=http://code.google.com/p/chromium/issues/detail?id=61022 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99236 Review URL: http://codereview.chromium.org/7755001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101231 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing dropped seeks.serya@chromium.org2011-09-151-1/+1
| | | | | | | | | | BUG=92251,chromium-os:19888 TEST=None Review URL: http://codereview.chromium.org/7890012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101197 0039d316-1c4b-4281-b951-d872f2087c98
* Add one more vorbis packet for testing purposes.scherkus@chromium.org2011-09-142-2/+6
| | | | | | | | TBR=acolwell Review URL: http://codereview.chromium.org/7888043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101090 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit - Rewrite color space conversions suite using YASM"hclam@chromium.org2011-09-1428-192/+1891
| | | | | | | | | | | | I'll watch the official buildbot this time. TBR=ajwong, dhollowa BUG=None TEST=None Review URL: http://codereview.chromium.org/7891039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101067 0039d316-1c4b-4281-b951-d872f2087c98
* Improve the speed of YUVConvertTest.SideBySideRGB.hbono@chromium.org2011-09-141-7/+9
| | | | | | | | | | This change just removes redundant checks in YUVConvertTest.SideBySideRGB to avoid this test from taking long time (especially on our valgrind bots). BUG=none TEST=YUVConvertTest.SideBySideRGB Review URL: http://codereview.chromium.org/7867033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101054 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100915 - Rewrite color space conversions suite using YASMdhollowa@chromium.org2011-09-1428-1916/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failed on official Linux 32 builder. (x486?) http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/11240/steps/compile/logs/stdio In file included from media/base/yuv_convert.cc:33: /usr/lib/gcc/i486-linux-gnu/4.4.3/include/emmintrin.h:32:3:error: #error "SSE2 instruction set not enabled" make: *** [out/Release/obj.target/yuv_convert/media/base/yuv_convert.o] Error 1 Besides rewrite assembly code in YASM, this change also do runtime selection of routine depending processor support. There are couple advantages in this YASM version. 1. Performance improvement Using YASM we can push less to the stack, this results in ~5% improvement on 32-bits system. 2. MMX and SSE versions are separate SSE version use movntq while MMX version use movq. 3. 64-bits version works universally This means that 64-bits YASM code compile and run on 64-bits windows, mac and linux. While previously it only runs on linux 64. 4. Handling PIC much better PIC code runs and build on 32-bits and 64-bits system. This is better than before which only works on 32-bits mac. 5. Easier maintenance This code uses x86asm.inc for a bunch of nice macros. Having just one YASM verion is better than having inline VC assembly and don't have to worry inline assemly has different register names on mac and linux. I tested on linux 32-bits, linux 32-bits PIC and linux 64-bits that this code is at least as fast as before. BUG=None TEST=media_unittests runs and all passing Review URL: http://codereview.chromium.org/7858003 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/7887025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101008 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100916 - Fix builddhollowa@chromium.org2011-09-142-0/+25
| | | | | | | | | | | | | | | | | | | | Failed on official Linux 32 builder. (x486?) http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/11240/steps/compile/logs/stdio In file included from media/base/yuv_convert.cc:33: /usr/lib/gcc/i486-linux-gnu/4.4.3/include/emmintrin.h:32:3:error: #error "SSE2 instruction set not enabled" make: *** [out/Release/obj.target/yuv_convert/media/base/yuv_convert.o] Error 1 BUG=None TEST=None Review URL: http://codereview.chromium.org/7892009 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/7885020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101007 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100917 - Not use SSSE3 code that was merged accidentallydhollowa@chromium.org2011-09-141-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | Failed on official Linux 32 builder. (x486?) http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux/builds/11240/steps/compile/logs/stdio In file included from media/base/yuv_convert.cc:33: /usr/lib/gcc/i486-linux-gnu/4.4.3/include/emmintrin.h:32:3:error: #error "SSE2 instruction set not enabled" make: *** [out/Release/obj.target/yuv_convert/media/base/yuv_convert.o] Error 1 Disable SSSE3 conversion code as tests are not running. TBR=hbono@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/7888014 TBR=hclam@chromium.org Review URL: http://codereview.chromium.org/7890023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101006 0039d316-1c4b-4281-b951-d872f2087c98
* Automatic update of annotations in the trend graph in layout test analyzer.imasaki@google.com2011-09-137-72/+4278
| | | | | | | | | | | | Also, this includes other changes: (1) update debug data. (2) some code refactoring (3) change the color schema for the status email (4) fix a issue with parameter passing for GetRevisionString in the helper (it was reversed). Review URL: http://codereview.chromium.org/7754025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100969 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Demuxer from the Filter class hierarchy.acolwell@chromium.org2011-09-1321-124/+353
| | | | | | | | | BUG=92254 TEST=Covered by existing tests. Review URL: http://codereview.chromium.org/7839035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100959 0039d316-1c4b-4281-b951-d872f2087c98
* Not use SSSE3 code that was merged accidentallyhclam@chromium.org2011-09-131-17/+1
| | | | | | | | | | | | Disable SSSE3 conversion code as tests are not running. TBR=hbono@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/7888014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100917 0039d316-1c4b-4281-b951-d872f2087c98
* Fix buildhclam@chromium.org2011-09-132-25/+0
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7892009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100916 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite color space conversions suite using YASMhclam@chromium.org2011-09-1328-191/+1916
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Besides rewrite assembly code in YASM, this change also do runtime selection of routine depending processor support. There are couple advantages in this YASM version. 1. Performance improvement Using YASM we can push less to the stack, this results in ~5% improvement on 32-bits system. 2. MMX and SSE versions are separate SSE version use movntq while MMX version use movq. 3. 64-bits version works universally This means that 64-bits YASM code compile and run on 64-bits windows, mac and linux. While previously it only runs on linux 64. 4. Handling PIC much better PIC code runs and build on 32-bits and 64-bits system. This is better than before which only works on 32-bits mac. 5. Easier maintenance This code uses x86asm.inc for a bunch of nice macros. Having just one YASM verion is better than having inline VC assembly and don't have to worry inline assemly has different register names on mac and linux. I tested on linux 32-bits, linux 32-bits PIC and linux 64-bits that this code is at least as fast as before. BUG=None TEST=media_unittests runs and all passing Review URL: http://codereview.chromium.org/7858003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100915 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize member variables.jhawkins@chromium.org2011-09-121-0/+1
| | | | | | | | | | | | | CID_COUNT=23 CID=100941,100986,100987,101015,101016,101017,101227,101229,101230,101332,101333,101334,101335,101336,101337,101355,101356,101359,101362,101363,101381,101389,101417 BUG=none TEST=none R=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/7780013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100774 0039d316-1c4b-4281-b951-d872f2087c98
* Deduplicate mock DemuxerStream objects.scherkus@chromium.org2011-09-111-15/+2
| | | | | | | | TEST=media_unittests Review URL: http://codereview.chromium.org/7796031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100629 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in vorbis extradata and compressed data for testing purposes.scherkus@chromium.org2011-09-115-1/+6
| | | | | | | | | | Data was generated from bear.ogv. TBR=acolwell Review URL: http://codereview.chromium.org/7866034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100628 0039d316-1c4b-4281-b951-d872f2087c98
* Modification based on CR comments.imasaki@google.com2011-09-092-6/+6
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100424 0039d316-1c4b-4281-b951-d872f2087c98
* Minor doc change.imasaki@google.com2011-09-091-12/+12
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100423 0039d316-1c4b-4281-b951-d872f2087c98
* Update trend graph only in result change in the layout test analyzer.imasaki@google.com2011-09-092-38/+44
| | | | | | The code in SendStatusEmail is refactored as well. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100422 0039d316-1c4b-4281-b951-d872f2087c98
* The recording in linux sometimes triggers endless delay warnings, which ↵xians@chromium.org2011-09-092-2/+15
| | | | | | | | | | | | | | | | | happens when the scheduled time for the next read callback falls behind. If we don't reset the timer, the warnings can be continuous, and our read callback scheduling mechanism becomes useless. The problem can occur in the following cases: #1, Browser is doing some intensive work, and somehow becomes less responsive, and soundcard can drop some data if its interruptions are not handled in time. For example, when we have video running on the browser. #2, Using a USB device, unplug the device during a call, then plugin again. Data is lost during the removing of the device. What the patch is doing is to reset the scheduled time for the next packet when it detects no pending data in the soundcard. So the delay wont be continously trigger due to a previous data drop. Review URL: http://codereview.chromium.org/7747022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100412 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line option about status email in the layout test analyzer.imasaki@google.com2011-09-092-2/+19
| | | | | | | | | When this option is on, the analyzer sends out email only when there is the change in the result comparing to the last result. Review URL: http://codereview.chromium.org/7850023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100400 0039d316-1c4b-4281-b951-d872f2087c98
* Disable my ASM code (Take 2)hbono@chromium.org2011-09-091-3/+1
| | | | | | | | | | | Sorry, I forgot disabling my ConvertRGB32ToYUV_SSSE3() TBR=hclam BUG=none TEST=fix media_unittests Review URL: http://codereview.chromium.org/7861020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100364 0039d316-1c4b-4281-b951-d872f2087c98
* Disable my ASM code.hbono@chromium.org2011-09-091-13/+0
| | | | | | | | | | | It seems my ConvertRGB24ToYUV_SSSE3() causes a crash on Linux x64. This change disables this function until I fix it. TBR=hclam BUG=none TEST=make media_unittests green. Review URL: http://codereview.chromium.org/7857028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100362 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a build break on ARM.hbono@chromium.org2011-09-091-1/+5
| | | | | | | | | | | This change just moves my new test (added by r100352) to an archtecture-specific block to prevent building it on ARM. TBR=hclam BUG=none TEST=fix the build break on the ARM bot. Review URL: http://codereview.chromium.org/7857025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100359 0039d316-1c4b-4281-b951-d872f2087c98
* Implements RGB to YV12 conversions in YASM.hbono@chromium.org2011-09-0912-9/+1942
| | | | | | | | | | This change implements two conversions (RGB32-to-YV12 and RGB24-to-YV12) in YASM. This change uses 8-bit fixed-point calculation and converts up to four pixels at once. BUG=none TEST=YUVConvertTest.SideBySideRGB Review URL: http://codereview.chromium.org/7003082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100352 0039d316-1c4b-4281-b951-d872f2087c98
* Scale BufferedResourceLoader buffering window based on bit rate of videovrk@google.com2011-09-088-13/+117
| | | | | | | | | | | | | | This CL adds logic in the FFmpegDemuxer to compute a suggested buffering window size based on the bit rate and playback rate of the video, then propogates the suggested size to BufferedResourceLoader upon initialization or changes in playback rate. BufferedResourceLoader resizes the buffer as necessary. BUG=60215 TEST=test_shell_tests,media_unittests Review URL: http://codereview.chromium.org/7718017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100237 0039d316-1c4b-4281-b951-d872f2087c98
* add workarounds for some popular webcam.wjia@chromium.org2011-09-084-51/+68
| | | | | | | | | | | | | 1. bring device back to normal from bad state by querying all controls. 2. call ioctl with VIDIOC_TRY_FMT twice. 3. incorporate change from http://codereview.chromium.org/7753002/. "Improve stability when using a Logitech 9000 camera on Linux. Changed so that the device driver is opened and closed on the same thread as all the v4l2 calls." BUG=94134 TEST= Review URL: http://codereview.chromium.org/7743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100165 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for the issue pointed out by pylint in the layout test analzyer.imasaki@google.com2011-09-089-83/+83
| | | | | | | | Also fix file permissions. Review URL: http://codereview.chromium.org/7850004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100161 0039d316-1c4b-4281-b951-d872f2087c98