Lines Matching refs:entry2
1433 camera_metadata_entry entry2 =
1435 if (entry2.count == 0) {
1444 uint16_t ref2 = entry2.data.u8[0];
1468 camera_metadata_entry entry2 = characteristics.find(ANDROID_SENSOR_COLOR_TRANSFORM2);
1469 BAIL_IF_EMPTY_RET_NULL_SP(entry2, env, TAG_COLORMATRIX2, writer);
1470 int32_t colorTransform2[entry2.count * 2];
1473 for(size_t i = 0; i < entry2.count; ++i) {
1474 colorTransform2[ctr++] = entry2.data.r[i].numerator;
1475 colorTransform2[ctr++] = entry2.data.r[i].denominator;
1478 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_COLORMATRIX2, entry2.count,
1501 camera_metadata_entry entry2 =
1503 BAIL_IF_EMPTY_RET_NULL_SP(entry2, env, TAG_CAMERACALIBRATION2, writer);
1504 int32_t calibrationTransform2[entry2.count * 2];
1507 for(size_t i = 0; i < entry2.count; ++i) {
1508 calibrationTransform2[ctr++] = entry2.data.r[i].numerator;
1509 calibrationTransform2[ctr++] = entry2.data.r[i].denominator;
1512 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_CAMERACALIBRATION2, entry2.count,
1535 camera_metadata_entry entry2 =
1537 BAIL_IF_EMPTY_RET_NULL_SP(entry2, env, TAG_FORWARDMATRIX2, writer);
1538 int32_t forwardTransform2[entry2.count * 2];
1541 for(size_t i = 0; i < entry2.count; ++i) {
1542 forwardTransform2[ctr++] = entry2.data.r[i].numerator;
1543 forwardTransform2[ctr++] = entry2.data.r[i].denominator;
1546 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_FORWARDMATRIX2, entry2.count,
1675 camera_metadata_entry entry2 = results.find(ANDROID_STATISTICS_LENS_SHADING_MAP);
1684 if (entry2.count > 0 && entry2.count == lsmWidth * lsmHeight * 4) {
1693 entry2.data.f);