Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2016 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package android.hardware.media.omx@1.0; |
| 18 | |
| 19 | import android.hardware.graphics.common@1.0::Dataspace; |
| 20 | |
| 21 | import android.hardware.media@1.0::types; |
| 22 | |
| 23 | import IOmxNode; |
| 24 | |
| 25 | /** |
| 26 | * Ref: frameworks/av/media/libmedia/aidl/android/IGraphicBufferSource.aidl |
| 27 | * |
| 28 | * TODO: Add documentations. |
| 29 | */ |
| 30 | interface IGraphicBufferSource { |
| 31 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 32 | configure(IOmxNode omxNode, Dataspace dataspace) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 33 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 34 | setSuspend(bool suspend, int64_t timeUs) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 35 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 36 | setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 37 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 38 | setMaxFps(float maxFps) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 39 | |
Pawin Vongmasa | 0048c96 | 2017-04-20 05:08:15 -0700 | [diff] [blame] | 40 | setTimeLapseConfig(double fps, double captureFps) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 41 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 42 | setStartTimeUs(int64_t startTimeUs) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 43 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 44 | setStopTimeUs(int64_t stopTimeUs) generates (Status status); |
Hangyu Kuang | 9ad0d00 | 2017-02-01 18:40:40 -0800 | [diff] [blame] | 45 | |
Hangyu Kuang | 171bbf5 | 2017-04-05 11:32:31 -0700 | [diff] [blame] | 46 | getStopTimeOffsetUs() generates (Status status, int64_t stopTimeOffsetUs); |
| 47 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 48 | setColorAspects(ColorAspects aspects) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 49 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 50 | setTimeOffsetUs(int64_t timeOffsetUs) generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 51 | |
Robert Shih | a278750 | 2017-03-11 01:22:12 +0000 | [diff] [blame] | 52 | signalEndOfInputStream() generates (Status status); |
Pawin Vongmasa | 6ec37b9 | 2016-10-06 19:01:51 -0700 | [diff] [blame] | 53 | |
| 54 | }; |
| 55 | |