Home
last modified time | relevance | path

Searched refs:duplicate (Results 1 – 25 of 30) sorted by relevance

12

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dts_parser.cpp213 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
229 duplicate = NULL; in get_next_timestamp()
231 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
242 if(is_interlaced && duplicate) { in get_next_timestamp()
244 duplicate->in_use = false; in get_next_timestamp()
250 if (!duplicate) in get_next_timestamp()
251 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
253 if (duplicate->timestamps > phead->input_timestamps[i].timestamps) in get_next_timestamp()
254 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
258 if (duplicate) { in get_next_timestamp()
[all …]
/hardware/intel/common/libmix/mix_audio/src/
Dmixaip.c96 MixAudioInitParams *duplicate = mix_aip_new(); in mix_aip_dup() local
97 if (mix_aip_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_aip_dup()
99 ret = MIX_PARAMS(duplicate); in mix_aip_dup()
103 mix_aip_unref(duplicate); in mix_aip_dup()
Dmixacpmp3.c89 MixAudioConfigParamsMP3 *duplicate = mix_acp_mp3_new(); in mix_acp_mp3_dup() local
90 if (mix_acp_mp3_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_mp3_dup()
92 ret = MIX_PARAMS(duplicate); in mix_acp_mp3_dup()
96 mix_acp_mp3_unref(duplicate); in mix_acp_mp3_dup()
Dmixacpwma.c93 MixAudioConfigParamsWMA *duplicate = mix_acp_wma_new(); in mix_acp_wma_dup() local
94 if (mix_acp_wma_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_wma_dup()
96 ret = MIX_PARAMS(duplicate); in mix_acp_wma_dup()
100 mix_acp_wma_unref(duplicate); in mix_acp_wma_dup()
Dmixacp.c110 MixAudioConfigParams *duplicate = mix_acp_new(); in mix_acp_dup() local
111 if (mix_acp_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_dup()
113 ret = MIX_PARAMS(duplicate); in mix_acp_dup()
117 mix_acp_unref(duplicate); in mix_acp_dup()
Dmixacpaac.c112 MixAudioConfigParamsAAC *duplicate = mix_acp_aac_new(); in mix_acp_aac_dup() local
113 if (mix_acp_aac_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_acp_aac_dup()
115 ret = MIX_PARAMS(duplicate); in mix_acp_aac_dup()
119 mix_acp_aac_unref(duplicate); in mix_acp_aac_dup()
/hardware/intel/common/libmix/mix_common/src/
Dmixdrmparams.c90 MixDrmParams *duplicate = mix_drmparams_new(); in mix_drmparams_dup() local
91 if (mix_drmparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) in mix_drmparams_dup()
93 ret = MIX_PARAMS(duplicate); in mix_drmparams_dup()
97 mix_drmparams_unref(duplicate); in mix_drmparams_dup()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoconfigparams.c92 MixVideoConfigParams *duplicate = mix_videoconfigparams_new(); in mix_videoconfigparams_dup() local
93 if (mix_videoconfigparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoconfigparams_dup()
94 ret = MIX_PARAMS(duplicate); in mix_videoconfigparams_dup()
96 mix_videoconfigparams_unref(duplicate); in mix_videoconfigparams_dup()
Dmixdrmparams.c95 MixDrmParams *duplicate = mix_drmparams_new (); in mix_drmparams_dup() local
96 if (mix_drmparams_copy (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_drmparams_dup()
98 ret = MIX_PARAMS (duplicate); in mix_drmparams_dup()
102 mix_drmparams_unref (duplicate); in mix_drmparams_dup()
Dmixvideoconfigparamsdec_mp42.c115 MixVideoConfigParamsDecMP42 *duplicate = mix_videoconfigparamsdec_mp42_new(); in mix_videoconfigparamsdec_mp42_dup() local
116 LOG_V( "duplicate = 0x%x\n", duplicate); in mix_videoconfigparamsdec_mp42_dup()
117 if (mix_videoconfigparamsdec_mp42_copy(MIX_PARAMS(duplicate), MIX_PARAMS( in mix_videoconfigparamsdec_mp42_dup()
119 ret = MIX_PARAMS(duplicate); in mix_videoconfigparamsdec_mp42_dup()
121 mix_videoconfigparamsdec_mp42_unref(duplicate); in mix_videoconfigparamsdec_mp42_dup()
Dmixvideoconfigparamsdec_h264.c120 MixVideoConfigParamsDecH264 *duplicate = mix_videoconfigparamsdec_h264_new (); in mix_videoconfigparamsdec_h264_dup() local
122 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsdec_h264_dup()
124 ret = MIX_PARAMS (duplicate); in mix_videoconfigparamsdec_h264_dup()
128 mix_videoconfigparamsdec_h264_unref (duplicate); in mix_videoconfigparamsdec_h264_dup()
Dmixvideoconfigparamsdec_vc1.c108 MixVideoConfigParamsDecVC1 *duplicate = mix_videoconfigparamsdec_vc1_new(); in mix_videoconfigparamsdec_vc1_dup() local
109 if (mix_videoconfigparamsdec_vc1_copy(MIX_PARAMS(duplicate), MIX_PARAMS( in mix_videoconfigparamsdec_vc1_dup()
111 ret = MIX_PARAMS(duplicate); in mix_videoconfigparamsdec_vc1_dup()
113 mix_videoconfigparamsdec_vc1_unref(duplicate); in mix_videoconfigparamsdec_vc1_dup()
Dmixvideoconfigparamsenc_preview.c125 MixVideoConfigParamsEncPreview *duplicate = mix_videoconfigparamsenc_preview_new (); in mix_videoconfigparamsenc_preview_dup() local
127 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsenc_preview_dup()
129 ret = MIX_PARAMS (duplicate); in mix_videoconfigparamsenc_preview_dup()
133 mix_videoconfigparamsenc_preview_unref (duplicate); in mix_videoconfigparamsenc_preview_dup()
Dmixvideodecodeparams.c93 MixVideoDecodeParams *duplicate = mix_videodecodeparams_new(); in mix_videodecodeparams_dup() local
94 if (mix_videodecodeparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videodecodeparams_dup()
95 ret = MIX_PARAMS(duplicate); in mix_videodecodeparams_dup()
97 mix_videodecodeparams_unref(duplicate); in mix_videodecodeparams_dup()
Dmixvideoencodeparams.c93 MixVideoEncodeParams *duplicate = mix_videoencodeparams_new(); in mix_videoencodeparams_dup() local
94 if (mix_videoencodeparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoencodeparams_dup()
95 ret = MIX_PARAMS(duplicate); in mix_videoencodeparams_dup()
97 mix_videoencodeparams_unref(duplicate); in mix_videoencodeparams_dup()
Dmixdisplayx11.c89 MixDisplayX11 *duplicate = mix_displayx11_new(); in mix_displayx11_dup() local
90 if (mix_displayx11_copy(MIX_DISPLAY(duplicate), MIX_DISPLAY(obj))) { in mix_displayx11_dup()
91 ret = MIX_DISPLAY(duplicate); in mix_displayx11_dup()
93 mix_displayx11_unref(duplicate); in mix_displayx11_dup()
Dmixvideoinitparams.c96 MixVideoInitParams *duplicate = mix_videoinitparams_new(); in mix_videoinitparams_dup() local
97 if (mix_videoinitparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoinitparams_dup()
98 ret = MIX_PARAMS(duplicate); in mix_videoinitparams_dup()
100 mix_videoinitparams_unref(duplicate); in mix_videoinitparams_dup()
Dmixvideoconfigparamsenc_mpeg4.c129 MixVideoConfigParamsEncMPEG4 *duplicate = mix_videoconfigparamsenc_mpeg4_new (); in mix_videoconfigparamsenc_mpeg4_dup() local
131 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsenc_mpeg4_dup()
133 ret = MIX_PARAMS (duplicate); in mix_videoconfigparamsenc_mpeg4_dup()
137 mix_videoconfigparamsenc_mpeg4_unref (duplicate); in mix_videoconfigparamsenc_mpeg4_dup()
Dmixvideocaps.c105 MixVideoCaps *duplicate = mix_videocaps_new (); in mix_videocaps_dup() local
106 if (mix_videocaps_copy (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videocaps_dup()
108 ret = MIX_PARAMS (duplicate); in mix_videocaps_dup()
112 mix_videocaps_unref (duplicate); in mix_videocaps_dup()
Dmixbuffer.c98 MixBuffer *duplicate = mix_buffer_new(); in mix_buffer_dup() local
99 if (mix_buffer_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_buffer_dup()
100 ret = MIX_PARAMS(duplicate); in mix_buffer_dup()
102 mix_buffer_unref(duplicate); in mix_buffer_dup()
Dmixvideoconfigparamsenc_h264.c130 MixVideoConfigParamsEncH264 *duplicate = mix_videoconfigparamsenc_h264_new (); in mix_videoconfigparamsenc_h264_dup() local
132 (MIX_PARAMS (duplicate), MIX_PARAMS (obj))) in mix_videoconfigparamsenc_h264_dup()
134 ret = MIX_PARAMS (duplicate); in mix_videoconfigparamsenc_h264_dup()
138 mix_videoconfigparamsenc_h264_unref (duplicate); in mix_videoconfigparamsenc_h264_dup()
Dmixvideoframe.c169 MixVideoFrame *duplicate = mix_videoframe_new(); in mix_videoframe_dup() local
170 if (mix_videoframe_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoframe_dup()
171 ret = MIX_PARAMS(duplicate); in mix_videoframe_dup()
173 mix_videoframe_unref(duplicate); in mix_videoframe_dup()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
278 duplicate = NULL; in get_next_timestamp()
280 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
295 if (is_interlaced && duplicate) { in get_next_timestamp()
297 duplicate->in_use = false; in get_next_timestamp()
298 } else if (is_interlaced && !duplicate) { in get_next_timestamp()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
278 duplicate = NULL; in get_next_timestamp()
280 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
295 if (is_interlaced && duplicate) { in get_next_timestamp()
297 duplicate->in_use = false; in get_next_timestamp()
298 } else if (is_interlaced && !duplicate) { in get_next_timestamp()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp257 timestamp *element = NULL,*duplicate = NULL; in get_next_timestamp() local
278 duplicate = NULL; in get_next_timestamp()
280 duplicate = &phead->input_timestamps[i]; in get_next_timestamp()
295 if (is_interlaced && duplicate) { in get_next_timestamp()
297 duplicate->in_use = false; in get_next_timestamp()
298 } else if (is_interlaced && !duplicate) { in get_next_timestamp()

12