Searched defs:matrix (Results 1 - 17 of 17) sorted by relevance

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
H A Dviddec_mpeg2_metadata.c23 /* Default quantization matrix values */
83 /* viddec_mpeg2_copy_default_matrix() - Copies quantization matrix from src */
93 /* matrix */
94 static inline int32_t mpeg2_get_quant_matrix(void *parent, uint8_t *matrix, uint32_t alternate_scan) argument
105 /* Start extracting matrix co-efficients and copy them in */
117 matrix[zigzag_scan[index]] = (uint8_t)(code & 0xFF);
157 /* Get Intra Quantizer matrix, if available or use default values */
173 /* Get Non-Intra Qualtizer matrix, if available or use default values */
199 /* This flag indicates a valid custom quantization matrix has been parsed. */
200 /* So, if in the future, there is an error parsing quantization matrix, th
[all...]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_display_primary.cpp258 HWC2::Error HWCDisplayPrimary::SetColorTransform(const float *matrix, argument
260 if (!matrix) {
264 auto status = color_mode_->SetColorTransform(matrix, hint);
H A Dhwc_display.h60 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
66 android_color_transform_t hint, const double *matrix);
150 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { argument
155 const double *matrix) {
153 HandleColorModeTransform(android_color_mode_t mode, android_color_transform_t hint, const double *matrix) argument
H A Dhwc_display.cpp90 // first mode in 2D matrix is the mode (identity)
99 HWC2::Error HWCColorMode::SetColorTransform(const float *matrix, android_color_transform_t hint) { argument
100 if (!matrix) {
105 CopyColorTransformMatrix(matrix, color_matrix);
117 const double *matrix) {
133 // if the mode count is 1, then only native mode is supported, so just apply matrix w/o
146 DisplayError error = display_intf_->SetColorTransform(kColorTransformMatrixCount, matrix);
156 CopyColorTransformMatrix(matrix, color_matrix_);
115 HandleColorModeTransform(android_color_mode_t mode, android_color_transform_t hint, const double *matrix) argument
H A Dhwc_session.cpp441 const float *matrix,
445 return HWCSession::CallDisplayFunction(device, display, &HWCDisplay::SetColorTransform, matrix,
440 SetColorTransform(hwc2_device_t *device, hwc2_display_t display, const float *matrix, int32_t hint) argument
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_display.h60 HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint);
66 android_color_transform_t hint, const double *matrix);
154 virtual HWC2::Error SetColorTransform(const float *matrix, android_color_transform_t hint) { argument
159 const double *matrix) {
157 HandleColorModeTransform(android_color_mode_t mode, android_color_transform_t hint, const double *matrix) argument
H A Dhwc_display_primary.cpp258 HWC2::Error HWCDisplayPrimary::SetColorTransform(const float *matrix, argument
260 if (!matrix) {
264 auto status = color_mode_->SetColorTransform(matrix, hint);
H A Dhwc_display.cpp90 // first mode in 2D matrix is the mode (identity)
99 HWC2::Error HWCColorMode::SetColorTransform(const float *matrix, android_color_transform_t hint) { argument
100 if (!matrix) {
105 CopyColorTransformMatrix(matrix, color_matrix);
117 const double *matrix) {
133 // if the mode count is 1, then only native mode is supported, so just apply matrix w/o
146 DisplayError error = display_intf_->SetColorTransform(kColorTransformMatrixCount, matrix);
156 CopyColorTransformMatrix(matrix, color_matrix_);
115 HandleColorModeTransform(android_color_mode_t mode, android_color_transform_t hint, const double *matrix) argument
H A Dhwc_session.cpp440 const float *matrix,
444 return HWCSession::CallDisplayFunction(device, display, &HWCDisplay::SetColorTransform, matrix,
439 SetColorTransform(hwc2_device_t *device, hwc2_display_t display, const float *matrix, int32_t hint) argument
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Ddata_builder.c239 * can convert the transformation matrix to this scalar and describes the
636 * can convert the transformation matrix to this scalar and describes the
659 * can convert the transformation matrix to this scalar and describes the
1597 /** Gets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.
1598 * @param[out] the pointer of the 3x3 matrix in Q30 format
1600 void inv_get_compass_soft_iron_matrix_d(long *matrix) { argument
1603 matrix[i] = sensors.soft_iron.matrix_d[i];
1607 /** Sets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.
1608 * @param[in] the pointer of the 3x3 matrix in Q30 format
1610 void inv_set_compass_soft_iron_matrix_d(long *matrix) { argument
1622 inv_get_compass_soft_iron_matrix_f(float *matrix) argument
1631 inv_set_compass_soft_iron_matrix_f(float *matrix) argument
[all...]
H A Dml_math_func.c338 * Converts a quaternion to a rotation matrix.
340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The
341 * First 3 elements of the rotation matrix, represent
342 * the first row of the matrix. Rotation matrix multiplied
577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation.
578 * @param[in] mtx Orientation matrix to convert to a scalar.
579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the
583 * bit number 8 being the sign. In binary the identity matrix would therefor be:
705 void mlMatrixVectorMult(long matrix[ argument
[all...]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c238 * can convert the transformation matrix to this scalar and describes the
431 * can convert the transformation matrix to this scalar and describes the
454 * can convert the transformation matrix to this scalar and describes the
1370 /** Gets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.
1371 * @param[out] the pointer of the 3x3 matrix in Q30 format
1373 void inv_get_compass_soft_iron_matrix_d(long *matrix) { argument
1376 matrix[i] = sensors.soft_iron.matrix_d[i];
1380 /** Sets the 3x3 compass transform matrix in 32 bit Q30 fixed point format.
1381 * @param[in] the pointer of the 3x3 matrix in Q30 format
1383 void inv_set_compass_soft_iron_matrix_d(long *matrix) { argument
1395 inv_get_compass_soft_iron_matrix_f(float *matrix) argument
1404 inv_set_compass_soft_iron_matrix_f(float *matrix) argument
[all...]
H A Dml_math_func.c338 * Converts a quaternion to a rotation matrix.
340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The
341 * First 3 elements of the rotation matrix, represent
342 * the first row of the matrix. Rotation matrix multiplied
577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation.
578 * @param[in] mtx Orientation matrix to convert to a scalar.
579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the
583 * bit number 8 being the sign. In binary the identity matrix would therefor be:
705 void mlMatrixVectorMult(long matrix[ argument
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp3550 msm_vidc_h264_matrix_coeff_values matrix; local
3559 matrix = MSM_VIDC_MATRIX_601_6_525;
3569 matrix = MSM_VIDC_MATRIX_BT_709_5;
3580 matrix = MSM_VIDC_MATRIX_601_6_625;
3588 venc_set_colorspace(primary, range, transfer, matrix);
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Dvideo_encoder_device_v4l2.cpp3868 msm_vidc_h264_matrix_coeff_values matrix; local
3877 matrix = MSM_VIDC_MATRIX_601_6_525;
3887 matrix = MSM_VIDC_MATRIX_BT_709_5;
3898 matrix = MSM_VIDC_MATRIX_601_6_625;
3906 venc_set_colorspace(primary, range, transfer, matrix);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp10120 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects)
10185 switch (matrix) {
10119 convert_color_space_info(OMX_U32 primaries, OMX_U32 range, OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) argument
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_v4l2.cpp10569 OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects)
10634 switch (matrix) {
10568 convert_color_space_info(OMX_U32 primaries, OMX_U32 range, OMX_U32 transfer, OMX_U32 matrix, ColorSpace_t *color_space, ColorAspects *aspects) argument

Completed in 316 milliseconds