• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Yahoo2013 hackday - Frosted Glass Effect on iOS app
 

Yahoo2013 hackday - Frosted Glass Effect on iOS app

on

  • 861 views

Yahoo 2013 Hackdy演講:

Yahoo 2013 Hackdy演講:
毛玻璃效果如何在app中進行實作,並瞭解執行效率的差異。

Statistics

Views

Total Views
861
Views on SlideShare
861
Embed Views
0

Actions

Likes
2
Downloads
8
Comments
1

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Free Download : http://gg.gg/114bb

    Hey Guyz and girls, Today I am gonna show you perfact tool, Remember This video is old, But the download link with hack is brand new. Its very simple to using this tool and here are some instructions in video. Please REDOWNLOAD. Don't Forget to Comment Subscribe & Rate My Video :)

    Virus Scan :- This file has been scanned with avast! Antivirus. -- Status: FILE IS CLEANN.

    Copyright © 2014. All Rights Reserved
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Yahoo2013 hackday - Frosted Glass Effect on iOS app Yahoo2013 hackday - Frosted Glass Effect on iOS app Presentation Transcript

    • Frosted glass effect in mobile web and app Anistar Sung John Wu Saturday, November 2, 13
    • Anistar Sung Yahoo EC Lead Engineer John wu Yahoo EC Sr. Engineer Saturday, November 2, 13
    • Why we like frosted glass effect? Saturday, November 2, 13
    • content is the king Saturday, November 2, 13
    • content is the king Saturday, November 2, 13
    • Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • Frosted glass flow Saturday, November 2, 13
    • DEMO Saturday, November 2, 13
    • DEMO Saturday, November 2, 13
    • Mobile device so slow Speed is most important thing in UX Saturday, November 2, 13
    • CPU vs GPU GPU faster than CPU 50X in blur effect. Saturday, November 2, 13
    • Framework Solutions CoreGraphics: 1425 ms GPUImage: 153 ms CoreImage: 138 ms UIToolbar: Saturday, November 2, 13 N/A (unadjustable)
    • GPUImage Framework GPUImagePicture *imagePicture = [[GPUImagePicture alloc] initWithImage:sourceImage]; GPUImageFastBlurFilter *gpuBlurFilter = [[GPUImageFastBlurFilter alloc] init]; gpuBlurFilter.blurPasses = 4; gpuBlurFilter.blurSize = 2.0f; [imagePicture addTarget:gpuBlurFilter]; [gpuBlurFilter prepareForImageCapture]; [imagePicture processImage]; UIImage *resultImage = [gpuBlurFilter imageFromCurrentlyProcessedOutput]; Saturday, November 2, 13
    • CoreImage Framework CIImage *coreSourceImage = [CIImage imageWithCGImage:sourceImage.CGImage]; CIFilter *blurFilter = [CIFilter filterWithName:@"CIGaussianBlur"]; [blurFilter setValue:coreSourceImage forKey:kCIInputImageKey]; [blurFilter setValue:@5.0f forKey:@"inputRadius"]; CIImage *resultCoreImage = [blurFilter outputImage]; CGImageRef cgImageRef = [_context createCGImage:resultCoreImage fromRect:coreSourceImage.extent]; UIImage *resultImage = [UIImage imageWithCGImage:cgImageRef]; CGImageRelease(cgImageRef); Saturday, November 2, 13
    • UIToolbar UIToolbar *toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake( 0.0f, 0.0f, 320.0f, 100.0f)]; [self.view addSubview:toolbar]; Saturday, November 2, 13
    • Q&A Saturday, November 2, 13