Home
last modified time | relevance | path

Searched refs:buffer_desc (Results 1 – 10 of 10) sorted by relevance

/third_party/exfatprogs/fsck/
Dfsck.h29 struct buffer_desc { struct
39 struct buffer_desc *buffer_desc; /* cluster * 2 */ argument
72 struct buffer_desc buffer_desc[2]; /* cluster * 2 */ member
Dde_iter.c18 struct buffer_desc *desc; in write_block()
21 desc = &iter->buffer_desc[block & 0x01]; in write_block()
148 struct buffer_desc *desc, *prev_desc; in read_block()
152 desc = &iter->buffer_desc[block & 0x01]; in read_block()
166 prev_desc = &iter->buffer_desc[(block-1) & 0x01]; in read_block()
215 if (!iter->buffer_desc) in exfat_de_iter_init()
216 iter->buffer_desc = exfat->buffer_desc; in exfat_de_iter_init()
263 (iter->buffer_desc[block & 0x01].buffer + in exfat_de_iter_get()
282 iter->buffer_desc[block & 0x01].dirty[sect_idx] = 1; in exfat_de_iter_get_dirty()
Dfsck.c199 if (exfat->buffer_desc[i].buffer) in free_exfat()
200 free(exfat->buffer_desc[i].buffer); in free_exfat()
201 if (exfat->buffer_desc[i].dirty) in free_exfat()
202 free(exfat->buffer_desc[i].dirty); in free_exfat()
235 exfat->buffer_desc[i].buffer = in init_exfat()
237 if (!exfat->buffer_desc[i].buffer) in init_exfat()
239 exfat->buffer_desc[i].dirty = in init_exfat()
242 if (!exfat->buffer_desc[i].dirty) in init_exfat()
1273 struct buffer_desc *bd; in write_dirty_fat()
1282 bd = exfat->buffer_desc; in write_dirty_fat()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11overlaycompositor.cpp118 D3D11_BUFFER_DESC buffer_desc; in gst_d3d11_composition_overlay_new() local
144 memset (&buffer_desc, 0, sizeof (buffer_desc)); in gst_d3d11_composition_overlay_new()
210 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_composition_overlay_new()
211 buffer_desc.ByteWidth = sizeof (VertexData) * 4; in gst_d3d11_composition_overlay_new()
212 buffer_desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in gst_d3d11_composition_overlay_new()
213 buffer_desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in gst_d3d11_composition_overlay_new()
215 hr = device_handle->CreateBuffer (&buffer_desc, NULL, &vertex_buffer); in gst_d3d11_composition_overlay_new()
317 D3D11_BUFFER_DESC buffer_desc; in gst_d3d11_overlay_compositor_setup_shader() local
335 memset (&buffer_desc, 0, sizeof (buffer_desc)); in gst_d3d11_overlay_compositor_setup_shader()
403 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_overlay_compositor_setup_shader()
[all …]
Dgstd3d11decoder.cpp1137 D3D11_VIDEO_DECODER_BUFFER_DESC buffer_desc[4]; in gst_d3d11_decoder_decode_frame() local
1144 memset (buffer_desc, 0, sizeof (buffer_desc)); in gst_d3d11_decoder_decode_frame()
1146 buffer_desc[0].BufferType = D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS; in gst_d3d11_decoder_decode_frame()
1147 buffer_desc[0].DataSize = input_args->picture_params_size; in gst_d3d11_decoder_decode_frame()
1149 buffer_desc[1].BufferType = D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL; in gst_d3d11_decoder_decode_frame()
1150 buffer_desc[1].DataSize = input_args->slice_control_size; in gst_d3d11_decoder_decode_frame()
1152 buffer_desc[2].BufferType = D3D11_VIDEO_DECODER_BUFFER_BITSTREAM; in gst_d3d11_decoder_decode_frame()
1153 buffer_desc[2].DataOffset = 0; in gst_d3d11_decoder_decode_frame()
1154 buffer_desc[2].DataSize = input_args->bitstream_size; in gst_d3d11_decoder_decode_frame()
1159 buffer_desc[3].BufferType = in gst_d3d11_decoder_decode_frame()
[all …]
Dgstd3d11converter.cpp1470 D3D11_BUFFER_DESC buffer_desc; in gst_d3d11_color_convert_setup_shader() local
1495 memset (&buffer_desc, 0, sizeof (buffer_desc)); in gst_d3d11_color_convert_setup_shader()
1660 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_color_convert_setup_shader()
1661 buffer_desc.ByteWidth = sizeof (VertexData) * 4; in gst_d3d11_color_convert_setup_shader()
1662 buffer_desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in gst_d3d11_color_convert_setup_shader()
1663 buffer_desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in gst_d3d11_color_convert_setup_shader()
1665 hr = device_handle->CreateBuffer (&buffer_desc, NULL, &vertex_buffer); in gst_d3d11_color_convert_setup_shader()
1671 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_color_convert_setup_shader()
1672 buffer_desc.ByteWidth = sizeof (WORD) * index_count; in gst_d3d11_color_convert_setup_shader()
1673 buffer_desc.BindFlags = D3D11_BIND_INDEX_BUFFER; in gst_d3d11_color_convert_setup_shader()
[all …]
Dgstd3d11compositor.cpp2089 D3D11_BUFFER_DESC buffer_desc; in gst_d3d11_compositor_create_checker_quad() local
2122 memset (&buffer_desc, 0, sizeof (D3D11_BUFFER_DESC)); in gst_d3d11_compositor_create_checker_quad()
2123 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_compositor_create_checker_quad()
2124 buffer_desc.ByteWidth = sizeof (VertexData) * 4; in gst_d3d11_compositor_create_checker_quad()
2125 buffer_desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in gst_d3d11_compositor_create_checker_quad()
2126 buffer_desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in gst_d3d11_compositor_create_checker_quad()
2128 hr = device_handle->CreateBuffer (&buffer_desc, NULL, &vertex_buffer); in gst_d3d11_compositor_create_checker_quad()
2175 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in gst_d3d11_compositor_create_checker_quad()
2176 buffer_desc.ByteWidth = sizeof (WORD) * 6; in gst_d3d11_compositor_create_checker_quad()
2177 buffer_desc.BindFlags = D3D11_BIND_INDEX_BUFFER; in gst_d3d11_compositor_create_checker_quad()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/examples/d3d11/
Dd3d11device.cpp321 D3D11_BUFFER_DESC buffer_desc = { 0, }; in prepare_shader() local
322 buffer_desc.Usage = D3D11_USAGE_DYNAMIC; in prepare_shader()
323 buffer_desc.ByteWidth = sizeof (VertexData) * 4; in prepare_shader()
324 buffer_desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in prepare_shader()
325 buffer_desc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in prepare_shader()
328 hr = d3d11_device->CreateBuffer (&buffer_desc, nullptr, &vertex_buffer); in prepare_shader()
369 buffer_desc.ByteWidth = sizeof (WORD) * 2 * 3; in prepare_shader()
370 buffer_desc.BindFlags = D3D11_BIND_INDEX_BUFFER; in prepare_shader()
371 hr = d3d11_device->CreateBuffer (&buffer_desc, nullptr, &index_buffer); in prepare_shader()
/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c1036 VASurfaceAttribExternalBuffers buffer_desc; in vaapi_map_from_drm() local
1048 .value.value.p = &buffer_desc, in vaapi_map_from_drm()
1087 buffer_desc.pixel_format = va_fourcc; in vaapi_map_from_drm()
1088 buffer_desc.width = src_fc->width; in vaapi_map_from_drm()
1089 buffer_desc.height = src_fc->height; in vaapi_map_from_drm()
1090 buffer_desc.data_size = desc->objects[0].size; in vaapi_map_from_drm()
1091 buffer_desc.buffers = &buffer_handle; in vaapi_map_from_drm()
1092 buffer_desc.num_buffers = 1; in vaapi_map_from_drm()
1093 buffer_desc.flags = 0; in vaapi_map_from_drm()
1098 buffer_desc.pitches[k] = desc->layers[i].planes[j].pitch; in vaapi_map_from_drm()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c990 D3D11_BUFFER_DESC buffer_desc; in _copy_dirty_fragment() local
1053 memset (&buffer_desc, 0, sizeof (buffer_desc)); in _copy_dirty_fragment()
1054 buffer_desc.Usage = D3D11_USAGE_IMMUTABLE; in _copy_dirty_fragment()
1055 buffer_desc.ByteWidth = verteces_count * sizeof (vertex); in _copy_dirty_fragment()
1056 buffer_desc.BindFlags = D3D11_BIND_VERTEX_BUFFER; in _copy_dirty_fragment()
1057 buffer_desc.CPUAccessFlags = 0; in _copy_dirty_fragment()
1062 hr = ID3D11Device_CreateBuffer (self->d3d11_device, &buffer_desc, in _copy_dirty_fragment()