Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Issue 363813002: Update to Pipeline Metadata and Decoder Stream for Orientation Data (Closed)

Created:
6 years, 5 months ago by suderman
Modified:
3 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Update to Pipeline Metadata and Decoder stream to track the set of video rotation metadata. This will later be used to correctly orient rotated videos. BUG=47554 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282236

Patch Set 1 #

Total comments: 2

Patch Set 2 : VideoRotation enum added #

Total comments: 4

Patch Set 3 : Split enum to own file #

Total comments: 11

Patch Set 4 : Made {set_}video_rotation virtual #

Total comments: 5

Patch Set 5 : Removed set_video_rotation #

Patch Set 6 : Pipeline Integration Tests Added #

Patch Set 7 : Added FFmpeg Demuxer Tests #

Patch Set 8 : Merged #

Patch Set 9 : Fixed Merge #

Total comments: 11

Patch Set 10 : minor editing, mov->MP4, removed unneeded media prefix #

Total comments: 1

Patch Set 11 : Removed unneeded variable #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -1 line) Patch
M media/base/demuxer_stream.h View 1 2 3 4 2 chunks +3 lines, -0 lines 1 comment Download
M media/base/fake_text_track_stream.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/base/fake_text_track_stream.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/mock_filters.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/mock_filters.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/pipeline.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M media/base/pipeline.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
A media/base/video_rotation.h View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -0 lines 0 comments Download
M media/filters/chunk_demuxer.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/chunk_demuxer.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/decrypting_demuxer_stream.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/decrypting_demuxer_stream.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/fake_demuxer_stream.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/fake_demuxer_stream.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 1 2 3 4 3 chunks +4 lines, -0 lines 2 comments Download
M media/filters/ffmpeg_demuxer.cc View 1 2 3 4 4 chunks +30 lines, -0 lines 1 comment Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +36 lines, -0 lines 0 comments Download
M media/filters/pipeline_integration_test.cc View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (1 generated)
suderman
Here is the separated CL for tracking rotation metadata through video decoder config and pipeline ...
6 years, 5 months ago (2014-07-02 00:24:21 UTC) #1
scherkus (not reviewing)
+xhwang for some feedback https://codereview.chromium.org/363813002/diff/1/media/base/video_decoder_config.h File media/base/video_decoder_config.h (right): https://codereview.chromium.org/363813002/diff/1/media/base/video_decoder_config.h#newcode139 media/base/video_decoder_config.h:139: int rotation() const; xhwang: do ...
6 years, 5 months ago (2014-07-02 01:44:47 UTC) #2
suderman
On 2014/07/02 01:44:47, scherkus wrote: > +xhwang for some feedback > > https://codereview.chromium.org/363813002/diff/1/media/base/video_decoder_config.h > File ...
6 years, 5 months ago (2014-07-07 19:43:48 UTC) #3
scherkus (not reviewing)
https://codereview.chromium.org/363813002/diff/20001/media/base/pipeline.h File media/base/pipeline.h (right): https://codereview.chromium.org/363813002/diff/20001/media/base/pipeline.h#newcode42 media/base/pipeline.h:42: rotation(media::kRotate0) {} we're inside the media namsepace so we ...
6 years, 5 months ago (2014-07-07 20:52:38 UTC) #4
suderman
On 2014/07/07 20:52:38, scherkus wrote: > https://codereview.chromium.org/363813002/diff/20001/media/base/pipeline.h > File media/base/pipeline.h (right): > > https://codereview.chromium.org/363813002/diff/20001/media/base/pipeline.h#newcode42 > ...
6 years, 5 months ago (2014-07-07 22:31:57 UTC) #5
scherkus (not reviewing)
https://codereview.chromium.org/363813002/diff/40001/media/base/demuxer_stream.h File media/base/demuxer_stream.h (right): https://codereview.chromium.org/363813002/diff/40001/media/base/demuxer_stream.h#newcode85 media/base/demuxer_stream.h:85: void set_video_rotation(VideoRotation video_rotation); this class is a pure virtual ...
6 years, 5 months ago (2014-07-07 22:41:11 UTC) #6
suderman
I've made the move to virtual functions. It may make sense to have set_video_rotation be ...
6 years, 5 months ago (2014-07-07 23:50:58 UTC) #7
scherkus (not reviewing)
On 2014/07/07 23:50:58, suderman wrote: > I've made the move to virtual functions. It may ...
6 years, 5 months ago (2014-07-07 23:58:28 UTC) #8
scherkus (not reviewing)
few more nitty things -- we're getting there! https://codereview.chromium.org/363813002/diff/60001/media/base/demuxer_stream.h File media/base/demuxer_stream.h (right): https://codereview.chromium.org/363813002/diff/60001/media/base/demuxer_stream.h#newcode85 media/base/demuxer_stream.h:85: virtual ...
6 years, 5 months ago (2014-07-07 23:58:45 UTC) #9
scherkus (not reviewing)
... also your CL description will need updating to reflect the change to no longer ...
6 years, 5 months ago (2014-07-07 23:59:03 UTC) #10
suderman
I've removed set_video_rotation, made sure to initialize video_rotation_ and updated the CL description as needed.
6 years, 5 months ago (2014-07-08 16:04:00 UTC) #11
scherkus (not reviewing)
awesome work! now we just need a test :) can you generate some test content ...
6 years, 5 months ago (2014-07-08 17:17:47 UTC) #12
suderman
I added the pipelineIntegrationTests for 0, 90, 180, and 270 degrees. I also updated the ...
6 years, 5 months ago (2014-07-09 21:51:39 UTC) #13
scherkus (not reviewing)
can you email me the test files? CQ doesn't support binary files, so I'll manually ...
6 years, 5 months ago (2014-07-09 22:08:37 UTC) #14
scherkus (not reviewing)
more nits -- thanks for writing tests! we'll also be renaming the files from .mov ...
6 years, 5 months ago (2014-07-09 22:15:16 UTC) #15
suderman
Changes integrated.
6 years, 5 months ago (2014-07-09 22:58:09 UTC) #16
scherkus (not reviewing)
one tiny nit -- but lgtm otherwise https://codereview.chromium.org/363813002/diff/180001/media/filters/ffmpeg_demuxer_unittest.cc File media/filters/ffmpeg_demuxer_unittest.cc (right): https://codereview.chromium.org/363813002/diff/180001/media/filters/ffmpeg_demuxer_unittest.cc#newcode921 media/filters/ffmpeg_demuxer_unittest.cc:921: CreateDemuxer(file); any ...
6 years, 5 months ago (2014-07-09 23:01:28 UTC) #17
suderman
Force of habit. Any file names / strings for tests I previously declared at the ...
6 years, 5 months ago (2014-07-09 23:09:06 UTC) #18
suderman
The CQ bit was checked by suderman@chromium.org
6 years, 5 months ago (2014-07-09 23:21:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/suderman@chromium.org/363813002/200001
6 years, 5 months ago (2014-07-09 23:23:53 UTC) #20
commit-bot: I haz the power
Change committed as 282236
6 years, 5 months ago (2014-07-10 03:24:21 UTC) #21
wolenetz
https://codereview.chromium.org/363813002/diff/200001/media/filters/ffmpeg_demuxer.h File media/filters/ffmpeg_demuxer.h (right): https://codereview.chromium.org/363813002/diff/200001/media/filters/ffmpeg_demuxer.h#newcode282 media/filters/ffmpeg_demuxer.h:282: VideoRotation video_rotation_; post-commit drive-by: Is this member unused?
6 years, 5 months ago (2014-07-16 01:16:50 UTC) #22
scherkus (not reviewing)
https://codereview.chromium.org/363813002/diff/200001/media/filters/ffmpeg_demuxer.h File media/filters/ffmpeg_demuxer.h (right): https://codereview.chromium.org/363813002/diff/200001/media/filters/ffmpeg_demuxer.h#newcode282 media/filters/ffmpeg_demuxer.h:282: VideoRotation video_rotation_; On 2014/07/16 01:16:50, wolenetz wrote: > post-commit ...
6 years, 5 months ago (2014-07-16 17:53:46 UTC) #23
suderman
Uploaded in https://codereview.chromium.org/394703004/
6 years, 5 months ago (2014-07-16 18:27:19 UTC) #24
Julien Isorce
Hi, what about moving VideoRotation to VideoDecoderConfig instead of having it floating everywhere ? https://codereview.chromium.org/363813002/diff/200001/media/base/demuxer_stream.h ...
3 years, 3 months ago (2017-09-22 08:01:02 UTC) #25
DaleCurtis
This is a very old CL, so please either fire a bug or submit a ...
3 years, 3 months ago (2017-09-22 16:52:19 UTC) #27
Julien Isorce
3 years, 2 months ago (2017-09-25 09:55:41 UTC) #28
Message was sent while issue was closed.
On 2017/09/22 16:52:19, DaleCurtis wrote:
> This is a very old CL, so please either fire a bug or submit a CL with your
> proposed changes and we can take a look.

Done: crbug.com/768317

Powered by Google App Engine
This is Rietveld 408576698