Commit Graph

79 Commits

Author SHA1 Message Date
Randy Lin
0e71ce4628 Bug 1000736 - Throw a error if an app tries to record a video from a video file being transcoded into a stream. r=tterribe. 2014-04-29 11:34:43 +08:00
Benjamin Chen
dbc378e61e Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian 2014-04-11 13:54:15 +08:00
Daniel Holbert
29bb2841ba Bug 984786 part 5: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /content/media. r=kinetik 2014-04-02 09:21:11 -07:00
Randy Lin
2ac3bae2e0 Bug 988884 - Properly shutdown mediaencoder threads. r=roc 2014-04-01 07:33:48 +08:00
Alfredo Yang
005f35718d Bug 974297 - Support muxing pixel aspect ratio video. r=cpearce 2014-03-19 08:39:00 -04:00
Randy Lin
c9dd4c92fe Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08:00
Benjamin Chen
e4210a18a6 Bug 979812 - Check the PlanarYCbCrImage data is valid. r=rillian 2014-03-17 14:57:10 +08:00
Alfredo Yang
21b6134a6c Bug 971641 - Add AMR box type. r=cpearce 2014-03-18 08:20:18 -04:00
Alfredo Yang
57cb5b0013 Bug 971641 - Add AMR metadata. r=cpearce 2014-03-18 08:20:18 -04:00
Alfredo Yang
d0b507c1c7 Bug 971641 - Add AudioTrackMetadata and VideoTrackMetadata abstract class. r=cpearce 2014-03-18 08:20:18 -04:00
Ehsan Akhgari
178f47f91d Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Benjamin Chen
c959c750ae Bug 970787 - Support yuv 4:4:4 4:2:2 video in VP8TrackEncoder by libyuv for color conversion. r=rillian 2014-02-21 16:35:13 +08:00
Benjamin Chen
f0c4c10d46 Bug 969289 - Treat the null image pointer as a muted frame. r=rillian 2014-02-10 11:22:03 +08:00
Benjamin Chen
50be31651c Bug 970774 - Add display width/height for track encoder. r=rillian 2014-02-21 14:27:41 +08:00
Ralph Giles
a4ec495736 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Alfredo Yang
5cdd45c736 Bug 974322 - Separate AAV/AVC codec name. r=cpearce 2014-02-24 09:19:21 -05:00
Ralph Giles
19436bbed1 Bug 974569 - Clean up OpusTrackEncoder array construction. r=shelly
- Use implicit array sizes for constant tables and strings.

- Use AppendElements(data, length) directly instead of the
  memcpy(AppendElements(lenth), data, length) construction.

- Use ArrayLength instead of MOZ_ARRAY_LENGTH since we're
  in C++ code.
