/hardware/intel/common/libva/test/basic/ |
test_08.c | 25 #define TEST_DESCRIPTION "Create and destory surfaces of different sizes" 68 VASurfaceID surfaces[NUM_SIZES+1]; local 71 memset(surfaces, 0xff, sizeof(surfaces)); 76 surfaces[i+1] = DEAD_SURFACE_ID; 77 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, test_sizes[i].w, test_sizes[i].h, &surfaces[i], 1, NULL, 0); 79 ASSERT( DEAD_SURFACE_ID == surfaces[i+1] ); 82 test_unique_surfaces(surfaces, NUM_SIZES); 84 status("vaDestroySurface all surfaces\n"); 85 va_status = vaDestroySurfaces(va_dpy, surfaces, NUM_SIZES) [all...] |
testplan.txt | 29 - Create and destroy surfaces 31 - Create surfaces of 352 x 288 pixels 32 - Create 1, 4 and 16 surfaces, destroy 4, create 6 surfaces, destroy 16, 1 33 and 6 surfaces. 36 - Create and destroy surfaces of different sizes 37 - Create surfaces of 10 x 10 pixels, 128 x 128 pixels, 176 x 144 pixels, 144 x 176 43 - Pass 4 surfaces of 352 x 288 pixels
|
test.c | 55 VASurfaceID surfaces[21]; local 58 surfaces[20] = -1; 59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); 61 ASSERT( -1 == surfaces[20] ); /* bounds check */ 64 printf("Surface %d surface_id = %08x\n", i, surfaces[i]); 71 vaPutSurface(va_dpy, surfaces[0], win, 0, 0, 720, 480, 0, 0, 720, 480, 0); 74 va_status = vaDestroySurface(va_dpy, surfaces, 20); 96 VASurfaceID surfaces[20]; local 114 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); 117 va_status = vaCreateContext(va_dpy, config_id, 720, 480, 0 /* flag */, surfaces, 20, &context) [all...] |
test_07.c | 25 #define TEST_DESCRIPTION "Create and destory surfaces" 71 status("vaCreateSurfaces 4 surfaces\n"); 77 status("vaCreateSurfaces 16 surfaces\n"); 89 status("vaDestroySurface 4 surfaces\n"); 93 status("vaCreateSurfaces 6 surfaces\n"); 103 status("vaDestroySurface 16 surfaces\n"); 111 status("vaDestroySurface 6 surfaces\n");
|
test_10.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); 50 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 55 va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &context ); 134 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 137 free(surfaces);
|
test_11.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); 50 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 55 va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &context ); 173 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 176 free(surfaces);
|
test_09.c | 69 VASurfaceID *surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); local 72 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 79 va_status = vaCreateContext( va_dpy, configs[i], width, height, flags, surfaces + i*surface_count, surface_count, &contexts[i] ); 97 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 102 free(surfaces);
|
/external/autotest/client/site_tests/security_SysVIPC/ |
control | 7 DOC = "Security tripwire for SysV IPC attack surfaces" 9 PURPOSE = "Detect emergence of new attack surfaces in SysV IPC"
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_video.c | 138 * join surfaces into the same buffer with identical tiling params 143 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) 153 if (!surfaces[i]) 157 wh = surfaces[i]->bankw * surfaces[i]->bankh; 165 if (!surfaces[i]) 169 surfaces[i]->bankw = surfaces[best_tiling]->bankw; 170 surfaces[i]->bankh = surfaces[best_tiling]->bankh [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
CacheManagerTests.cpp | 42 std::vector<sk_sp<SkSurface>> surfaces; local 51 surfaces.push_back(surface); 65 // free the surfaces 66 for (size_t i = 0; i < surfaces.size(); i++) { 67 ASSERT_TRUE(surfaces[i]->unique()); 68 surfaces[i].reset();
|
/external/v4l2_codec2/vda/ |
accelerated_video_decoder.h | 29 // decoded surfaces. Return false on failure. 44 kAllocateNewSurfaces, // Need a new set of surfaces to be allocated. 46 kRanOutOfSurfaces, // Waiting for the client to free up output surfaces. 52 // Return when more stream is needed, when we run out of free surfaces, when 56 // Return dimensions/required number of output surfaces that client should
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SurfaceUtils.java | 144 * Verify that that the surfaces are valid for high-speed recording mode, 147 * @param surfaces the surfaces to verify as valid in terms of size and format 151 public static void checkConstrainedHighSpeedSurfaces(Collection<Surface> surfaces, 153 if (surfaces == null || surfaces.size() == 0 || surfaces.size() > 2) { 172 for (Surface surface : surfaces) { 196 if (surfaces.size() == 2) { 198 Iterator<Surface> iterator = surfaces.iterator() [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
MultiViewTest.java | 277 Surface[] surfaces = new Surface[2]; local 291 surfaces[i] = new Surface(previewTexture[i]); 292 outputConfigs[i] = new OutputConfiguration(surfaces[i]); 305 outputConfigs[1].addSurface(surfaces[0]); 310 outputConfigs[1].removeSurface(surfaces[0]); 314 outputConfigs[1].removeSurface(surfaces[1]); 321 outputConfigs[0].addSurface(surfaces[1]); 326 outputConfigs[0].removeSurface(surfaces[1]); 330 outputConfigs[0].removeSurface(surfaces[0]); 614 Surface[] surfaces = new Surface[surfaceLimit] local 727 Surface[] surfaces = new Surface[2]; local 862 List<Surface> surfaces = new ArrayList<Surface>(); local 914 Surface[] surfaces = new Surface[2]; local 990 Surface[] surfaces = new Surface[2]; local 1034 Surface[] surfaces = new Surface[2]; local [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
OutputConfigurationTest.java | 45 assertEquals("Number of surfaces should be 1", 48 assertEquals("Number of surfaces shouldn't change", 67 assertEquals("Number of surfaces should be 1", 70 assertEquals("Number of surfaces shouldn't change", 92 assertEquals("Number of surfaces should be 0", 94 assertEquals("Number of surfaces shouldn't change",
|
/external/mesa3d/src/intel/isl/ |
isl_gen9.c | 49 * Layout and Tiling > 1D Surfaces > 1D Alignment Requirements. 59 * Surface Layout and Tiling > 2D Surfaces > 2D/CUBE Alignment 86 * Layout and Tiling > 1D Surfaces > 1D Alignment Requirements. 114 * "Mip-mapped and arrayed surfaces are supported with MCS buffer 124 * Surface Layout and Tiling > 2D Surfaces]: 127 * related to Planar YUV surfaces. In general, the cache-alignment 133 * - For Sampling Engine and Render Target Surfaces: This field 137 * formats. For MSFMT_DEPTH_STENCIL type multisampled surfaces, an 142 * This field is ignored for 1D surfaces and also when Tiled Resource 149 * - For uncompressed surfaces, the units of "j" are rows of pixels o [all...] |
isl_gen8.c | 46 * All multisampled render target surfaces must have this field set to 105 * In this case it must be set to HALIGN_8 since these surfaces 128 * This case handles color surfaces that may own an auxiliary MCS, CCS_D, 154 * - For Sampling Engine and Render Target Surfaces: This field 158 * formats. For MSFMT_DEPTH_STENCIL type multisampled surfaces, an 163 * or for a multisampled (8x) render target, since these surfaces 164 * support only alignment of 4. Use of VALIGN_4 for other surfaces is 168 * was rendered as a stencil buffer, since stencil buffer surfaces 200 * "Mip-mapped and arrayed surfaces are supported with MCS buffer 210 * Volume 5: Memory Views >> Surface Layout >> 2D Surfaces [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
GLThreadManager.java | 34 * GLThreadManager handles the thread used for rendering into the configured output surfaces. 62 public final Collection<Pair<Surface, Size>> surfaces; field in class:GLThreadManager.ConfigureHolder 66 Size>> surfaces, CaptureCollector collector) { 68 this.surfaces = surfaces; 89 mTextureRenderer.configureSurfaces(configure.surfaces); 185 * Queue a new call to draw into the surfaces specified in the next available preview 204 * Configure the GL renderer for the given set of output surfaces, and block until 207 * @param surfaces a collection of pairs of {@link android.view.Surface}s and their 211 public void setConfigurationAndWait(Collection<Pair<Surface, Size>> surfaces, [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_surface.h | 37 ILO_STATE_SURFACE_ACCESS_SAMPLER, /* sampling engine surfaces */ 38 ILO_STATE_SURFACE_ACCESS_DP_RENDER, /* render target surfaces */ 39 ILO_STATE_SURFACE_ACCESS_DP_TYPED, /* typed surfaces */ 40 ILO_STATE_SURFACE_ACCESS_DP_UNTYPED, /* untyped surfaces */
|
ilo_state_surface.c | 45 * surfaces, with the following exceptions: 49 * surfaces, including null. 108 * "The Base Address for linear render target surfaces and surfaces 111 * of 2 element-sizes for YUV surface formats. Other linear surfaces 114 * "Certain message types used to access surfaces have more stringent 140 * "For linear surfaces with Surface Type of SURFTYPE_STRBUF, the 227 * "For surfaces of type SURFTYPE_BUFFER: [0,2047] -> [1B, 2048B] 228 * For surfaces of type SURFTYPE_STRBUF: [0,2047] -> [1B, 2048B]" 283 * "For buffer surfaces, the number of entries in the buffer range [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
CaptureSessionCreator.java | 50 * @param surfaces The set of output surfaces for the camera capture 55 List<Surface> surfaces) { 58 mDevice.createCaptureSession(surfaces, new CameraCaptureSessionProxy.StateCallback() {
|
/bootable/recovery/minui/ |
graphics_adf.cpp | 32 : intf_fd(-1), dev(), current_surface(0), n_surfaces(0), surfaces() {} 65 err = SurfaceInit(&intf_data.current_mode, &surfaces[0]); 72 err = SurfaceInit(&intf_data.current_mode, &surfaces[1]); 75 surfaces[1] = {}; 171 GRSurfaceAdf* surf = &surfaces[current_surface]; 178 Sync(&surfaces[current_surface]); 179 return &surfaces[current_surface]; 195 SurfaceDestroy(&surfaces[i]);
|
/hardware/intel/common/libva/va/ |
va_compat.c | 37 VASurfaceID *surfaces 40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces,
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
cubetexture9.c | 119 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); 120 if (!This->surfaces) 129 /* Create all the surfaces right away. 139 /* We allocate the memory for the surfaces as continous blocks. 152 l, f, &sfdesc, &This->surfaces[f + 6 * l]); 175 if (This->surfaces) { 177 NineUnknown_Destroy(&This->surfaces[i]->base.base); 178 FREE(This->surfaces); 198 *pDesc = This->surfaces[Level * 6]->desc [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3SharedOutputStream.h | 32 * surfaces. A valid stream set id needs to be set to support buffer 35 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces, 61 // Map surfaceId -> output surfaces
|
/compatibility/cdd/5_multimedia/ |
5_8_secure-media.md | 4 supporting secure surfaces, they:
|