Amy Zhang | 80cb960 | 2020-07-15 13:06:39 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2020 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.tv.tuner@1.1; |
| 18 | |
| 19 | import @1.0::IDemux; |
Amy Zhang | 80cb960 | 2020-07-15 13:06:39 -0700 | [diff] [blame] | 20 | import @1.0::IFilter; |
Amy Zhang | 68afca6 | 2020-07-20 18:28:58 -0700 | [diff] [blame] | 21 | import @1.0::Result; |
Amy Zhang | 80cb960 | 2020-07-15 13:06:39 -0700 | [diff] [blame] | 22 | |
| 23 | /** |
| 24 | * Demultiplexer(Demux) takes a single multiplexed input and splits it into |
| 25 | * one or more output. |
| 26 | */ |
| 27 | interface IDemux extends @1.0::IDemux { |
| 28 | /** |
| 29 | * Get a 64-bit hardware sync ID for audio and video. |
| 30 | * |
| 31 | * It is used by the client to get the hardware sync ID for audio and video. |
| 32 | * |
Amy Zhang | 68afca6 | 2020-07-20 18:28:58 -0700 | [diff] [blame] | 33 | * @param filter the v1_1 filter instance. |
Amy Zhang | 80cb960 | 2020-07-15 13:06:39 -0700 | [diff] [blame] | 34 | * @return result Result status of the operation. |
| 35 | * SUCCESS if successful, |
| 36 | * INVALID_ARGUMENT if failed for a wrong filter ID. |
| 37 | * UNKNOWN_ERROR if failed for other reasons. |
| 38 | * @return avSyncHwId the id of hardware A/V sync. |
| 39 | */ |
| 40 | getAvSyncHwId64Bit(IFilter filter) generates (Result result, uint64_t avSyncHwId); |
| 41 | }; |