2014-02-19 11:55:00 -08:00
Alfredo Yang
60fbbe1588 Bug 971639 - Support fragmented 3GP. r=cpearce 2014-02-19 11:00:34 -05:00
John Lin
c571b8f73a Bug 972246 - Keep sending EOS signal unitl OMXVideoEncoder actually receive it. r=roc 2014-02-18 08:50:15 -05:00
Alfredo Yang
dacf731ba9 Bug 970793 - Update correct base_data_offset. r=cpearce 2014-02-12 09:54:56 -05:00
Ms2ger
31c7d64437 Bug 952033 - Part e: Use IntSize in VideoSegment; r=roc 2014-02-09 09:04:38 +01:00
JW Wang
5f2bd531d3 Bug 960243 - Try to fetch m frames such that there will be n frames after resampling which will fit into an Opus packet duration perfectly. r=rillian 2014-02-07 11:18:36 +08:00
Alfredo Yang
86c16b7caa Bug 964197 - Add frame duration for synchronization. r=cpearce 2014-02-02 20:57:41 -05:00
Alfredo Yang
06e9d4304d Bug 961618 - Reduce memory usage by swapping audio/video array pointer. r=cpearce 2014-01-31 21:51:27 -05:00
Benoit Jacob
3ee7a2d643 Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Alfredo Yang
3aa7145fee Bug 959021 - Rename HAS_AUDIO/HAS_VIDEO and add swap in/out frame data. r=cpearce 2014-01-30 11:06:11 -05:00
John Lin
30886a7f72 Bug 963502 - [MediaEncoder] OMXAudioEncoder will be out of input buffers if input segment is too big. r=roc 2014-01-29 08:20:55 -05:00
Randy Lin
c99b2ced4f Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
John Lin
b7d8e24543 Bug 961925 - Move MOZ_OMX_ENCODER definition from local moz.build to global configuration file. r=gps 2014-01-23 09:32:32 -05:00
Ryan VanderMeulen
8eeeeece37 Backed out changeset 1395d2a59698 (bug 879668) for landing without review. 2014-01-18 23:00:52 -05:00
John Lin
28a230737b Bug 879668 - Part 5: Add OmxAudioTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:13 -05:00
Shelly Lin
9a0dd6c5c9 Bug 879668 - Part 4: Add OmxVideoTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:02 -05:00
John Lin
7519996813 Bug 879668 - Part 3: Add OMXCodecWrapper. r=roc 2014-01-17 14:29:41 -05:00
Shelly Lin
ab2daf3a31 Bug 879668 - Part 1: Make CreateMutedFrame static. r=roc 2013-12-03 17:50:48 +08:00
Randy Lin
08cfaa6d12 Bug 959501 - [Media Encoder] Add preferences for video encoder. r=roc 2014-01-14 15:26:04 +08:00
Alfredo Yang
471c9e9aa9 Bug 957939 - Move Audio_Track/Video_Track out of ISOTrackMetadata. r=cpearce 2014-01-14 09:59:40 -05:00
Alfredo Yang
0d8cda28c7 Bug 959022 - Add data-offset-present in traf box. r=cpearce 2014-01-13 08:28:26 -05:00
Shelly Lin
60dc6c5d1b Bug 955981 - Make function InterleaveTrackData public and static. r=roc 2014-01-07 18:05:05 +08:00
Shelly Lin
21501b468b Bug 936981 - Setup GTest for content/media and add a test case for OpusTrackEncoder. r=rillian 2014-01-07 11:04:51 +08:00
Randy Lin
7113bf2f0e Bug 952020 - Remove the MediaEncoder::OnEncoderThread(). r=roc 2013-12-19 18:13:05 +08:00
Alfredo Yang
8df1fa2248 Bug 891704 - Add ISO media container muxer. r=cpearce 2014-01-02 10:39:24 -05:00
Randy Lin
d2ab1b4eaf Bug 879669 - Part 2: Let Encoder can support various mimeType. r=roc 2013-12-10 15:24:51 +08:00
Tor Arvid Lund
944f0d6f3b Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Shelly Lin
a9385adbe9 Bug 948819 - Do not round the frame size if the source video is in odd resolutions. r=roc 2013-12-11 17:42:56 +08:00
Shelly Lin
3b41fa6b74 Bug 945127 - Correct the checking of input sampling rate. r=giles 2013-12-11 13:56:18 +08:00
Shelly Lin
71d185bc30 Bug 941283 - OpusTrackEncoder should write pre-skip at the original samplerate. r=rillian 2013-12-02 11:54:35 +08:00
Shelly Lin
f441e28c56 Bug 945135 - Part 2: Add VideoTrackEncoder. r=roc 2013-12-02 15:52:54 +08:00
Shelly Lin
45271e9aec Bug 945135 - Part 1: Refactor of TrackEncoder and AudioTrackEncoder. r=roc 2013-11-12 10:29:09 +08:00
Randy Lin
98ffdc3b08 Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-25 12:57:52 +13:00
Ralph Giles
e6a51e9b0c Bug 941281 - Release resampler in OpusTrackEncoder dtor. r=roc
We released the resampler when we reached the end of the stream
but would leak if the encoder was destroyed while data was still
available.
2013-11-21 11:09:08 +13:00