Commit Graph

392 Commits

Author SHA1 Message Date
Mike Habicher
d55fba3d1c Bug 1121769 - push picture size to the camera driver, even in video mode, r=aosmond 2015-01-22 12:25:49 -05:00
Andreas Pehrson
ddb72d387a Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup
From db346795ad1a0ae33e7496df893288eb1fbf7699 Mon Sep 17 00:00:00 2001
---
 dom/camera/CameraPreviewMediaStream.h |  1 +
 dom/html/HTMLMediaElement.cpp         | 29 +++++++++++++++++------------
 dom/html/HTMLMediaElement.h           |  6 +++++-
 dom/media/MediaStreamGraph.h          |  2 ++
 4 files changed, 25 insertions(+), 13 deletions(-)
2015-01-22 09:27:24 +01:00
Masatoshi Kimura
e5f1ce00e2 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Carsten "Tomcat" Book
df1fe14c36 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Chris Peterson
0b8b25193e Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Vincent Liu
118cbbbb64 Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2014-12-22 14:17:22 +08:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
abb608a46d Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Alfredo Yang
50fc8c6c23 Bug 938034 - Enable gonk camera recording callback. r=roc 2014-12-18 01:00:00 -05:00
Andrew Osmond
037ec6329c Bug 1104913 - Update selection algorithms for preview, picture and video sizes to have sane defaults. r=mikeh, r=bz 2014-12-12 19:51:29 -08:00
Andrew Osmond
01f6b86a9e Bug 1111752 - Initialize metering mode to correct value. r=mikeh 2014-12-15 11:53:49 -08:00
Ehsan Akhgari
7b166b5ef4 Mark two more constructors explicit after bug 1009631, landed on a CLOSED TREE
--HG--
extra : amend_source : 0a6e117f53e7fc82b26afd66e73d1bf787554e57
2014-12-15 10:37:32 -05:00
Carsten "Tomcat" Book
beeb584af9 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-12-15 15:33:21 +01:00
Botond Ballo
7a90ff53d7 Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
81bbb8a3de Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
7c76633eb0 Bug 1073081 - Fix -Wattribute warnings by removing unnecessary forward declarations. r=ehsan
--HG--
extra : source : a53418b5392c529098ca015ea7bce192a73bc5e1
2014-11-24 19:39:00 -05:00
Mike Habicher
aff5735bdf Bug 1052821 - expose exposure metering modes to JS, r=aosmond,bz 2014-12-12 21:42:13 -05:00
Mike Habicher
e402bc1164 Bug 1104055 - fix CameraControl memory leak, r=aosmond 2014-12-12 21:18:03 -05:00
Mike Habicher
b3d455fadf Bug 1107683 - remove method callbacks from CameraControl, r=aosmond,bz 2014-12-11 11:02:51 -05:00
Andrew Osmond
6a5e49bd43 Bug 804359 - Add support for detection of camcorder profiles at runtime. r=mikeh 2014-12-02 15:14:17 -08:00
Andrew Osmond
56348290ec Bug 1102986 - Update camera preview media stream with platform media stream expectations. r=roc 2014-11-21 09:34:00 -05:00
Mike Habicher
6a2195c0c0 Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Robert O'Callahan
2869783fca Bug 1061046. Part 1: Move GraphRate() to MediaStreamGraph so it's public. r=karlt 2014-09-18 11:50:01 +12:00
Mike Habicher
9d41606b2d Bug 1098660 - fix the (complex) requirements for video mode preview size, r=aosmond 2014-11-14 20:56:59 -05:00
Wes Kocher
db40408e3b Merge b2g-inbound to m-c a=merge 2014-11-12 17:19:02 -08:00
Mike Habicher
9866131965 Bug 1079543 - handle camera hardware busy when prelaunching, r=aosmond 2014-11-12 13:54:48 -05:00
Sotaro Ikeda
18bbf74695 Bug 1071205 - Change Video encode to HardwareCodecsOnly r=mikeh 2014-11-12 06:59:44 -08:00
Mike Habicher
97f2442639 Bug 1090501 - Properly handle no initial camera configuration. r=aosmond 2014-11-06 11:40:00 -05:00
Fabrice Desre
8ac0df5bcd Bug 1090501 - pre-emptively open the camera hardware for certified apps with 'camera' permission, r=fabrice 2014-10-31 13:54:02 -04:00
Andrew Osmond
a49a486d0b Bug 1093663 - Load recorder profiles when setting the video configuration if not already. r=mikeh 2014-11-04 11:34:00 -05:00
Mike Habicher
cf9f4832dd Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Ryan VanderMeulen
418030317f Backed out changeset 3fde6fc99b0a (bug 1020368) for non-unified bustage. 2014-10-31 18:51:23 -04:00
Mike Habicher
a2b2b6da8e Bug 1020368 - remove direct JS_*() calls from CameraRecorderProfiles, r=aosmond,bz 2014-10-31 13:19:06 -04:00
Mike Habicher
b0b572d95d Bug 1068393 - assume camera permission for certified apps (saves ~100ms on Flame), r=fabrice 2014-10-28 11:54:38 -04:00
Andrew Osmond
e89edf8f5c Bug 1086596 - Fix potential crash if get camera boolean parameter is misused. r=mikeh 2014-10-21 10:29:00 -04:00
Randell Jesup
1c4c354396 Backed out changesets ef6465b02d0d f749e3f70ffc ecd54a3fbfdd 8f472a850073 (bug 879717) 2014-10-13 22:18:22 -04:00
Randell Jesup
74a272283a Bug 879717: bustage fix (unified builds) r=bustage 2014-10-13 01:01:51 -04:00
Andrew Osmond
909761efbe Bug 879717: Part 3: Fix camera preview stream and wake locks from lock screen. r=roc 2014-10-13 00:01:25 -04:00
Benjamin Smedberg
e4b81219b1 Bug 1081258 - Remove unnecesary (re)definition of NAN, r=mikeh
--HG--
extra : rebase_source : 6c7d8f2454467ea9fcf23c8581f15eb96beb5eda
2014-10-11 15:56:54 +13:00
Andrea Marchesini
2f672ff2db Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
2ca496756f Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Ryan VanderMeulen
671d1a817e Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
e4f682ba94 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
0e29ce2ea6 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken
9254096129 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Andrew Osmond
290c9d9b2b Bug 994912 - Add support for promises and event-based notifications to camera. r=mikeh, r=bz 2014-10-03 04:19:00 -04:00
Carsten "Tomcat" Book
98c90c31dd merge mozilla-inbound to mozilla-central a=merge 2014-09-26 13:20:34 +02:00
Andrew Osmond
31cbaeb39e Bug 1068559 - Add asynchronous auto focus completed callback. r=bz r=dhylands 2014-09-22 05:25:00 +02:00
Ehsan Akhgari
526e56673f Bug 1072301 - Build the cross platform camera code in unified mode; r=mikeh 2014-09-24 18:43:26 -04:00
Mike Habicher
8ff61ce703 Bug 1014877 - uncouple preview and video-recording frame sizes, r=aosmond 2014-09-16 15:36:48 -04:00