Home
last modified time | relevance | path

Searched refs:texture_ (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dlinear_storage.cc30 if (texture_) { in Release()
31 texture_ = nullptr; in Release()
38 texture_(storage.texture_), in LinearStorage()
42 storage.texture_ = nullptr; in LinearStorage()
49 std::swap(texture_, storage.texture_); in operator =()
72 resources->images2d.push_back({"tex2d", texture_}); in GetGPUResources()
114 texture_ = [device newTextureWithDescriptor:texture_desc]; in CreateFromTensorLinearDescriptor()
115 if (!texture_) { in CreateFromTensorLinearDescriptor()
119 WriteDataToTexture2D(texture_, device, data_ptr); in CreateFromTensorLinearDescriptor()
Dtexture2d.cc54 : texture_(texture), in Texture2D()
60 : texture_(texture.texture_), in Texture2D()
64 texture.texture_ = nullptr; in Texture2D()
75 std::swap(texture_, texture.texture_); in operator =()
81 if (texture_) { in Release()
82 texture_ = nullptr; in Release()
96 resources->images2d.push_back({"tex2d", texture_}); in GetGPUResources()
118 texture_ = [device newTextureWithDescriptor:texture_desc]; in CreateFromTexture2DDescriptor()
119 if (!texture_) { in CreateFromTexture2DDescriptor()
124 WriteDataToTexture2D(texture_, device, data_ptr); in CreateFromTexture2DDescriptor()
Dtexture2d.h64 id<MTLTexture> texture_ = nullptr; variable
91 WriteDataToTexture2D(texture_, device, data.data()); in WriteData()
105 ReadDataFromTexture2D(texture_, device, result->data()); in ReadData()
Dlinear_storage.h58 id<MTLTexture> texture_ = nullptr; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtexture2d.cc38 : texture_(texture), width_(width), height_(height), channel_type_(type) {} in Texture2D()
41 : texture_(texture.texture_), in Texture2D()
45 texture.texture_ = nullptr; in Texture2D()
56 std::swap(texture_, texture.texture_); in operator =()
62 if (texture_) { in Release()
63 clReleaseMemObject(texture_); in Release()
64 texture_ = nullptr; in Release()
78 resources->images2d.push_back({"tex2d", texture_}); in GetGPUResources()
91 channel_type_, data_ptr, &texture_); in CreateFromTexture2DDescriptor()
Dtexture2d.h49 cl_mem GetMemoryPtr() const { return texture_; } in GetMemoryPtr()
69 cl_mem texture_ = nullptr; variable
105 RETURN_IF_ERROR(queue->EnqueueWriteImage(texture_, int3(width_, height_, 1), in WriteData()
122 return queue->EnqueueReadImage(texture_, int3(width_, height_, 1), in ReadData()
/external/openscreen/cast/standalone_receiver/
Dsdl_video_player.cc85 if (texture_) { in RenderNextFrame()
89 SDL_QueryTexture(texture_.get(), &texture_format, nullptr, &texture_width, in RenderNextFrame()
93 texture_.reset(); in RenderNextFrame()
99 if (!texture_) { in RenderNextFrame()
107 texture_ = in RenderNextFrame()
110 if (!texture_) { in RenderNextFrame()
121 SDL_LockTexture(texture_.get(), nullptr, &pixels, &stride); in RenderNextFrame()
130 SDL_UnlockTexture(texture_.get()); in RenderNextFrame()
160 SDL_RenderCopy(renderer_, texture_.get(), &src_rect, &dst_rect); in RenderNextFrame()
Dsdl_video_player.h54 SDLTextureUniquePtr texture_; variable
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dsprite.h42 glDeleteTextures(1, &texture_); in ~Sprite()
78 glBindTexture(GL_TEXTURE_2D, texture_); in Draw()
106 glGenTextures(1, &texture_); in LoadTexture()
108 glBindTexture(GL_TEXTURE_2D, texture_); in LoadTexture()
184 GLuint texture_; variable
/external/webrtc/test/win/
Dd3d_renderer.cc39 texture_(NULL), in D3dRenderer()
62 texture_ = NULL; in Destroy()
161 texture_ = texture; in Resize()
188 if (texture_->LockRect(0, &lock_rect, NULL, 0) != D3D_OK) in OnFrame()
193 texture_->UnlockRect(0); in OnFrame()
198 d3d_device_->SetTexture(0, texture_); in OnFrame()
Dd3d_renderer.h49 rtc::scoped_refptr<IDirect3DTexture9> texture_; variable
/external/webrtc/test/gl/
Dgl_renderer.cc28 glGenTextures(1, &texture_); in Init()
41 glDeleteTextures(1, &texture_); in Destroy()
66 glBindTexture(GL_TEXTURE_2D, texture_); in ResizeVideo()
84 glBindTexture(GL_TEXTURE_2D, texture_); in OnFrame()
Dgl_renderer.h44 GLuint texture_; variable
/external/webrtc/modules/desktop_capture/win/
Ddxgi_output_duplicator.cc83 texture_.reset(); in ~DxgiOutputDuplicator()
89 texture_.reset(new DxgiTextureMapping(duplication_.Get())); in Initialize()
91 texture_.reset(new DxgiTextureStaging(device_)); in Initialize()
155 RTC_DCHECK(texture_); in Duplicate()
182 if (!texture_->CopyFrom(frame_info, resource.Get())) { in Duplicate()
189 const DesktopFrame& source = texture_->AsDesktopFrame(); in Duplicate()
213 return texture_->Release() && ReleaseFrame(); in Duplicate()
Ddxgi_output_duplicator.h123 std::unique_ptr<DxgiTexture> texture_; variable
/external/ImageMagick/Magick++/lib/
DSTL.cpp471 const ssize_t y_,const Magick::Image &texture_,const bool invert_) in floodFillTextureImage() argument
474 _texture(texture_), in floodFillTextureImage()
481 const Magick::Geometry &point_,const Magick::Image &texture_, in floodFillTextureImage() argument
485 _texture(texture_), in floodFillTextureImage()
492 const ssize_t y_,const Magick::Image &texture_, in floodFillTextureImage() argument
496 _texture(texture_), in floodFillTextureImage()
503 const Magick::Geometry &point_,const Magick::Image &texture_, in floodFillTextureImage() argument
507 _texture(texture_), in floodFillTextureImage()
1076 Magick::textureImage::textureImage( const Magick::Image &texture_ ) in textureImage() argument
1077 : _texture( texture_ ) in textureImage()
DMontage.cpp140 void Magick::Montage::texture(const std::string &texture_) in texture() argument
142 _texture=texture_; in texture()
DImage.cpp3070 const Magick::Image &texture_,const bool invert_) in floodFillTexture() argument
3072 floodFillTexture(point_.xOff(),point_.yOff(),texture_,invert_); in floodFillTexture()
3076 const Magick::Image &texture_,const bool invert_) in floodFillTexture() argument
3084 floodFill(x_,y_,&texture_,Magick::Color(),&pixel,invert_); in floodFillTexture()
3088 const Magick::Image &texture_,const Magick::Color &borderColor_, in floodFillTexture() argument
3091 floodFillTexture(point_.xOff(),point_.yOff(),texture_,borderColor_,invert_); in floodFillTexture()
3095 const Magick::Image &texture_,const Magick::Color &borderColor_, in floodFillTexture() argument
3104 floodFill(x_,y_,&texture_,Magick::Color(),&pixel,invert_); in floodFillTexture()
4626 void Magick::Image::texture(const Image &texture_) in texture() argument
4630 TextureImage(image(),texture_.constImage(),exceptionInfo); in texture()
/external/ImageMagick/Magick++/lib/Magick++/
DMontage.h73 void texture(const std::string &texture_);
DImage.h931 void floodFillTexture(const Geometry &point_,const Image &texture_,
934 const Image &texture_,const bool invert_=false);
939 void floodFillTexture(const Geometry &point_,const Image &texture_,
942 const Image &texture_,const Color &borderColor_,
1400 void texture(const Image &texture_);
DSTL.h516 const Image &texture_,const bool invert_=false);
517 floodFillTextureImage(const Geometry &point_,const Image &texture_,
524 const Image &texture_,const Color &borderColor_,
527 floodFillTextureImage(const Geometry &point_,const Image &texture_,
1160 textureImage( const Image &texture_ );
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCountersTests.cpp2960 GLuint texture_; member in gl4cts::AdvancedUsageTBO
2969 texture_ = 0; in Setup()
3005 glGenTextures(1, &texture_); in Run()
3006 glBindTexture(GL_TEXTURE_BUFFER, texture_); in Run()
3051 glDeleteTextures(1, &texture_); in Cleanup()