Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 128) sorted by relevance

123456

/hardware/intel/common/libmix/mix_video/src/
Dmixsurfacepool.c31 MixParams *mix_surfacepool_dup(const MixParams * obj);
33 static void mix_surfacepool_finalize(MixParams * obj);
76 void mix_surfacepool_finalize(MixParams * obj) { in mix_surfacepool_finalize() argument
79 MixSurfacePool *self = MIX_SURFACEPOOL(obj); in mix_surfacepool_finalize()
88 parent_class->finalize(obj); in mix_surfacepool_finalize()
105 mix_surfacepool_dup(const MixParams * obj) { in mix_surfacepool_dup() argument
108 if (MIX_IS_SURFACEPOOL(obj)) { in mix_surfacepool_dup()
110 MIX_LOCK(MIX_SURFACEPOOL(obj)->objectlock); in mix_surfacepool_dup()
113 if (mix_surfacepool_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_surfacepool_dup()
119 MIX_UNLOCK(MIX_SURFACEPOOL(obj)->objectlock); in mix_surfacepool_dup()
[all …]
Dmixvideoconfigparamsenc.c28 MixParams *mix_videoconfigparamsenc_dup(const MixParams * obj);
30 static void mix_videoconfigparamsenc_finalize(MixParams * obj);
92 void mix_videoconfigparamsenc_finalize(MixParams * obj) { in mix_videoconfigparamsenc_finalize() argument
95 MixVideoConfigParamsEnc *self = MIX_VIDEOCONFIGPARAMSENC(obj); in mix_videoconfigparamsenc_finalize()
108 parent_class->finalize(obj); in mix_videoconfigparamsenc_finalize()
125 mix_videoconfigparamsenc_dup(const MixParams * obj) { in mix_videoconfigparamsenc_dup() argument
130 if (MIX_IS_VIDEOCONFIGPARAMSENC(obj)) { in mix_videoconfigparamsenc_dup()
132 if (mix_videoconfigparamsenc_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoconfigparamsenc_dup()
352 #define MIX_VIDEOCONFIGPARAMSENC_SETTER_CHECK_INPUT(obj) \ argument
353 if(!obj) return MIX_RESULT_NULL_PTR; \
[all …]
Dmixvideoframe.c31 MixParams *mix_videoframe_dup(const MixParams * obj);
33 static void mix_videoframe_finalize(MixParams * obj);
86 void mix_videoframe_finalize(MixParams * obj) { in mix_videoframe_finalize() argument
88 MixVideoFrame *self = MIX_VIDEOFRAME (obj); in mix_videoframe_finalize()
95 parent_class->finalize(obj); in mix_videoframe_finalize()
100 mix_videoframe_ref(MixVideoFrame * obj) { in mix_videoframe_ref() argument
103 MixVideoFramePrivate *priv = VIDEOFRAME_PRIVATE(obj); in mix_videoframe_ref()
105 LOG_I("obj %x, new refcount is %d\n", (guint) obj, in mix_videoframe_ref()
106 MIX_PARAMS(obj)->refcount + 1); in mix_videoframe_ref()
108 ret = (MixVideoFrame *) mix_params_ref(MIX_PARAMS(obj)); in mix_videoframe_ref()
[all …]
Dmixbufferpool.c31 MixParams *mix_bufferpool_dup(const MixParams * obj);
33 static void mix_bufferpool_finalize(MixParams * obj);
75 void mix_bufferpool_finalize(MixParams * obj) { in mix_bufferpool_finalize() argument
78 MixBufferPool *self = MIX_BUFFERPOOL(obj); in mix_bufferpool_finalize()
87 parent_class->finalize(obj); in mix_bufferpool_finalize()
104 mix_bufferpool_dup(const MixParams * obj) { in mix_bufferpool_dup() argument
107 if (MIX_IS_BUFFERPOOL(obj)) { in mix_bufferpool_dup()
109 MIX_LOCK(MIX_BUFFERPOOL(obj)->objectlock); in mix_bufferpool_dup()
112 if (mix_bufferpool_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_bufferpool_dup()
118 MIX_UNLOCK(MIX_BUFFERPOOL(obj)->objectlock); in mix_bufferpool_dup()
[all …]
Dmixvideoconfigparamsdec.c26 MixParams *mix_videoconfigparamsdec_dup(const MixParams * obj);
28 static void mix_videoconfigparamsdec_finalize(MixParams * obj);
82 void mix_videoconfigparamsdec_finalize(MixParams * obj) { in mix_videoconfigparamsdec_finalize() argument
85 MixVideoConfigParamsDec *self = MIX_VIDEOCONFIGPARAMSDEC(obj); in mix_videoconfigparamsdec_finalize()
103 root_class->finalize(obj); in mix_videoconfigparamsdec_finalize()
120 mix_videoconfigparamsdec_dup(const MixParams * obj) { in mix_videoconfigparamsdec_dup() argument
123 if (MIX_IS_VIDEOCONFIGPARAMSDEC(obj)) { in mix_videoconfigparamsdec_dup()
125 if (mix_videoconfigparamsdec_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoconfigparamsdec_dup()
317 #define MIX_VIDEOCONFIGPARAMSDEC_SETTER_CHECK_INPUT(obj) \ argument
318 if(!obj) return MIX_RESULT_NULL_PTR; \
[all …]
Dmixvideoconfigparamsenc.h26 #define MIX_VIDEOCONFIGPARAMSENC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOCONFIGPARAM… argument
34 #define MIX_IS_VIDEOCONFIGPARAMSENC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOCONFIGPA… argument
56 #define MIX_VIDEOCONFIGPARAMSENC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VIDEOCO… argument
149 #define mix_videoconfigparamsenc_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
154 MIX_RESULT mix_videoconfigparamsenc_set_mime_type(MixVideoConfigParamsEnc * obj,
157 MIX_RESULT mix_videoconfigparamsenc_get_mime_type(MixVideoConfigParamsEnc * obj,
160 MIX_RESULT mix_videoconfigparamsenc_set_frame_rate(MixVideoConfigParamsEnc * obj,
163 MIX_RESULT mix_videoconfigparamsenc_get_frame_rate(MixVideoConfigParamsEnc * obj,
166 MIX_RESULT mix_videoconfigparamsenc_set_picture_res(MixVideoConfigParamsEnc * obj,
169 MIX_RESULT mix_videoconfigparamsenc_get_picture_res(MixVideoConfigParamsEnc * obj,
[all …]
Dmixvideorenderparams.c29 MixParams *mix_videorenderparams_dup(const MixParams * obj);
31 static void mix_videorenderparams_finalize(MixParams * obj);
82 void mix_videorenderparams_finalize(MixParams * obj) { in mix_videorenderparams_finalize() argument
85 MixVideoRenderParams *self = MIX_VIDEORENDERPARAMS(obj); in mix_videorenderparams_finalize()
110 parent_class->finalize(obj); in mix_videorenderparams_finalize()
127 mix_videorenderparams_dup(const MixParams * obj) { in mix_videorenderparams_dup() argument
130 if (MIX_IS_VIDEORENDERPARAMS(obj)) { in mix_videorenderparams_dup()
132 if (mix_videorenderparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videorenderparams_dup()
240 #define MIX_VIDEORENDERPARAMS_SETTER_CHECK_INPUT(obj) \ argument
241 if(!obj) return MIX_RESULT_NULL_PTR; \
[all …]
Dmixvideoconfigparamsdec.h26 #define MIX_VIDEOCONFIGPARAMSDEC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOCONFIGPARAM… argument
34 #define MIX_IS_VIDEOCONFIGPARAMSDEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOCONFIGPA… argument
56 #define MIX_VIDEOCONFIGPARAMSDEC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VIDEOCO… argument
134 #define mix_videoconfigparamsdec_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
139 MixVideoConfigParamsDec * obj, MixFrameOrderMode frame_order_mode);
142 MixVideoConfigParamsDec * obj, MixFrameOrderMode * frame_order_mode);
144 MIX_RESULT mix_videoconfigparamsdec_set_header(MixVideoConfigParamsDec * obj,
148 MIX_RESULT mix_videoconfigparamsdec_get_header(MixVideoConfigParamsDec * obj,
151 MIX_RESULT mix_videoconfigparamsdec_set_mime_type(MixVideoConfigParamsDec * obj,
154 MIX_RESULT mix_videoconfigparamsdec_get_mime_type(MixVideoConfigParamsDec * obj,
[all …]
Dmixvideoconfigparamsenc_h264.c29 MixParams *mix_videoconfigparamsenc_h264_dup (const MixParams * obj);
32 static void mix_videoconfigparamsenc_h264_finalize (MixParams * obj);
95 mix_videoconfigparamsenc_h264_finalize (MixParams * obj) in mix_videoconfigparamsenc_h264_finalize() argument
106 root_class->finalize (obj); in mix_videoconfigparamsenc_h264_finalize()
124 mix_videoconfigparamsenc_h264_dup (const MixParams * obj) in mix_videoconfigparamsenc_h264_dup() argument
128 if (MIX_IS_VIDEOCONFIGPARAMSENC_H264 (obj)) in mix_videoconfigparamsenc_h264_dup()
132 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsenc_h264_dup()
257 #define MIX_VIDEOCONFIGPARAMSENC_H264_SETTER_CHECK_INPUT(obj) \ argument
258 if(!obj) return MIX_RESULT_NULL_PTR; \
259 if(!MIX_IS_VIDEOCONFIGPARAMSENC_H264(obj)) return MIX_RESULT_FAIL; \
[all …]
Dmixvideocaps.c26 MixParams *mix_videocaps_dup (const MixParams * obj);
28 static void mix_videocaps_finalize (MixParams * obj);
70 mix_videocaps_finalize (MixParams * obj) in mix_videocaps_finalize() argument
74 MixVideoCaps *self = MIX_VIDEOCAPS (obj); in mix_videocaps_finalize()
81 parent_class->finalize (obj); in mix_videocaps_finalize()
99 mix_videocaps_dup (const MixParams * obj) in mix_videocaps_dup() argument
103 if (MIX_IS_VIDEOCAPS (obj)) in mix_videocaps_dup()
106 if (mix_videocaps_copy (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videocaps_dup()
198 #define MIX_VIDEOCAPS_SETTER_CHECK_INPUT(obj) \ argument
199 if(!obj) return MIX_RESULT_NULL_PTR; \
[all …]
Dmixvideoframe.h26 #define MIX_VIDEOFRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOFRAME, MixVideoFrame)) argument
34 #define MIX_IS_VIDEOFRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOFRAME)) argument
56 #define MIX_VIDEOFRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VIDEOFRAME, MixVi… argument
117 MixVideoFrame *mix_videoframe_ref(MixVideoFrame * obj);
125 void mix_videoframe_unref(MixVideoFrame * obj);
129 MIX_RESULT mix_videoframe_set_frame_id(MixVideoFrame * obj, gulong frame_id);
130 MIX_RESULT mix_videoframe_get_frame_id(MixVideoFrame * obj, gulong * frame_id);
132 MIX_RESULT mix_videoframe_set_ci_frame_idx(MixVideoFrame * obj, guint ci_frame_idx);
133 MIX_RESULT mix_videoframe_get_ci_frame_idx(MixVideoFrame * obj, guint * ci_frame_idx);
135 MIX_RESULT mix_videoframe_set_timestamp(MixVideoFrame * obj, guint64 timestamp);
[all …]
Dmixvideoconfigparamsenc_mpeg4.c29 MixParams *mix_videoconfigparamsenc_mpeg4_dup (const MixParams * obj);
32 static void mix_videoconfigparamsenc_mpeg4_finalize (MixParams * obj);
94 mix_videoconfigparamsenc_mpeg4_finalize (MixParams * obj) in mix_videoconfigparamsenc_mpeg4_finalize() argument
105 root_class->finalize (obj); in mix_videoconfigparamsenc_mpeg4_finalize()
123 mix_videoconfigparamsenc_mpeg4_dup (const MixParams * obj) in mix_videoconfigparamsenc_mpeg4_dup() argument
127 if (MIX_IS_VIDEOCONFIGPARAMSENC_MPEG4 (obj)) in mix_videoconfigparamsenc_mpeg4_dup()
131 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsenc_mpeg4_dup()
250 #define MIX_VIDEOCONFIGPARAMSENC_MPEG4_SETTER_CHECK_INPUT(obj) \ argument
251 if(!obj) return MIX_RESULT_NULL_PTR; \
252 if(!MIX_IS_VIDEOCONFIGPARAMSENC_MPEG4(obj)) return MIX_RESULT_FAIL; \
[all …]
Dmixvideoencodeparams.c24 MixParams *mix_videoencodeparams_dup(const MixParams * obj);
26 static void mix_videoencodeparams_finalize(MixParams * obj);
66 void mix_videoencodeparams_finalize(MixParams * obj) { in mix_videoencodeparams_finalize() argument
72 parent_class->finalize(obj); in mix_videoencodeparams_finalize()
89 mix_videoencodeparams_dup(const MixParams * obj) { in mix_videoencodeparams_dup() argument
92 if (MIX_IS_VIDEOENCODEPARAMS(obj)) { in mix_videoencodeparams_dup()
94 if (mix_videoencodeparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoencodeparams_dup()
166 #define MIX_VIDEOENCODEPARAMS_SETTER_CHECK_INPUT(obj) \ argument
167 if(!obj) return MIX_RESULT_NULL_PTR; \
168 if(!MIX_IS_VIDEOENCODEPARAMS(obj)) return MIX_RESULT_FAIL; \
[all …]
Dmixvideodecodeparams.c24 MixParams *mix_videodecodeparams_dup(const MixParams * obj);
26 static void mix_videodecodeparams_finalize(MixParams * obj);
66 void mix_videodecodeparams_finalize(MixParams * obj) { in mix_videodecodeparams_finalize() argument
72 parent_class->finalize(obj); in mix_videodecodeparams_finalize()
89 mix_videodecodeparams_dup(const MixParams * obj) { in mix_videodecodeparams_dup() argument
92 if (MIX_IS_VIDEODECODEPARAMS(obj)) { in mix_videodecodeparams_dup()
94 if (mix_videodecodeparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videodecodeparams_dup()
166 #define MIX_VIDEODECODEPARAMS_SETTER_CHECK_INPUT(obj) \ argument
167 if(!obj) return MIX_RESULT_NULL_PTR; \
168 if(!MIX_IS_VIDEODECODEPARAMS(obj)) return MIX_RESULT_FAIL; \
[all …]
Dmixbuffer.c28 MixParams *mix_buffer_dup(const MixParams * obj);
30 static void mix_buffer_finalize(MixParams * obj);
70 void mix_buffer_finalize(MixParams * obj) { in mix_buffer_finalize() argument
77 parent_class->finalize(obj); in mix_buffer_finalize()
94 mix_buffer_dup(const MixParams * obj) { in mix_buffer_dup() argument
97 if (MIX_IS_BUFFER(obj)) { in mix_buffer_dup()
99 if (mix_buffer_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_buffer_dup()
175 #define MIX_BUFFER_SETTER_CHECK_INPUT(obj) \ argument
176 if(!obj) return MIX_RESULT_NULL_PTR; \
177 if(!MIX_IS_BUFFER(obj)) return MIX_RESULT_FAIL; \
[all …]
Dmixvideoconfigparamsenc_h264.h26 #define MIX_VIDEOCONFIGPARAMSENC_H264(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOCONFIG… argument
34 #define MIX_IS_VIDEOCONFIGPARAMSENC_H264(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOCON… argument
56 #define MIX_VIDEOCONFIGPARAMSENC_H264_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VI… argument
130 #define mix_videoconfigparamsenc_h264_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
135 MIX_RESULT mix_videoconfigparamsenc_h264_set_bus (MixVideoConfigParamsEncH264 * obj,
138 MIX_RESULT mix_videoconfigparamsenc_h264_get_bus (MixVideoConfigParamsEncH264 * obj,
141 MIX_RESULT mix_videoconfigparamsenc_h264_set_dlk (MixVideoConfigParamsEncH264 * obj,
144 MIX_RESULT mix_videoconfigparamsenc_h264_get_dlk (MixVideoConfigParamsEncH264 * obj,
147 MIX_RESULT mix_videoconfigparamsenc_h264_set_slice_num(MixVideoConfigParamsEncH264 * obj,
150 MIX_RESULT mix_videoconfigparamsenc_h264_get_slice_num(MixVideoConfigParamsEncH264 * obj,
[all …]
/hardware/intel/common/libmix/mix_audio/src/
Dmixacp.h64 #define MIX_AUDIOCONFIGPARAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_AUDIOCONFIGPARAMS, … argument
72 #define MIX_IS_AUDIOCONFIGPARAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_AUDIOCONFIGPARAM… argument
96 #define MIX_AUDIOCONFIGPARAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_AUDIOCONFI… argument
168 void (*print_params) (MixAudioConfigParams *obj);
205 #define mix_acp_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
217 #define MIX_ACP_DECODEMODE(obj) (MIX_AUDIOCONFIGPARAMS(obj)->decode_mode) argument
231 #define MIX_ACP_NUM_CHANNELS(obj) (MIX_AUDIOCONFIGPARAMS(obj)->num_channels) argument
243 #define MIX_ACP_BITRATE(obj) (MIX_AUDIOCONFIGPARAMS(obj)->bit_rate) argument
255 #define MIX_ACP_SAMPLE_FREQ(obj) (MIX_AUDIOCONFIGPARAMS(obj)->sample_freq) argument
264 MixDecodeMode mix_acp_get_decodemode(MixAudioConfigParams *obj);
[all …]
Dmixacpaac.h27 #define MIX_AUDIOCONFIGPARAMSAAC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_AUDIOCONFIGPARAM… argument
35 #define MIX_IS_AUDIOCONFIGPARAMSAAC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_AUDIOCONFIGPA… argument
59 #define MIX_AUDIOCONFIGPARAMSAAC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_AUDIOCO… argument
227 #define mix_acp_aac_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
240 MIX_RESULT mix_acp_aac_set_mpeg_id(MixAudioConfigParamsAAC *obj, MixAACMpegID mpegid);
249 MixAACMpegID mix_acp_aac_get_mpeg_id(MixAudioConfigParamsAAC *obj);
257 #define MIX_ACP_AAC_CRC(obj) (MIX_AUDIOCONFIGPARAMSAAC(obj)->CRC) argument
273 MIX_RESULT mix_acp_aac_set_aot(MixAudioConfigParamsAAC *obj, guint aot);
283 guint mix_acp_aac_get_aot(MixAudioConfigParamsAAC *obj);
299 #define MIX_ACP_AAC_SBR_FLAG(obj) (MIX_AUDIOCONFIGPARAMSAAC(obj)->sbrPresentFlag) argument
[all …]
Dmixacpwma.h28 #define MIX_AUDIOCONFIGPARAMSWMA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_AUDIOCONFIGPARAM… argument
36 #define MIX_IS_AUDIOCONFIGPARAMSWMA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_AUDIOCONFIGPA… argument
60 #define MIX_AUDIOCONFIGPARAMSWMA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_AUDIOCO… argument
154 #define mix_acp_wma_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
171 #define MIX_ACP_WMA_CHANNEL_MASK(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->channel_mask) argument
181 #define MIX_ACP_WMA_FORMAT_TAG(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->format_tag) argument
191 #define MIX_ACP_WMA_BLOCK_ALIGN(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->block_align) argument
201 #define MIX_ACP_WMA_ENCODE_OPT(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->wma_encode_opt) argument
211 #define MIX_ACP_WMA_PCM_BIT_WIDTH(obj) (MIX_AUDIOCONFIGPARAMSWMA(obj)->pcm_bit_width) argument
221 MixAudioWMAVersion mix_acp_wma_get_version(MixAudioConfigParamsWMA *obj);
[all …]
Dmixacp.c28 MixParams* mix_acp_dup(const MixParams *obj);
30 static void mix_acp_finalize(MixParams *obj);
77 void mix_acp_finalize(MixParams *obj) in mix_acp_finalize() argument
80 MixAudioConfigParams *acp = MIX_AUDIOCONFIGPARAMS(obj); in mix_acp_finalize()
89 parent_class->finalize(obj); in mix_acp_finalize()
104 MixParams* mix_acp_dup(const MixParams *obj) in mix_acp_dup() argument
108 if (MIX_IS_AUDIOCONFIGPARAMS(obj)) in mix_acp_dup()
111 if (mix_acp_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_dup()
208 gboolean mix_acp_is_streamname_valid(MixAudioConfigParams *obj) in mix_acp_is_streamname_valid() argument
210 if (MIX_IS_AUDIOCONFIGPARAMS(obj)) in mix_acp_is_streamname_valid()
[all …]
Dmixacpaac.c34 MixParams* mix_acp_aac_dup(const MixParams *obj);
36 static void mix_acp_aac_finalize(MixParams *obj);
38 void mix_aac_print_params(MixAudioConfigParams *obj);
84 void mix_acp_aac_finalize(MixParams *obj) in mix_acp_aac_finalize() argument
91 klass->finalize(obj); in mix_acp_aac_finalize()
106 MixParams* mix_acp_aac_dup(const MixParams *obj) in mix_acp_aac_dup() argument
110 if (MIX_IS_AUDIOCONFIGPARAMSAAC(obj)) in mix_acp_aac_dup()
113 if (mix_acp_aac_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_aac_dup()
212 MIX_RESULT mix_acp_aac_set_bit_stream_format(MixAudioConfigParamsAAC *obj, MixAACBitstreamFormt bit… in mix_acp_aac_set_bit_stream_format() argument
216 if (!obj) return MIX_RESULT_NULL_PTR; in mix_acp_aac_set_bit_stream_format()
[all …]
Dmixacpmp3.h28 #define MIX_AUDIOCONFIGPARAMSMP3(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_AUDIOCONFIGPARAM… argument
36 #define MIX_IS_AUDIOCONFIGPARAMSMP3(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_AUDIOCONFIGPA… argument
60 #define MIX_AUDIOCONFIGPARAMSMP3_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_AUDIOCO… argument
136 #define mix_acp_mp3_unref(obj) mix_params_unref(MIX_PARAMS(obj)) argument
148 #define MIX_ACP_MP3_CRC(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->CRC) argument
158 #define MIX_ACP_MP3_MPEG_FORMAT(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->MPEG_format) argument
168 #define MIX_ACP_MP3_MPEG_LAYER(obj) (MIX_AUDIOCONFIGPARAMSMP3(obj)->MPEG_layer) argument
/hardware/intel/img/psb_video/src/
Dobject_heap.c60 object_base_p obj = (object_base_p) calloc(1, heap->object_size); in object_heap_expand() local
61 heap->heap_index[i] = obj; in object_heap_expand()
62 if (NULL == obj) { in object_heap_expand()
66 obj->id = i + heap->id_offset; in object_heap_expand()
67 obj->next_free = next_free; in object_heap_expand()
106 object_base_p obj; in object_heap_allocate() local
114 obj = heap->heap_index[heap->next_free]; in object_heap_allocate()
115 heap->next_free = obj->next_free; in object_heap_allocate()
116 obj->next_free = ALLOCATED; in object_heap_allocate()
117 return obj->id; in object_heap_allocate()
[all …]
/hardware/intel/common/libmix/mix_common/src/
Dmixparams.c27 static void mix_params_finalize(MixParams * obj);
29 static MixParams *mix_params_dup_default(const MixParams *obj);
78 MixParams *obj = MIX_PARAMS_CAST (instance); in mix_params_init() local
80 obj->refcount = 1; in mix_params_init()
115 static void mix_params_finalize (MixParams * obj) in mix_params_finalize() argument
120 MixParams *mix_params_dup(const MixParams *obj) in mix_params_dup() argument
122 MixParamsClass *klass = MIX_PARAMS_GET_CLASS(obj); in mix_params_dup()
126 return klass->dup(obj); in mix_params_dup()
128 else if (MIX_IS_PARAMS(obj)) in mix_params_dup()
130 return mix_params_dup_default(obj); in mix_params_dup()
[all …]
Dmixparams.h17 #define MIX_IS_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_PARAMS)) argument
19 #define MIX_PARAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_PARAMS, MixParamsClas… argument
20 #define MIX_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_PARAMS, MixParams)) argument
22 #define MIX_PARAMS_CAST(obj) ((MixParams*)(obj)) argument
35 typedef MixParams * (*MixParamsDupFunction) (const MixParams *obj);
55 typedef void (*MixParamsFinalizeFunction) (MixParams *obj);
80 #define MIX_PARAMS_REFCOUNT(obj) ((MIX_PARAMS_CAST(obj))->refcount) argument
87 #define MIX_PARAMS_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(MIX_PARAMS_CAST(obj))->refcount)) argument
160 MixParams* mix_params_ref(MixParams *obj);
169 void mix_params_unref (MixParams *obj);
[all …]

123456