blob: bee57ac0eae0b27a50c07aef304478ad2980b0ab [file] [log] [blame]
Pawin Vongmasa6ec37b92016-10-06 19:01:51 -07001/*
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
17package android.hardware.media.omx@1.0;
18
19import android.hardware.graphics.common@1.0::Dataspace;
20
21import android.hardware.media@1.0::types;
22
23import IOmxNode;
24
25/**
26 * Ref: frameworks/av/media/libmedia/aidl/android/IGraphicBufferSource.aidl
27 *
28 * TODO: Add documentations.
29 */
30interface IGraphicBufferSource {
31
32 configure(IOmxNode omxNode, Dataspace dataspace)
33 generates (Status status);
34
35 setSuspend(bool suspend)
36 generates (Status status);
37
38 setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs)
39 generates (Status status);
40
41 setMaxFps(float maxFps)
42 generates (Status status);
43
44 setTimeLapseConfig(int64_t timePerFrameUs, int64_t timePerCaptureUs)
45 generates (Status status);
46
47 setStartTimeUs(int64_t startTimeUs)
48 generates (Status status);
49
50 setColorAspects(uint32_t aspects) // TODO: Maybe break down aspects.
51 generates (Status status);
52
53 setTimeOffsetUs(int64_t timeOffsetUs)
54 generates (Status status);
55
56 signalEndOfInputStream()
57 generates (Status status);
58
59};
60