Home | History | Annotate | Download | only in 1.0
      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 
     32     configure(IOmxNode omxNode, Dataspace dataspace) generates (Status status);
     33 
     34     setSuspend(bool suspend, int64_t timeUs) generates (Status status);
     35 
     36     setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs) generates (Status status);
     37 
     38     setMaxFps(float maxFps) generates (Status status);
     39 
     40     setTimeLapseConfig(double fps, double captureFps) generates (Status status);
     41 
     42     setStartTimeUs(int64_t startTimeUs) generates (Status status);
     43 
     44     setStopTimeUs(int64_t stopTimeUs) generates (Status status);
     45 
     46     getStopTimeOffsetUs() generates (Status status, int64_t stopTimeOffsetUs);
     47 
     48     setColorAspects(ColorAspects aspects) generates (Status status);
     49 
     50     setTimeOffsetUs(int64_t timeOffsetUs) generates (Status status);
     51 
     52     signalEndOfInputStream() generates (Status status);
     53 
     54 };
     55 
     56