/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "NdkMediaFormat.h" #define EXPORT EXPORT const char* AMEDIAFORMAT_KEY_AAC_PROFILE = "aac-profile"; EXPORT const char* AMEDIAFORMAT_KEY_BIT_RATE = "bitrate"; EXPORT const char* AMEDIAFORMAT_KEY_CHANNEL_COUNT = "channel-count"; EXPORT const char* AMEDIAFORMAT_KEY_CHANNEL_MASK = "channel-mask"; EXPORT const char* AMEDIAFORMAT_KEY_COLOR_FORMAT = "color-format"; EXPORT const char* AMEDIAFORMAT_KEY_DURATION = "durationUs"; EXPORT const char* AMEDIAFORMAT_KEY_FLAC_COMPRESSION_LEVEL = "flac-compression-level"; EXPORT const char* AMEDIAFORMAT_KEY_FRAME_RATE = "frame-rate"; EXPORT const char* AMEDIAFORMAT_KEY_HEIGHT = "height"; EXPORT const char* AMEDIAFORMAT_KEY_IS_ADTS = "is-adts"; EXPORT const char* AMEDIAFORMAT_KEY_IS_AUTOSELECT = "is-autoselect"; EXPORT const char* AMEDIAFORMAT_KEY_IS_DEFAULT = "is-default"; EXPORT const char* AMEDIAFORMAT_KEY_IS_FORCED_SUBTITLE = "is-forced-subtitle"; EXPORT const char* AMEDIAFORMAT_KEY_I_FRAME_INTERVAL = "i-frame-interval"; EXPORT const char* AMEDIAFORMAT_KEY_LANGUAGE = "language"; EXPORT const char* AMEDIAFORMAT_KEY_MAX_HEIGHT = "max-height"; EXPORT const char* AMEDIAFORMAT_KEY_MAX_INPUT_SIZE = "max-input-size"; EXPORT const char* AMEDIAFORMAT_KEY_MAX_WIDTH = "max-width"; EXPORT const char* AMEDIAFORMAT_KEY_MIME = "mime"; EXPORT const char* AMEDIAFORMAT_KEY_PUSH_BLANK_BUFFERS_ON_STOP = "push-blank-buffers-on-shutdown"; EXPORT const char* AMEDIAFORMAT_KEY_REPEAT_PREVIOUS_FRAME_AFTER = "repeat-previous-frame-after"; EXPORT const char* AMEDIAFORMAT_KEY_SAMPLE_RATE = "sample-rate"; EXPORT const char* AMEDIAFORMAT_KEY_WIDTH = "width"; EXPORT const char* AMEDIAFORMAT_KEY_STRIDE = "stride";