Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 799) sorted by relevance

12345678910>>...32

/hardware/google/graphics/common/libv4l2/
Dexynos_mc.c65 struct media_device *media, in __media_debug_set_handler() argument
70 media->debug_handler = debug_handler; in __media_debug_set_handler()
71 media->debug_priv = debug_priv; in __media_debug_set_handler()
73 media->debug_handler = __media_debug_default; in __media_debug_set_handler()
74 media->debug_priv = NULL; in __media_debug_set_handler()
84 static int __media_enum_links(struct media_device *media) in __media_enum_links() argument
118 static int __media_get_media_fd(const char *filename, struct media_device *media) in __media_get_media_fd() argument
126 media->fd = open(filename, O_RDWR, 0); in __media_get_media_fd()
127 if (media->fd < 0) { in __media_get_media_fd()
128 ALOGE("Open sysfs media device failed, media->fd: %d", media->fd); in __media_get_media_fd()
[all …]
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.h32 using SrcSinkPair = std::pair<aidl::android::media::audio::common::AudioPortConfig,
33 aidl::android::media::audio::common::AudioPortConfig>;
37 static std::optional<aidl::android::media::audio::common::AudioOffloadInfo>
39 const aidl::android::media::audio::common::AudioPortConfig& portConfig);
41 static std::vector<aidl::android::media::audio::common::AudioPort> getAudioPortsForDeviceTypes(
42 const std::vector<aidl::android::media::audio::common::AudioPort>& ports,
43 const std::vector<aidl::android::media::audio::common::AudioDeviceType>& deviceTypes,
45 static std::vector<aidl::android::media::audio::common::AudioPort> getBuiltInMicPorts(
46 const std::vector<aidl::android::media::audio::common::AudioPort>& ports);
52 std::vector<aidl::android::media::audio::common::AudioPort> getAttachedDevicePorts() const;
[all …]
/hardware/interfaces/media/c2/aidl/aidl_api/android.hardware.media.c2/current/android/hardware/media/c2/
DIConfigurable.aidl34 package android.hardware.media.c2;
37 …android.hardware.media.c2.IConfigurable.ConfigResult config(in android.hardware.media.c2.Params in… in config()
40 android.hardware.media.c2.IConfigurable.QueryResult query(in int[] indices, in boolean mayBlock); in query()
41 android.hardware.media.c2.ParamDescriptor[] querySupportedParams(in int start, in int count); in querySupportedParams()
42 …android.hardware.media.c2.IConfigurable.QuerySupportedValuesResult querySupportedValues(in android… in querySupportedValues()
45 android.hardware.media.c2.Params params;
46 android.hardware.media.c2.SettingResult[] failures;
47 android.hardware.media.c2.Status status;
51 android.hardware.media.c2.Params params;
52 android.hardware.media.c2.Status status;
[all …]
DIComponent.aidl34 package android.hardware.media.c2;
38 …android.hardware.media.c2.IComponent.BlockPool createBlockPool(in android.hardware.media.c2.ICompo… in createBlockPool()
41 android.hardware.media.c2.WorkBundle flush(); in flush()
42 android.hardware.media.c2.IComponentInterface getInterface(); in getInterface()
43 void queue(in android.hardware.media.c2.WorkBundle workBundle); in queue()
48 …android.hardware.media.c2.IInputSurfaceConnection connectToInputSurface(in android.hardware.media.… in connectToInputSurface()
49 android.hardware.media.c2.IInputSink asInputSink(); in asInputSink()
52 android.hardware.media.c2.IConfigurable configurable;
56 android.hardware.media.c2.IGraphicBufferAllocator igba;
61 android.hardware.media.c2.IPooledGraphicBufferAllocator ipgba;
[all …]
DIComponentStore.aidl34 package android.hardware.media.c2;
37 void copyBuffer(in android.hardware.media.c2.Buffer src, in android.hardware.media.c2.Buffer dst); in copyBuffer()
38 …hardware.media.c2.IComponent createComponent(in String name, in android.hardware.media.c2.ICompone… in createComponent()
39 android.hardware.media.c2.IComponentInterface createInterface(in String name); in createInterface()
40 android.hardware.media.c2.IConfigurable getConfigurable(); in getConfigurable()
41 android.hardware.media.bufferpool2.IClientManager getPoolClientManager(); in getPoolClientManager()
42 android.hardware.media.c2.StructDescriptor[] getStructDescriptors(in int[] indices); in getStructDescriptors()
43 android.hardware.media.c2.IComponentStore.ComponentTraits[] listComponents(); in listComponents()
44 android.hardware.media.c2.IInputSurface createInputSurface(); in createInputSurface()
48 android.hardware.media.c2.IComponentStore.ComponentTraits.Domain domain;
[all …]
/hardware/interfaces/media/c2/aidl/aidl_api/android.hardware.media.c2/1/android/hardware/media/c2/
DIConfigurable.aidl34 package android.hardware.media.c2;
37 …android.hardware.media.c2.IConfigurable.ConfigResult config(in android.hardware.media.c2.Params in… in config()
40 android.hardware.media.c2.IConfigurable.QueryResult query(in int[] indices, in boolean mayBlock); in query()
41 android.hardware.media.c2.ParamDescriptor[] querySupportedParams(in int start, in int count); in querySupportedParams()
42 …android.hardware.media.c2.IConfigurable.QuerySupportedValuesResult querySupportedValues(in android… in querySupportedValues()
45 android.hardware.media.c2.Params params;
46 android.hardware.media.c2.SettingResult[] failures;
47 android.hardware.media.c2.Status status;
51 android.hardware.media.c2.Params params;
52 android.hardware.media.c2.Status status;
[all …]
DIComponentStore.aidl34 package android.hardware.media.c2;
37 void copyBuffer(in android.hardware.media.c2.Buffer src, in android.hardware.media.c2.Buffer dst); in copyBuffer()
38 …hardware.media.c2.IComponent createComponent(in String name, in android.hardware.media.c2.ICompone… in createComponent()
39 android.hardware.media.c2.IComponentInterface createInterface(in String name); in createInterface()
40 android.hardware.media.c2.IConfigurable getConfigurable(); in getConfigurable()
41 android.hardware.media.bufferpool2.IClientManager getPoolClientManager(); in getPoolClientManager()
42 android.hardware.media.c2.StructDescriptor[] getStructDescriptors(in int[] indices); in getStructDescriptors()
43 android.hardware.media.c2.IComponentStore.ComponentTraits[] listComponents(); in listComponents()
44 android.hardware.media.c2.IInputSurface createInputSurface(); in createInputSurface()
48 android.hardware.media.c2.IComponentStore.ComponentTraits.Domain domain;
[all …]
DIComponent.aidl34 package android.hardware.media.c2;
38 …android.hardware.media.c2.IComponent.BlockPool createBlockPool(in android.hardware.media.c2.ICompo… in createBlockPool()
41 android.hardware.media.c2.WorkBundle flush(); in flush()
42 android.hardware.media.c2.IComponentInterface getInterface(); in getInterface()
43 void queue(in android.hardware.media.c2.WorkBundle workBundle); in queue()
48 …android.hardware.media.c2.IInputSurfaceConnection connectToInputSurface(in android.hardware.media.… in connectToInputSurface()
49 android.hardware.media.c2.IInputSink asInputSink(); in asInputSink()
52 android.hardware.media.c2.IConfigurable configurable;
56 android.hardware.media.c2.IGraphicBufferAllocator igba;
61 android.hardware.media.c2.IPooledGraphicBufferAllocator ipgba;
[all …]
/hardware/interfaces/media/c2/aidl/android/hardware/media/c2/
DIComponentStore.aidl17 package android.hardware.media.c2;
19 import android.hardware.media.c2.Buffer;
20 import android.hardware.media.c2.IComponent;
21 import android.hardware.media.c2.IComponentInterface;
22 import android.hardware.media.c2.IComponentListener;
23 import android.hardware.media.c2.IConfigurable;
24 import android.hardware.media.c2.IInputSurface;
25 import android.hardware.media.c2.StructDescriptor;
125 in android.hardware.media.bufferpool2.IClientManager pool); in createComponent()
156 android.hardware.media.bufferpool2.IClientManager getPoolClientManager(); in getPoolClientManager()
DIComponent.aidl17 package android.hardware.media.c2;
21 import android.hardware.media.c2.IComponentInterface;
22 import android.hardware.media.c2.IConfigurable;
23 import android.hardware.media.c2.IGraphicBufferAllocator;
24 import android.hardware.media.c2.IInputSink;
25 import android.hardware.media.c2.IInputSurface;
26 import android.hardware.media.c2.IInputSurfaceConnection;
27 import android.hardware.media.c2.IPooledGraphicBufferAllocator;
28 import android.hardware.media.c2.WorkBundle;
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/current/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl34 package android.hardware.radio.ims.media;
38 …fySessionResponse(in android.hardware.radio.ims.media.RtpConfig config, android.hardware.radio.ims… in onModifySessionResponse()
39 oneway void onFirstMediaPacketReceived(in android.hardware.radio.ims.media.RtpConfig config); in onFirstMediaPacketReceived()
40 …oneway void onHeaderExtensionReceived(in List<android.hardware.radio.ims.media.RtpHeaderExtension>… in onHeaderExtensionReceived()
41 …oneway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus qualit… in notifyMediaQualityStatus()
42 oneway void triggerAnbrQuery(in android.hardware.radio.ims.media.RtpConfig config); in triggerAnbrQuery()
44 oneway void onCallQualityChanged(in android.hardware.radio.ims.media.CallQuality callQuality); in onCallQualityChanged()
45 oneway void notifyRtpReceptionStats(in android.hardware.radio.ims.media.RtpReceptionStats stats); in notifyRtpReceptionStats()
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/2/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl34 package android.hardware.radio.ims.media;
38 …fySessionResponse(in android.hardware.radio.ims.media.RtpConfig config, android.hardware.radio.ims… in onModifySessionResponse()
39 oneway void onFirstMediaPacketReceived(in android.hardware.radio.ims.media.RtpConfig config); in onFirstMediaPacketReceived()
40 …oneway void onHeaderExtensionReceived(in List<android.hardware.radio.ims.media.RtpHeaderExtension>… in onHeaderExtensionReceived()
41 …oneway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus qualit… in notifyMediaQualityStatus()
42 oneway void triggerAnbrQuery(in android.hardware.radio.ims.media.RtpConfig config); in triggerAnbrQuery()
44 oneway void onCallQualityChanged(in android.hardware.radio.ims.media.CallQuality callQuality); in onCallQualityChanged()
45 oneway void notifyRtpReceptionStats(in android.hardware.radio.ims.media.RtpReceptionStats stats); in notifyRtpReceptionStats()
/hardware/interfaces/media/omx/1.0/vts/functional/video/
Dmedia_video_hidl_test_common.cpp32 using ::android::hardware::media::omx::V1_0::IOmx;
33 using ::android::hardware::media::omx::V1_0::IOmxObserver;
34 using ::android::hardware::media::omx::V1_0::IOmxNode;
35 using ::android::hardware::media::omx::V1_0::Message;
36 using ::android::hardware::media::omx::V1_0::CodecBuffer;
37 using ::android::hardware::media::omx::V1_0::PortMode;
56 android::hardware::media::omx::V1_0::Status status; in enumerateProfileAndLevel()
65 if (status != ::android::hardware::media::omx::V1_0::Status::OK) break; in enumerateProfileAndLevel()
81 android::hardware::media::omx::V1_0::Status status; in setupRAWPort()
86 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupRAWPort()
[all …]
/hardware/interfaces/audio/aidl/common/include/
DUtils.h55 constexpr std::array<::aidl::android::media::audio::common::AudioMode, 5> kValidAudioModes = {
56 ::aidl::android::media::audio::common::AudioMode::NORMAL,
57 ::aidl::android::media::audio::common::AudioMode::RINGTONE,
58 ::aidl::android::media::audio::common::AudioMode::IN_CALL,
59 ::aidl::android::media::audio::common::AudioMode::IN_COMMUNICATION,
60 ::aidl::android::media::audio::common::AudioMode::CALL_SCREEN,
63 constexpr size_t getPcmSampleSizeInBytes(::aidl::android::media::audio::common::PcmType pcm) { in getPcmSampleSizeInBytes()
64 using ::aidl::android::media::audio::common::PcmType; in getPcmSampleSizeInBytes()
83 const ::aidl::android::media::audio::common::AudioChannelLayout& layout,
85 using Tag = ::aidl::android::media::audio::common::AudioChannelLayout::Tag;
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp34 using ::android::hardware::media::omx::V1_0::IOmx;
35 using ::android::hardware::media::omx::V1_0::IOmxObserver;
36 using ::android::hardware::media::omx::V1_0::IOmxNode;
37 using ::android::hardware::media::omx::V1_0::Message;
38 using ::android::hardware::media::omx::V1_0::CodecBuffer;
39 using ::android::hardware::media::omx::V1_0::PortMode;
67 android::hardware::media::omx::V1_0::Status status; in SetUp()
74 [&](android::hardware::media::omx::V1_0::Status _s, in SetUp()
80 if (status == android::hardware::media::omx::V1_0::Status::NAME_NOT_FOUND) { in SetUp()
85 ASSERT_EQ(status, android::hardware::media::omx::V1_0::Status::OK); in SetUp()
[all …]
/hardware/interfaces/tv/tuner/config/api/
Dcurrent.txt2 package android.media.tuner.testing.configuration.V1_0 {
26 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.Clear…
27 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.Descr…
28 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.DvrPl…
29 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.DvrRe…
30 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.LnbDe…
31 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.LnbLi…
32 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.LnbRe…
33 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.Scan …
34 …method @Nullable public android.media.tuner.testing.configuration.V1_0.DataFlowConfiguration.TimeF…
[all …]
/hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.ims.media/1/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl34 package android.hardware.radio.ims.media;
37 …fySessionResponse(in android.hardware.radio.ims.media.RtpConfig config, android.hardware.radio.ims… in onModifySessionResponse()
38 oneway void onFirstMediaPacketReceived(in android.hardware.radio.ims.media.RtpConfig config); in onFirstMediaPacketReceived()
39 …oneway void onHeaderExtensionReceived(in List<android.hardware.radio.ims.media.RtpHeaderExtension>… in onHeaderExtensionReceived()
40 …oneway void notifyMediaQualityStatus(in android.hardware.radio.ims.media.MediaQualityStatus qualit… in notifyMediaQualityStatus()
41 oneway void triggerAnbrQuery(in android.hardware.radio.ims.media.RtpConfig config); in triggerAnbrQuery()
43 oneway void onCallQualityChanged(in android.hardware.radio.ims.media.CallQuality callQuality); in onCallQualityChanged()
/hardware/qcom/sm8150/media/conf_files/sm6150/
Dsm6150.mk1 CONFIG_PATH := hardware/qcom/media/conf_files/$(MSMSTEPPE)
37 DEVICE_MANIFEST_FILE += hardware/qcom/media/conf_files/sm6150/c2_manifest_vendor.xml
38 PRODUCT_ODM_PROPERTIES += debug.media.codec2=0
42 … device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml \
43 …device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
46 DEVICE_MANIFEST_FILE += hardware/qcom/media/conf_files/sm6150/c2_manifest_vendor.xml
51 … device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_ODM)/etc/media_profiles_V1_0.xml \
52 …device/qcom/common/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
55 DEVICE_MANIFEST_FILE += hardware/qcom/media/conf_files/sm6150/c2_manifest.xml
57 PRODUCT_PROPERTY_OVERRIDES += media.settings.xml=/vendor/etc/media_profiles_vendor.xml
[all …]
/hardware/interfaces/soundtrigger/aidl/aidl_api/android.hardware.soundtrigger3/1/android/hardware/soundtrigger3/
DISoundTriggerHw.aidl37 android.media.soundtrigger.Properties getProperties(); in getProperties()
39 …int loadSoundModel(in android.media.soundtrigger.SoundModel soundModel, in android.hardware.soundt… in loadSoundModel()
40 …int loadPhraseSoundModel(in android.media.soundtrigger.PhraseSoundModel soundModel, in android.har… in loadPhraseSoundModel()
42 …void startRecognition(in int modelHandle, in int deviceHandle, in int ioHandle, in android.media.s… in startRecognition()
45 …@nullable android.media.soundtrigger.ModelParameterRange queryParameter(in int modelHandle, in and… in queryParameter()
46 int getParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam); in getParameter()
47 …void setParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam, in … in setParameter()
/hardware/interfaces/soundtrigger/aidl/aidl_api/android.hardware.soundtrigger3/current/android/hardware/soundtrigger3/
DISoundTriggerHw.aidl37 android.media.soundtrigger.Properties getProperties(); in getProperties()
39 …int loadSoundModel(in android.media.soundtrigger.SoundModel soundModel, in android.hardware.soundt… in loadSoundModel()
40 …int loadPhraseSoundModel(in android.media.soundtrigger.PhraseSoundModel soundModel, in android.har… in loadPhraseSoundModel()
42 …void startRecognition(in int modelHandle, in int deviceHandle, in int ioHandle, in android.media.s… in startRecognition()
45 …@nullable android.media.soundtrigger.ModelParameterRange queryParameter(in int modelHandle, in and… in queryParameter()
46 int getParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam); in getParameter()
47 …void setParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam, in … in setParameter()
/hardware/interfaces/soundtrigger/aidl/aidl_api/android.hardware.soundtrigger3/2/android/hardware/soundtrigger3/
DISoundTriggerHw.aidl37 android.media.soundtrigger.Properties getProperties(); in getProperties()
39 …int loadSoundModel(in android.media.soundtrigger.SoundModel soundModel, in android.hardware.soundt… in loadSoundModel()
40 …int loadPhraseSoundModel(in android.media.soundtrigger.PhraseSoundModel soundModel, in android.har… in loadPhraseSoundModel()
42 …void startRecognition(in int modelHandle, in int deviceHandle, in int ioHandle, in android.media.s… in startRecognition()
45 …@nullable android.media.soundtrigger.ModelParameterRange queryParameter(in int modelHandle, in and… in queryParameter()
46 int getParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam); in getParameter()
47 …void setParameter(in int modelHandle, in android.media.soundtrigger.ModelParameter modelParam, in … in setParameter()
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
Dmedia_audio_hidl_test_common.cpp32 using ::android::hardware::media::omx::V1_0::IOmx;
33 using ::android::hardware::media::omx::V1_0::IOmxObserver;
34 using ::android::hardware::media::omx::V1_0::IOmxNode;
35 using ::android::hardware::media::omx::V1_0::Message;
36 using ::android::hardware::media::omx::V1_0::CodecBuffer;
37 using ::android::hardware::media::omx::V1_0::PortMode;
54 android::hardware::media::omx::V1_0::Status status; in enumerateProfile()
62 if (status != ::android::hardware::media::omx::V1_0::Status::OK) break; in enumerateProfile()
78 android::hardware::media::omx::V1_0::Status status; in setupPCMPort()
80 EXPECT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in setupPCMPort()
[all …]
/hardware/interfaces/radio/aidl/android/hardware/radio/ims/media/
DIImsMediaSessionListener.aidl17 package android.hardware.radio.ims.media;
19 import android.hardware.radio.ims.media.CallQuality;
20 import android.hardware.radio.ims.media.MediaQualityStatus;
21 import android.hardware.radio.ims.media.RtpConfig;
22 import android.hardware.radio.ims.media.RtpError;
23 import android.hardware.radio.ims.media.RtpHeaderExtension;
24 import android.hardware.radio.ims.media.RtpReceptionStats;
/hardware/interfaces/audio/aidl/default/include/core-impl/
DModule.h37 std::vector<::aidl::android::media::audio::common::AudioPort> ports;
38 std::vector<::aidl::android::media::audio::common::AudioPortConfig> portConfigs;
39 std::vector<::aidl::android::media::audio::common::AudioPortConfig> initialConfigs;
42 std::map<int32_t, std::vector<::aidl::android::media::audio::common::AudioProfile>>
71 const ::aidl::android::media::audio::common::AudioPort& in_templateIdAndAdditionalData,
72 ::aidl::android::media::audio::common::AudioPort* _aidl_return) override;
78 ::aidl::android::media::audio::common::AudioPort* _aidl_return) override;
80 std::vector<::aidl::android::media::audio::common::AudioPortConfig>* _aidl_return)
83 std::vector<::aidl::android::media::audio::common::AudioPort>* _aidl_return) override;
103 const ::aidl::android::media::audio::common::AudioPortConfig& in_requested,
[all …]
/hardware/interfaces/media/c2/1.2/
DAndroid.bp13 name: "android.hardware.media.c2@1.2",
26 "android.hardware.media.bufferpool@2.0",
27 "android.hardware.media.c2@1.0",
28 "android.hardware.media.c2@1.1",
29 "android.hardware.media.omx@1.0",
30 "android.hardware.media@1.0",
37 "com.android.media.swcodec",
38 "test_com.android.media.swcodec",

12345678910>>...32