TPEPlatform/2014-03-27: Difference between revisions
(→Media) |
|||
(24 intermediate revisions by 13 users not shown) | |||
Line 8: | Line 8: | ||
*{{Bug|984215}} - VideoConduit reads the rotation flag and decides the rotation degree /rlin | *{{Bug|984215}} - VideoConduit reads the rotation flag and decides the rotation degree /rlin | ||
** study code flow for WEBRTC. | ** study code flow for WEBRTC. | ||
*{{Bug|984223}} - Support H.264 hardware codec decoder on PlatformDecoder module for WebRTC / ayang | |||
** study code flow/thread module of WebRTC and PlatformDecoderModule | |||
*{{Bug|972826}} - Intermittent TEST-UNEXPECTED-FAIL | test_load_same_resource.html | Test timed out / JW | |||
** the cloned element waiting for the decoder of the original element to release and timeout | |||
** debug: have to wait for the decoder is cloned before resetting 'src' of the original | |||
** testing on try | |||
*{{Bug|945475}} - Intermittent test_reset_src.html | videoHeight should be zero when there is no video. - got 300, expected 0 | videoWidth should be zero when there is no video. - got 400, expected 0 / JW | |||
** debug: videoWidth/videoHeight is overwritten by some unknown async callbak from VideoFrameContainer | |||
** fix: clear VideoFrameContainer so that staled callbacks won't reach us anymore | |||
** to be reviewed | |||
*{{Bug|980868}} - Intermittent | test_streams_element_capture.html | vp9.webm current time at end: 0.4329996109008789 should be: 4 / JW | |||
** debug: skip-frame causes media play time is less than media duration | |||
** trace code about frame-skip algorithm | |||
** fix: don't skip frame when current clock time is still behind video frame time | |||
** to be reviewed | |||
* {{Bug|911046}} WebRTC OmxCodec coding path support. / John | |||
** Clean up prototype code. | |||
** Improvement: | |||
*** Use OMXVideoEncoder to replace direct calls to stagefright. | |||
*** Use TextureVideoFrame to obsolete SetCurrentFrame() hack. | |||
** Investigate crashing issue. See next item. | |||
* {{Bug|988713}} Race condition when destroying TextureClient & TextureChild. / John | |||
** Causes crash. | |||
** Work with pchang to identify the problem. | |||
==Platform== | ==Platform== | ||
* libjpeg-turbo OpenCL decoder patch on FX OS. /CTai | * libjpeg-turbo OpenCL decoder patch on FX OS. /CTai | ||
** Analysis: | ** Analysis: The original libjpeg-turbo takes ~260 ms for decoding 7 Mega pixel jpeg file in Nexus 5 with FX OS. There are some run-time bugs while executing OpenCL decoder version. | ||
* {{Bug|935776}} - Cant build Firefox OS (emulator) on Mavericks / slee | |||
** Help Vicamo test building emulator on MacOS | |||
* {{Bug|981789}} - Fix build error when disabling webrtc / slee | |||
** Found cause of building error. Wait for jesup's feedback | |||
* {{Bug|970725}} - Adapt gUM capture resolution based on encoding resolution / slee | |||
** Test whether we can change camera preview size without restarting camera - no | |||
** Measure the restarting time of camera on Flame- about 1.5 seconds | |||
* WebRTC architecture and threading model introduction / slee | |||
* {{Bug|987532}} - [meta] Project Butter on B2G. / vilin | |||
** Divide WIP into pieces belong to different modules. | |||
*** Layout - Vsync-triggered RefreshDriver | |||
*** Graphics:Layer - Vsync-triggered CompositorParent | |||
*** Widget:Gonk - input event resampling, Vsync monitor, Vsync Observer manager, triple-buffering FrameBufferSurface | |||
* {{Bug|924692}} - [Touch Caret] Display a touch caret according to caret postion in input element / phoebe | |||
** WIP code rebase, waiting for review. | |||
* {{Bug|960897}} - [Touch Caret] Touch caret sanity test / phoebe | |||
** studying marionette: can drag touch caret, finding solution for inserting key input to desire place. | |||
==Graphics== | ==Graphics== | ||
Line 30: | Line 76: | ||
*Restyle performace profile /Jerry | *Restyle performace profile /Jerry | ||
**Profile homescreen with Cameron's patch. | **Profile homescreen with Cameron's patch. | ||
* {{Bug|976397}} - Rotate camera preview image based on the original raw image orientation / Peter | |||
** prepare patch v4 | |||
* {{Bug|988713}} TextureClient/TextureChild refactor /Peter | |||
** WIP | |||
* {{Bug|959089}} - Separate GrallocBuffer allocations from Compositor thread / chiajung | |||
** rebased, blocked | |||
* {{Bug|814524}} - Make WebGLContext::TexImage2D avoid readback for video elements / chiajung | |||
** | |||
** WIP | |||
*** 10x faster now | |||
*** miner SIGSEGV remain | |||
*** TexSubImage2D missing(need check spec) | |||
* {{Bug|982040}} - [dolphin] hwc doesn't work /Solomon | |||
** Uploaded a WIP patch to avoid b2g crash when enabling HWC. | |||
** The composition still be performed will GPU even the HWC is enabled. It's due to there still no color-fill and RB-swap function implemented in vendors's HAL libs | |||
** Vendor will implement color-fill and RB swap feature in HWC HAL | |||
* {{Bug|987563}} - SIGSEGV in HwcComposer2D::Commit() due to lack of both colorFill and RB-Swap /Solomon | |||
** debugging (root cause was found, need to discuss and check the proper place of fix) | |||
* {{Bug|924692}} - [Touch Caret] Display a touch caret according to caret postion in input element / Morris | |||
** Check scrolled boundary and restrict touch caret inside this boundary | |||
* {{Bug|987718}} - [Text Selection] Enable text selection on content process / Morris | |||
** Tracing touch/mouse event path | |||
** Send mouse event to content process to enable text selection | |||
** Try to handle long tap event | |||
* {{Bug|987040}} - Implement mozbrowserSelection / Morris | |||
** Submit a WIP patch, region and text is valid now | |||
* {{Bug|975346}} - [LayerScope] LayerScope is not work while HWC is chosen / boris | |||
** WIP | |||
*** Run LayerScope Tool for nightly on Mac and Linux, and add some notes to [https://wiki.mozilla.org/Platform/GFX/LayerScope LayerScope Wiki] so that desktop can run the tool successfully on Linux. (Done) | |||
*** Run LayerScope Tool for B2G on Unagi. (Done) | |||
*** Trace LayerManagerComposite and OGLCompositior | |||
* {{Bug|974242}} - [Tracking] (reftest) tests in layout/reftests/svg failed on B2G running OOP /alin | |||
** root cause found, waiting for feedback | |||
* {{Bug|976923}} - reftest fails - font-inflation disable-fontinfl-on-mobile-4.html / alin | |||
** looking into it. | |||
* {{Bug|983489}} - Crash on nsIAppStartup.quit() - vichen | |||
** Fix crash | |||
** Find another crash, only minidump is found, cannot analyze | |||
* {{Bug|981477}} - Reenable skipped reftest - vichen | |||
** {{Bug|986409}} - do same thing, but only verify with OOP-disabled | |||
** Redo test and mark known fail | |||
==Study== | ==Study== |
Latest revision as of 10:05, 28 March 2014
Media
- bug 984816 -[RTSP] Play/pause does not work for RTSP streaming. / bechen
- Two deadlock cases after :cpearce 's change.
- bug 973522 - MediaRecorder causes large leak /rlin
- 1.4+, landed
- bug 984215 - VideoConduit reads the rotation flag and decides the rotation degree /rlin
- study code flow for WEBRTC.
- bug 984223 - Support H.264 hardware codec decoder on PlatformDecoder module for WebRTC / ayang
- study code flow/thread module of WebRTC and PlatformDecoderModule
- bug 972826 - Intermittent TEST-UNEXPECTED-FAIL | test_load_same_resource.html | Test timed out / JW
- the cloned element waiting for the decoder of the original element to release and timeout
- debug: have to wait for the decoder is cloned before resetting 'src' of the original
- testing on try
- bug 945475 - Intermittent test_reset_src.html | videoHeight should be zero when there is no video. - got 300, expected 0 | videoWidth should be zero when there is no video. - got 400, expected 0 / JW
- debug: videoWidth/videoHeight is overwritten by some unknown async callbak from VideoFrameContainer
- fix: clear VideoFrameContainer so that staled callbacks won't reach us anymore
- to be reviewed
- bug 980868 - Intermittent | test_streams_element_capture.html | vp9.webm current time at end: 0.4329996109008789 should be: 4 / JW
- debug: skip-frame causes media play time is less than media duration
- trace code about frame-skip algorithm
- fix: don't skip frame when current clock time is still behind video frame time
- to be reviewed
- bug 911046 WebRTC OmxCodec coding path support. / John
- Clean up prototype code.
- Improvement:
- Use OMXVideoEncoder to replace direct calls to stagefright.
- Use TextureVideoFrame to obsolete SetCurrentFrame() hack.
- Investigate crashing issue. See next item.
- bug 988713 Race condition when destroying TextureClient & TextureChild. / John
- Causes crash.
- Work with pchang to identify the problem.
Platform
- libjpeg-turbo OpenCL decoder patch on FX OS. /CTai
- Analysis: The original libjpeg-turbo takes ~260 ms for decoding 7 Mega pixel jpeg file in Nexus 5 with FX OS. There are some run-time bugs while executing OpenCL decoder version.
- bug 935776 - Cant build Firefox OS (emulator) on Mavericks / slee
- Help Vicamo test building emulator on MacOS
- bug 981789 - Fix build error when disabling webrtc / slee
- Found cause of building error. Wait for jesup's feedback
- bug 970725 - Adapt gUM capture resolution based on encoding resolution / slee
- Test whether we can change camera preview size without restarting camera - no
- Measure the restarting time of camera on Flame- about 1.5 seconds
- WebRTC architecture and threading model introduction / slee
- bug 987532 - [meta] Project Butter on B2G. / vilin
- Divide WIP into pieces belong to different modules.
- Layout - Vsync-triggered RefreshDriver
- Graphics:Layer - Vsync-triggered CompositorParent
- Widget:Gonk - input event resampling, Vsync monitor, Vsync Observer manager, triple-buffering FrameBufferSurface
- Divide WIP into pieces belong to different modules.
- bug 924692 - [Touch Caret] Display a touch caret according to caret postion in input element / phoebe
- WIP code rebase, waiting for review.
- bug 960897 - [Touch Caret] Touch caret sanity test / phoebe
- studying marionette: can drag touch caret, finding solution for inserting key input to desire place.
Graphics
- bug 974807 - [Sora][gallery]WebGL context is lost when the screen is turned off /Jerry
- Update patch for reviewer's comment.
- bug 951418 - Port trace_viewer to gecko /Jerry
- Fix some css rules and key event handling for firefox for trace_viewer reversion 775. Now, we can see the profile data in firefox.
- Need to check the latest version of trace_viewer.
- Fix some css rules and key event handling for firefox for trace_viewer reversion 775. Now, we can see the profile data in firefox.
- bug 981005 - [B2G][Gallery][Crop Image]Image no longer displays after user presses 'undo' button /Jerry
- Debugging. I'm going to check the SurfaceStream.
- Restyle performace profile /Jerry
- Profile homescreen with Cameron's patch.
- bug 976397 - Rotate camera preview image based on the original raw image orientation / Peter
- prepare patch v4
- bug 988713 TextureClient/TextureChild refactor /Peter
- WIP
- bug 959089 - Separate GrallocBuffer allocations from Compositor thread / chiajung
- rebased, blocked
- bug 814524 - Make WebGLContext::TexImage2D avoid readback for video elements / chiajung
- WIP
- 10x faster now
- miner SIGSEGV remain
- TexSubImage2D missing(need check spec)
- bug 982040 - [dolphin] hwc doesn't work /Solomon
- Uploaded a WIP patch to avoid b2g crash when enabling HWC.
- The composition still be performed will GPU even the HWC is enabled. It's due to there still no color-fill and RB-swap function implemented in vendors's HAL libs
- Vendor will implement color-fill and RB swap feature in HWC HAL
- bug 987563 - SIGSEGV in HwcComposer2D::Commit() due to lack of both colorFill and RB-Swap /Solomon
- debugging (root cause was found, need to discuss and check the proper place of fix)
- bug 924692 - [Touch Caret] Display a touch caret according to caret postion in input element / Morris
- Check scrolled boundary and restrict touch caret inside this boundary
- bug 987718 - [Text Selection] Enable text selection on content process / Morris
- Tracing touch/mouse event path
- Send mouse event to content process to enable text selection
- Try to handle long tap event
- bug 987040 - Implement mozbrowserSelection / Morris
- Submit a WIP patch, region and text is valid now
- bug 975346 - [LayerScope] LayerScope is not work while HWC is chosen / boris
- WIP
- Run LayerScope Tool for nightly on Mac and Linux, and add some notes to LayerScope Wiki so that desktop can run the tool successfully on Linux. (Done)
- Run LayerScope Tool for B2G on Unagi. (Done)
- Trace LayerManagerComposite and OGLCompositior
- WIP
- bug 974242 - [Tracking] (reftest) tests in layout/reftests/svg failed on B2G running OOP /alin
- root cause found, waiting for feedback
- bug 976923 - reftest fails - font-inflation disable-fontinfl-on-mobile-4.html / alin
- looking into it.
- bug 983489 - Crash on nsIAppStartup.quit() - vichen
- Fix crash
- Find another crash, only minidump is found, cannot analyze
- bug 981477 - Reenable skipped reftest - vichen
- bug 986409 - do same thing, but only verify with OOP-disabled
- Redo test and mark known fail
Study
- Trace code IDE investigation / boris
- Eclipse (on Linux): C/C++ Eclipse Project Generation
- Xcode (on Mac): Debugging_on_Mac_OS_X and Using XCode 4 With mozilla-central
- 2014 Q1 Performance Review Documents / CTai
- Panorama - API design => https://docs.google.com/document/d/1A0z1V-w4AyFUvw5s6fyMER3PIgIp1gF6T8oIMIvK-Ds/edit?usp=sharing
- OpenCL JPEG => https://docs.google.com/document/d/1dkBF6nEg6LfDAJz79sdBnQeR7aIVjN_W3HCcU6yLCsM/edit?usp=sharing
- Image processing background knowledge study and sharing => https://docs.google.com/document/d/1-hZyFgoinLfcKT7bz5wbgOxTR_kxBymF1gy13dCGkG0/edit?usp=sharing
- Parallel EcmaScript => https://docs.google.com/document/d/1s-bEnpfR5Th18mvnHuF0XE3OWsK9noBheSLvJjOyCHk/edit?usp=sharing