/external/dng_sdk/source/ |
D | dng_assertions.h | 44 #ifndef DNG_ASSERT 53 #define DNG_ASSERT(x,y) { if (!(x)) dng_show_message (y); } macro 62 #define DNG_ASSERT(x,y) do { } while(false) macro 85 DNG_ASSERT(condition, msg); \ 125 #define DNG_REPORT(x) DNG_ASSERT (false, x)
|
D | dng_mutex.cpp | 45 DNG_ASSERT (result == 0, "pthread_key_create failed."); in InnermostMutexHolder() 66 DNG_ASSERT (result == 0, "pthread_setspecific failed."); in SetInnermostMutex() 192 …DNG_ASSERT (gInnermostMutexHolder.GetInnermostMutex () == this, "Mutexes unlocked out of order!!!"… in Unlock() 291 DNG_ASSERT (result == 0, "pthread_cond_init failed."); in dng_condition() 318 DNG_ASSERT (innermostMutex == &mutex, "Attempt to wait on non-innermost mutex."); in Wait() 367 DNG_ASSERT (result == 0, "pthread_cond_signal failed."); in Signal() 383 DNG_ASSERT (result == 0, "pthread_cond_broadcast failed."); in Broadcast()
|
D | dng_image.h | 324 DNG_ASSERT (fPixelType == ttByte, "Mismatched pixel type"); in SetConstant_uint8() 339 DNG_ASSERT (fPixelType == ttShort, "Mismatched pixel type"); in SetConstant_uint16() 354 DNG_ASSERT (fPixelType == ttSShort, "Mismatched pixel type"); in SetConstant_int16() 369 DNG_ASSERT (fPixelType == ttLong, "Mismatched pixel type"); in SetConstant_uint32() 384 DNG_ASSERT (fPixelType == ttFloat, "Mismatched pixel type"); in SetConstant_real32()
|
D | dng_pixel_buffer.h | 76 #define ASSERT_PIXEL_TYPE(typeVal) DNG_ASSERT (fPixelType == typeVal, "Pixel type access mismatch") 253 DNG_ASSERT (fDirty, "Dirty access to const pixel buffer"); 520 DNG_ASSERT (fPixelType == ttByte, "Mismatched pixel type"); in SetConstant_uint8() 538 DNG_ASSERT (fPixelType == ttShort, "Mismatched pixel type"); in SetConstant_uint16() 556 DNG_ASSERT (fPixelType == ttSShort, "Mismatched pixel type"); in SetConstant_int16() 574 DNG_ASSERT (fPixelType == ttLong, "Mismatched pixel type"); in SetConstant_uint32() 592 DNG_ASSERT (fPixelType == ttFloat, "Mismatched pixel type"); in SetConstant_real32()
|
D | dng_resample.h | 152 DNG_ASSERT (fWeights32->Buffer (), "Weights32 is NULL"); in Weights32() 168 DNG_ASSERT (fWeights16->Buffer (), "Weights16 is NULL"); in Weights16() 241 DNG_ASSERT (fWeights32->Buffer (), "Weights32 is NULL"); in Weights32() 261 DNG_ASSERT (fWeights16->Buffer (), "Weights16 is NULL"); in Weights16()
|
D | dng_color_spec.cpp | 478 DNG_ASSERT (fWhiteXY.IsValid (), "Using invalid WhiteXY"); in WhiteXY() 489 DNG_ASSERT (fCameraWhite.NotEmpty (), "Using invalid CameraWhite"); in CameraWhite() 500 DNG_ASSERT (fCameraToPCS.NotEmpty (), "Using invalid CameraToPCS"); in CameraToPCS() 511 DNG_ASSERT (fPCStoCamera.NotEmpty (), "Using invalid PCStoCamera"); in PCStoCamera()
|
D | dng_utils.cpp | 420 DNG_ASSERT (image.PixelType () == ttShort, "Unsupported pixel type"); in HistogramArea() 454 DNG_ASSERT (count0 == 1, "OptimizeOrder logic error"); in HistogramArea() 727 DNG_ASSERT (srcImage.PixelType () == ttFloat, "Floating point image expected"); in LimitFloatBitDepth() 728 DNG_ASSERT (dstImage.PixelType () == ttFloat, "Floating point image expected"); in LimitFloatBitDepth()
|
D | dng_spline.cpp | 73 DNG_ASSERT (count >= 2, "Too few points"); in Solve() 209 DNG_ASSERT (upper == lower, "Binary search error in point list"); in Evaluate()
|
D | dng_hue_sat_map.cpp | 105 DNG_ASSERT (hueDivisions >= 1, "Must have at least 1 hue division."); in SetDivisions() 106 DNG_ASSERT (satDivisions >= 2, "Must have at least 2 sat divisions."); in SetDivisions()
|
D | dng_preview.cpp | 410 DNG_ASSERT (fCompressedData.Get (), in SpoolAdobeThumbnail() 413 DNG_ASSERT (fPhotometricInterpretation == piYCbCr, in SpoolAdobeThumbnail() 696 DNG_ASSERT (fCount < kMaxDNGPreviews, "DNG preview list overflow"); in Append()
|
D | dng_lens_correction.cpp | 55 DNG_ASSERT (planes >= 1, "Too few planes." ); in dng_warp_params() 56 DNG_ASSERT (planes <= kMaxColorPlanes, "Too many planes."); in dng_warp_params() 58 DNG_ASSERT (fCenter.h >= 0.0 && fCenter.h <= 1.0, in dng_warp_params() 61 DNG_ASSERT (fCenter.v >= 0.0 && fCenter.v <= 1.0, in dng_warp_params() 348 DNG_ASSERT (plane < fPlanes, "plane out of range."); in IsRadNOP() 364 DNG_ASSERT (plane < fPlanes, "plane out of range."); in IsTanNOP() 1036 DNG_ASSERT (negPlanes >= 1, "Too few planes." ); in dng_filter_warp() 1037 DNG_ASSERT (negPlanes <= kMaxColorPlanes, "Too many planes."); in dng_filter_warp() 2188 DNG_ASSERT (imagePlanes >= 1 && imagePlanes <= kMaxColorPlanes, in Prepare()
|
D | dng_camera_profile.h | 112 DNG_ASSERT (!fFingerprint.IsValid () || fName.NotEmpty (), in dng_camera_profile_id() 127 DNG_ASSERT (!fFingerprint.IsValid () || fName.NotEmpty (), in dng_camera_profile_id()
|
D | dng_1d_table.h | 87 DNG_ASSERT (index >= 0 && index <= kTableSize, in Interpolate()
|
D | dng_pthread.cpp | 343 DNG_ASSERT(insertion.second, "pthread emulation logic error"); in dng_pthread_create() 643 DNG_ASSERT (result == WAIT_OBJECT_0, "pthread emulation logic error"); in cond_wait_internal() 898 …DNG_ASSERT (!real_rwlock.writer_active || real_rwlock.readers_active == 0, "dng_pthread_rwlock_t l…
|
D | dng_iptc.cpp | 818 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); in Spool() 853 DNG_ASSERT (dateString.Length () == 8, "Wrong length IPTC date"); in Spool()
|
D | dng_negative.cpp | 894 DNG_ASSERT (channel < ColorChannels (), "Channel out of bounds"); in AnalogBalance() 987 DNG_ASSERT (HasCameraWhiteXY (), "Using undefined CameraWhiteXY"); in CameraWhiteXY() 1248 DNG_ASSERT (index < ProfileCount (), in ProfileByIndex() 1701 DNG_ASSERT (tile.l == fImage.Bounds ().l + colIndex * fUnitCell.h && in Process() 2307 DNG_ASSERT (count <= kMaxMaskedAreas, "Too many masked areas"); in SetMaskedAreas() 3527 DNG_ASSERT (fStage3Image.Get (), in RawImage() 4315 DNG_ASSERT (Abs_real64 (x - (y / 16.0 + y * y * y * 15.0 / 16.0)) < 0.0000001, in Evaluate() 4325 DNG_ASSERT (Abs_real64 (x - (y / 16.0 + y * y * (15.0 / 16.0))) < 0.0000001, in Evaluate()
|
D | dng_jpeg_image.cpp | 175 DNG_ASSERT (image.PixelType () == ttByte, "Cannot JPEG encode non-byte image"); in Encode()
|
D | dng_lossless_jpeg.cpp | 2768 DNG_ASSERT (size != 0, "Bad Huffman table entry"); in EmitBits() 2969 DNG_ASSERT ((int32)fSrcRows >= 0, "dng_lossless_encoder::FreqCountSet: fSrcRpws too large."); in FreqCountSet() 3075 DNG_ASSERT ((int32)fSrcRows >= 0, "dng_lossless_encoder::HuffEncode: fSrcRows too large."); in HuffEncode() 3730 DNG_ASSERT (fSrcChannels <= 4, "Too many components in scan"); in Encode()
|
D | dng_string.cpp | 354 DNG_ASSERT (sizeof (WCHAR) == 2, "WCHAR must be 2 bytes"); in Assign_Multibyte() 409 DNG_ASSERT (sizeof (WCHAR) == 2, "WCHAR must be 2 bytes"); in Extract_Multibyte()
|
D | dng_fingerprint.cpp | 261 DNG_ASSERT (!final, "Fingerprint already finalized!"); in Process()
|
D | dng_read_image.cpp | 496 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable() 505 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable() 631 DNG_ASSERT (code <= fNextCode, in Expand()
|
D | dng_camera_profile.cpp | 400 DNG_ASSERT (!fWasStubbed, "CalculateFingerprint on stubbed profile"); in CalculateFingerprint()
|
D | dng_image_writer.cpp | 3302 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in SearchTable() 3384 DNG_ASSERT ((w >= 0) && (w <= kTableSize), in AddTable() 3391 DNG_ASSERT ((nextCode >= 0) && (nextCode <= kTableSize), in AddTable() 6121 DNG_ASSERT (rawPixelType == ttByte, in WriteDNG() 6124 DNG_ASSERT (info.fImageWidth == (uint32) rawJPEGImage->fImageSize.h && in WriteDNG()
|
D | dng_reference.cpp | 1753 DNG_ASSERT (r >= g && g >= b && r > b, "Logic Error RGBTone");\ in RefBaselineRGBTone() 1797 DNG_ASSERT (r >= g && g == b, "Logic Error 2"); in RefBaselineRGBTone()
|
D | dng_mosaic_info.cpp | 107 DNG_ASSERT (fCount < kMaxCount, "Too many kernel entries"); in Add()
|