Lines Matching refs:from

25 #define XCAM_3A_RESULT_FACTORY(DataType, res_type, from)            \
28 if (from) { \
29 uint32_t type = xcam_3a_result_type (from); \
32 XCAM_LOG_WARNING ("create result from wrong type:%d to type:%d", type, res_type); \
34 ret->set_standard_result (*from); \
62 X3aResultFactory::create_3a_result (XCam3aResultHead *from)
66 XCAM_ASSERT (from);
67 if (!from)
70 uint32_t type = xcam_3a_result_type (from);
74 result = create_whitebalance ((XCam3aResultWhiteBalance*)from);
77 result = create_blacklevel ((XCam3aResultBlackLevel*)from);
80 result = create_yuv2rgb_colormatrix ((XCam3aResultColorMatrix*)from);
83 result = create_rgb2yuv_colormatrix ((XCam3aResultColorMatrix*)from);
86 result = create_exposure ((XCam3aResultExposure*)from);
89 result = create_focus ((XCam3aResultFocus*)from);
92 result = create_demosaicing ((XCam3aResultDemosaic*)from);
95 result = create_defectpixel ((XCam3aResultDefectPixel*)from);
98 result = create_noise_reduction ((XCam3aResultNoiseReduction*)from);
101 result = create_3d_noise_reduction ((XCam3aResultTemporalNoiseReduction*)from);
104 result = create_yuv_temp_noise_reduction ((XCam3aResultTemporalNoiseReduction*)from);
107 result = create_edge_enhancement ((XCam3aResultEdgeEnhancement*)from);
110 result = create_macc ((XCam3aResultMaccMatrix*)from);
113 result = create_chroma_tone_control ((XCam3aResultChromaToneControl*)from);
116 result = create_y_gamma_table ((XCam3aResultGammaTable*)from);
119 result = create_r_gamma_table ((XCam3aResultGammaTable*)from);
122 result = create_g_gamma_table ((XCam3aResultGammaTable*)from);
125 result = create_b_gamma_table ((XCam3aResultGammaTable*)from);
128 result = create_bayer_noise_reduction ((XCam3aResultBayerNoiseReduction*)from);
131 result = create_brightness ((XCam3aResultBrightness*)from);
134 result = create_wavelet_noise_reduction ((XCam3aResultWaveletNoiseReduction*)from);
137 result = create_face_detection ((XCamFDResult*)from);
140 result = create_digital_video_stabilizer ((XCamDVSResult*)from);
151 X3aResultFactory::create_whitebalance (XCam3aResultWhiteBalance *from)
153 XCAM_3A_RESULT_FACTORY (X3aWhiteBalanceResult, XCAM_3A_RESULT_WHITE_BALANCE, from);
157 X3aResultFactory::create_blacklevel (XCam3aResultBlackLevel *from)
159 XCAM_3A_RESULT_FACTORY (X3aBlackLevelResult, XCAM_3A_RESULT_BLACK_LEVEL, from);
163 X3aResultFactory::create_rgb2yuv_colormatrix (XCam3aResultColorMatrix *from)
165 XCAM_3A_RESULT_FACTORY (X3aColorMatrixResult, XCAM_3A_RESULT_RGB2YUV_MATRIX, from);
169 X3aResultFactory::create_yuv2rgb_colormatrix (XCam3aResultColorMatrix *from)
171 XCAM_3A_RESULT_FACTORY (X3aColorMatrixResult, XCAM_3A_RESULT_YUV2RGB_MATRIX, from);
175 X3aResultFactory::create_exposure (XCam3aResultExposure *from)
177 XCAM_3A_RESULT_FACTORY (X3aExposureResult, XCAM_3A_RESULT_EXPOSURE, from);
181 X3aResultFactory::create_focus (XCam3aResultFocus *from)
183 XCAM_3A_RESULT_FACTORY (X3aFocusResult, XCAM_3A_RESULT_FOCUS, from);
187 X3aResultFactory::create_demosaicing (XCam3aResultDemosaic *from)
189 XCAM_3A_RESULT_FACTORY (X3aDemosaicResult, XCAM_3A_RESULT_DEMOSAIC, from);
193 X3aResultFactory::create_defectpixel (XCam3aResultDefectPixel *from)
195 XCAM_3A_RESULT_FACTORY (X3aDefectPixelResult, XCAM_3A_RESULT_DEFECT_PIXEL_CORRECTION, from);
199 X3aResultFactory::create_noise_reduction (XCam3aResultNoiseReduction *from)
201 XCAM_3A_RESULT_FACTORY (X3aNoiseReductionResult, XCAM_3A_RESULT_NOISE_REDUCTION, from);
205 X3aResultFactory::create_3d_noise_reduction (XCam3aResultTemporalNoiseReduction *from)
207 XCAM_3A_RESULT_FACTORY (X3aTemporalNoiseReduction, XCAM_3A_RESULT_3D_NOISE_REDUCTION, from);
211 X3aResultFactory::create_yuv_temp_noise_reduction (XCam3aResultTemporalNoiseReduction *from)
213 XCAM_3A_RESULT_FACTORY (X3aTemporalNoiseReduction, XCAM_3A_RESULT_TEMPORAL_NOISE_REDUCTION_YUV, from);
217 X3aResultFactory::create_edge_enhancement (XCam3aResultEdgeEnhancement *from)
219 XCAM_3A_RESULT_FACTORY (X3aEdgeEnhancementResult, XCAM_3A_RESULT_EDGE_ENHANCEMENT, from);
223 X3aResultFactory::create_y_gamma_table (XCam3aResultGammaTable *from)
225 XCAM_3A_RESULT_FACTORY (X3aGammaTableResult, XCAM_3A_RESULT_Y_GAMMA, from);
229 X3aResultFactory::create_r_gamma_table (XCam3aResultGammaTable *from)
231 XCAM_3A_RESULT_FACTORY (X3aGammaTableResult, XCAM_3A_RESULT_R_GAMMA, from);
235 X3aResultFactory::create_g_gamma_table (XCam3aResultGammaTable *from)
237 XCAM_3A_RESULT_FACTORY (X3aGammaTableResult, XCAM_3A_RESULT_G_GAMMA, from);
241 X3aResultFactory::create_b_gamma_table (XCam3aResultGammaTable *from)
243 XCAM_3A_RESULT_FACTORY (X3aGammaTableResult, XCAM_3A_RESULT_B_GAMMA, from);
247 X3aResultFactory::create_macc (XCam3aResultMaccMatrix *from)
249 XCAM_3A_RESULT_FACTORY (X3aMaccMatrixResult, XCAM_3A_RESULT_MACC, from);
253 X3aResultFactory::create_chroma_tone_control (XCam3aResultChromaToneControl *from)
255 XCAM_3A_RESULT_FACTORY (X3aChromaToneControlResult, XCAM_3A_RESULT_CHROMA_TONE_CONTROL, from);
259 X3aResultFactory::create_bayer_noise_reduction (XCam3aResultBayerNoiseReduction *from)
261 XCAM_3A_RESULT_FACTORY (X3aBayerNoiseReduction, XCAM_3A_RESULT_BAYER_NOISE_REDUCTION, from);
265 X3aResultFactory::create_brightness (XCam3aResultBrightness *from)
267 XCAM_3A_RESULT_FACTORY (X3aBrightnessResult, XCAM_3A_RESULT_BRIGHTNESS, from);
271 X3aResultFactory::create_wavelet_noise_reduction (XCam3aResultWaveletNoiseReduction *from)
273 XCAM_3A_RESULT_FACTORY (X3aWaveletNoiseReduction, XCAM_3A_RESULT_WAVELET_NOISE_REDUCTION, from);
277 X3aResultFactory::create_face_detection (XCamFDResult *from)
279 uint32_t type = xcam_3a_result_type (from);
287 from->head.process_type,
288 from->face_num * sizeof (XCamFaceInfo));
289 fd_res->set_standard_result (*from);
295 X3aResultFactory::create_digital_video_stabilizer (XCamDVSResult *from)
297 XCAM_3A_RESULT_FACTORY (X3aDVSResult, XCAM_3A_RESULT_DVS, from);