Home
last modified time | relevance | path

Searched full:picture (Results 1 – 25 of 1317) sorted by relevance

12345678910>>...53

/external/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c221 vlVdpDecoderRenderMpeg12(struct pipe_mpeg12_picture_desc *picture, in vlVdpDecoderRenderMpeg12() argument
228 r = vlVdpGetReferenceFrame(picture_info->forward_reference, &picture->ref[0]); in vlVdpDecoderRenderMpeg12()
232 r = vlVdpGetReferenceFrame(picture_info->backward_reference, &picture->ref[1]); in vlVdpDecoderRenderMpeg12()
236 picture->picture_coding_type = picture_info->picture_coding_type; in vlVdpDecoderRenderMpeg12()
237 picture->picture_structure = picture_info->picture_structure; in vlVdpDecoderRenderMpeg12()
238 picture->frame_pred_frame_dct = picture_info->frame_pred_frame_dct; in vlVdpDecoderRenderMpeg12()
239 picture->q_scale_type = picture_info->q_scale_type; in vlVdpDecoderRenderMpeg12()
240 picture->alternate_scan = picture_info->alternate_scan; in vlVdpDecoderRenderMpeg12()
241 picture->intra_vlc_format = picture_info->intra_vlc_format; in vlVdpDecoderRenderMpeg12()
242 picture->concealment_motion_vectors = picture_info->concealment_motion_vectors; in vlVdpDecoderRenderMpeg12()
[all …]
/external/webp/src/enc/
Dpicture_enc.c26 const WebPPicture* const picture) { in DummyWriter() argument
30 (void)picture; in DummyWriter()
34 int WebPPictureInitInternal(WebPPicture* picture, int version) { in WebPPictureInitInternal() argument
38 if (picture != NULL) { in WebPPictureInitInternal()
39 memset(picture, 0, sizeof(*picture)); in WebPPictureInitInternal()
40 picture->writer = DummyWriter; in WebPPictureInitInternal()
41 WebPEncodingSetError(picture, VP8_ENC_OK); in WebPPictureInitInternal()
48 int WebPValidatePicture(const WebPPicture* const picture) { in WebPValidatePicture() argument
49 if (picture == NULL) return 0; in WebPValidatePicture()
50 if (picture->width <= 0 || picture->height <= 0) { in WebPValidatePicture()
[all …]
Dpicture_csp_enc.c69 int WebPPictureHasTransparency(const WebPPicture* picture) { in WebPPictureHasTransparency() argument
70 if (picture == NULL) return 0; in WebPPictureHasTransparency()
71 if (picture->use_argb) { in WebPPictureHasTransparency()
72 if (picture->argb != NULL) { in WebPPictureHasTransparency()
73 return CheckNonOpaque((const uint8_t*)picture->argb + ALPHA_OFFSET, in WebPPictureHasTransparency()
74 picture->width, picture->height, in WebPPictureHasTransparency()
75 4, picture->argb_stride * sizeof(*picture->argb)); in WebPPictureHasTransparency()
79 return CheckNonOpaque(picture->a, picture->width, picture->height, in WebPPictureHasTransparency()
80 1, picture->a_stride); in WebPPictureHasTransparency()
180 WebPPicture* const picture) { in PreprocessARGB() argument
[all …]
Dpicture_rescale_enc.c88 int WebPPictureIsView(const WebPPicture* picture) { in WebPPictureIsView() argument
89 if (picture == NULL) return 0; in WebPPictureIsView()
90 if (picture->use_argb) { in WebPPictureIsView()
91 return (picture->memory_argb_ == NULL); in WebPPictureIsView()
93 return (picture->memory_ == NULL); in WebPPictureIsView()
128 // Picture cropping
171 // Simple picture rescaler
207 int WebPPictureRescale(WebPPicture* picture, int width, int height) { in WebPPictureRescale() argument
212 if (picture == NULL) return 0; in WebPPictureRescale()
213 prev_width = picture->width; in WebPPictureRescale()
[all …]
Dpicture_tools_enc.c193 void WebPBlendAlpha(WebPPicture* picture, uint32_t background_rgb) { in WebPBlendAlpha() argument
198 if (picture == NULL) return; in WebPBlendAlpha()
199 if (!picture->use_argb) { in WebPBlendAlpha()
201 const int uv_width = (picture->width >> 1); in WebPBlendAlpha()
206 const int has_alpha = picture->colorspace & WEBP_CSP_ALPHA_BIT; in WebPBlendAlpha()
207 uint8_t* y_ptr = picture->y; in WebPBlendAlpha()
208 uint8_t* u_ptr = picture->u; in WebPBlendAlpha()
209 uint8_t* v_ptr = picture->v; in WebPBlendAlpha()
210 uint8_t* a_ptr = picture->a; in WebPBlendAlpha()
212 for (y = 0; y < picture->height; ++y) { in WebPBlendAlpha()
[all …]
/external/flac/src/share/grabbag/
Dpicture.c44 …tic FLAC__bool local__parse_type_(const char *s, size_t len, FLAC__StreamMetadata_Picture *picture) in local__parse_type_() argument
49 picture->type = FLAC__STREAM_METADATA_PICTURE_TYPE_FRONT_COVER; in local__parse_type_()
62 picture->type = val; in local__parse_type_()
69 …AC__bool local__parse_resolution_(const char *s, size_t len, FLAC__StreamMetadata_Picture *picture) in local__parse_resolution_() argument
75 picture->width = picture->height = picture->depth = picture->colors = 0; in local__parse_resolution_()
83 picture->width = val; in local__parse_resolution_()
85 picture->height = val; in local__parse_resolution_()
93 picture->depth = val; in local__parse_resolution_()
108 picture->depth = val; in local__parse_resolution_()
110 picture->colors = val; in local__parse_resolution_()
[all …]
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/
DShadowNativePictureTest.java15 import android.graphics.Picture;
31 // This method tests out some edge cases w.r.t. Picture creation.
33 // the created picture (effectively) has balanced saves and restores:
34 // - copy constructed picture from actively recording picture
35 // - actively recording picture after draw call
38 Picture original = new Picture(); in testSaveRestoreBalance()
45 Picture copy = new Picture(original); in testSaveRestoreBalance()
66 private void verifyBalance(Picture picture) { in verifyBalance() argument
77 canvas.drawPicture(picture); in verifyBalance()
91 Picture picture = new Picture(); in testPicture() local
[all …]
/external/flac/src/metaflac/
Doperations_shorthand_picture.c33 static FLAC__bool import_pic_from(const char *filename, FLAC__StreamMetadata **picture, const char …
34 static FLAC__bool export_pic_to(const char *filename, const FLAC__StreamMetadata *picture, const ch…
39 FLAC__StreamMetadata *picture = 0; in do_shorthand_operation__picture() local
49 ok = import_pic_from(filename, &picture, operation->argument.specification.value, needs_write); in do_shorthand_operation__picture()
51 /* append PICTURE block */ in do_shorthand_operation__picture()
54 if(!FLAC__metadata_iterator_insert_block_after(iterator, picture)) { in do_shorthand_operation__picture()
55 … print_error_with_chain_status(chain, "%s: ERROR: adding new PICTURE block to metadata", filename); in do_shorthand_operation__picture()
56 FLAC__metadata_object_delete(picture); in do_shorthand_operation__picture()
61 /* check global PICTURE constraints (max 1 block each of type=1 and type=2) */ in do_shorthand_operation__picture()
67 if(block->data.picture.type == FLAC__STREAM_METADATA_PICTURE_TYPE_FILE_ICON_STANDARD) { in do_shorthand_operation__picture()
[all …]
/external/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_mpeg12.c82 priv->picture.base.profile = PIPE_VIDEO_PROFILE_MPEG2_MAIN; in vid_dec_mpeg12_Init()
83 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Init()
84 priv->picture.mpeg12.non_intra_matrix = default_non_intra_matrix; in vid_dec_mpeg12_Init()
93 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in BeginFrame()
94 priv->picture.mpeg12.ref[0] = priv->picture.mpeg12.ref[1]; in BeginFrame()
95 priv->picture.mpeg12.ref[1] = NULL; in BeginFrame()
98 if (priv->target == priv->picture.mpeg12.ref[0]) { in BeginFrame()
106 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in BeginFrame()
114 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_mpeg12_EndFrame()
117 if (priv->picture.mpeg12.picture_coding_type != PIPE_MPEG12_PICTURE_CODING_TYPE_B) { in vid_dec_mpeg12_EndFrame()
[all …]
Dvid_dec_av1.c351 priv->picture.av1.picture_parameter.profile = seq->seq_profile; in sequence_header_obu()
352 priv->picture.av1.picture_parameter.seq_info_fields.use_128x128_superblock = in sequence_header_obu()
354 priv->picture.av1.picture_parameter.seq_info_fields.enable_filter_intra = in sequence_header_obu()
356 priv->picture.av1.picture_parameter.seq_info_fields.enable_intra_edge_filter = in sequence_header_obu()
358 priv->picture.av1.picture_parameter.order_hint_bits_minus_1 = in sequence_header_obu()
360 priv->picture.av1.picture_parameter.max_width = seq->max_frame_width_minus_1 + 1; in sequence_header_obu()
361 priv->picture.av1.picture_parameter.max_height = seq->max_frame_height_minus_1 + 1; in sequence_header_obu()
362 priv->picture.av1.picture_parameter.seq_info_fields.enable_interintra_compound = in sequence_header_obu()
364 priv->picture.av1.picture_parameter.seq_info_fields.enable_masked_compound = in sequence_header_obu()
366 priv->picture.av1.picture_parameter.seq_info_fields.enable_dual_filter = in sequence_header_obu()
[all …]
/external/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_enc_hevc.cpp36 pipe_h265_enc_picture_desc *picture) in d3d12_video_encoder_update_current_rate_control_hevc() argument
40 picture->rc.frame_rate_num; in d3d12_video_encoder_update_current_rate_control_hevc()
42 picture->rc.frame_rate_den; in d3d12_video_encoder_update_current_rate_control_hevc()
45 if (picture->roi.num > 0) in d3d12_video_encoder_update_current_rate_control_hevc()
49 switch (picture->rc.rate_ctrl_method) { in d3d12_video_encoder_update_current_rate_control_hevc()
55 picture->rc.target_bitrate; in d3d12_video_encoder_update_current_rate_control_hevc()
57 picture->rc.peak_bitrate; in d3d12_video_encoder_update_current_rate_control_hevc()
68 } else if (picture->rc.app_requested_hrd_buffer) { in d3d12_video_encoder_update_current_rate_control_hevc()
70 …VBV Size = %d (bits) - VBV Initial Capacity %d (bits)\n", picture->rc.vbv_buffer_size, picture->rc… in d3d12_video_encoder_update_current_rate_control_hevc()
74 picture->rc.vbv_buffer_size; in d3d12_video_encoder_update_current_rate_control_hevc()
[all …]
Dd3d12_video_enc_h264.cpp36 pipe_h264_enc_picture_desc *picture) in d3d12_video_encoder_update_current_rate_control_h264() argument
40 picture->rate_ctrl[0].frame_rate_num; in d3d12_video_encoder_update_current_rate_control_h264()
42 picture->rate_ctrl[0].frame_rate_den; in d3d12_video_encoder_update_current_rate_control_h264()
45 if (picture->roi.num > 0) in d3d12_video_encoder_update_current_rate_control_h264()
49 switch (picture->rate_ctrl[0].rate_ctrl_method) { in d3d12_video_encoder_update_current_rate_control_h264()
55 picture->rate_ctrl[0].target_bitrate; in d3d12_video_encoder_update_current_rate_control_h264()
57 picture->rate_ctrl[0].peak_bitrate; in d3d12_video_encoder_update_current_rate_control_h264()
68 } else if (picture->rate_ctrl[0].app_requested_hrd_buffer) { in d3d12_video_encoder_update_current_rate_control_h264()
70 …ize = %d (bits) - VBV Initial Capacity %d (bits)\n", picture->rate_ctrl[0].vbv_buffer_size, pictur… in d3d12_video_encoder_update_current_rate_control_h264()
74 picture->rate_ctrl[0].vbv_buffer_size; in d3d12_video_encoder_update_current_rate_control_h264()
[all …]
/external/openscreen/cast/standalone_receiver/
Dsdl_video_player.cc81 const AVFrame& picture = *frame.decoded_frame; in RenderNextFrame() local
83 // Punt if the |picture| format is not compatible with those supported by SDL. in RenderNextFrame()
84 const uint32_t sdl_format = GetSDLPixelFormat(picture); in RenderNextFrame()
87 error << "SDL does not support AVPixelFormat " << picture.format; in RenderNextFrame()
92 // that of |picture|. If not, release the existing texture. in RenderNextFrame()
99 if (texture_format != sdl_format || texture_width != picture.width || in RenderNextFrame()
100 texture_height != picture.height) { in RenderNextFrame()
106 // that of |picture|. in RenderNextFrame()
110 error << SDL_GetPixelFormatName(sdl_format) << " at " << picture.width in RenderNextFrame()
111 << "×" << picture.height; in RenderNextFrame()
[all …]
/external/webp/src/webp/
Dencode.h88 WEBP_HINT_PICTURE, // digital picture, like portrait, inner shot
125 int show_compressed; // if true, export the compressed picture back.
156 // of source picture. These presets are used when calling WebPConfigPreset().
159 WEBP_PRESET_PICTURE, // digital picture, like portrait, inner shot
238 // data/data_size is the segment of data to write, and 'picture' is for
239 // reference (and so one can make use of picture->custom_ptr).
241 const WebPPicture* picture);
262 const uint8_t* data, size_t data_size, const WebPPicture* picture);
267 typedef int (*WebPProgressHook)(int percent, const WebPPicture* picture);
285 VP8_ENC_ERROR_BAD_DIMENSION, // picture has invalid width/height
[all …]
/external/skia/tests/
DPictureShaderTest.cpp33 sk_sp<SkPicture> picture = makePicture(); in DEF_TEST() local
34 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
40 paint.setShader(picture->makeShader(SkTileMode::kRepeat, SkTileMode::kRepeat, in DEF_TEST()
45 REPORTER_ASSERT(reporter, !picture->unique()); in DEF_TEST()
48 // Draw another picture shader to have a chance to purge. in DEF_TEST()
58 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
62 * Check caching of picture-shaders
65 * - after deleting the picture, the cache entry is purged
68 auto picture = []() { in DEF_TEST() local
73 REPORTER_ASSERT(reporter, picture->unique()); in DEF_TEST()
[all …]
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_video.c41 unwrap_refrence_frames(struct pipe_picture_desc **picture) in unwrap_refrence_frames() argument
44 if ((*picture)->entry_point != PIPE_VIDEO_ENTRYPOINT_BITSTREAM) in unwrap_refrence_frames()
46 switch (u_reduce_video_profile((*picture)->profile)) { in unwrap_refrence_frames()
48 …struct pipe_mpeg12_picture_desc *copied = mem_dup(*picture, sizeof(struct pipe_mpeg12_picture_desc… in unwrap_refrence_frames()
51 *picture = (struct pipe_picture_desc*)copied; in unwrap_refrence_frames()
55 …struct pipe_mpeg4_picture_desc *copied = mem_dup(*picture, sizeof(struct pipe_mpeg4_picture_desc)); in unwrap_refrence_frames()
58 *picture = (struct pipe_picture_desc*)copied; in unwrap_refrence_frames()
62 … struct pipe_vc1_picture_desc *copied = mem_dup(*picture, sizeof(struct pipe_vc1_picture_desc)); in unwrap_refrence_frames()
65 *picture = (struct pipe_picture_desc*)copied; in unwrap_refrence_frames()
69 … struct pipe_h264_picture_desc *copied = mem_dup(*picture, sizeof(struct pipe_h264_picture_desc)); in unwrap_refrence_frames()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowPictureTest.java5 import android.graphics.Picture;
15 Picture picture = new Picture(); in beginRecordingSetsHeightAndWidth() local
16 picture.beginRecording(100, 100); in beginRecordingSetsHeightAndWidth()
17 assertThat(picture.getHeight()).isEqualTo(100); in beginRecordingSetsHeightAndWidth()
18 assertThat(picture.getWidth()).isEqualTo(100); in beginRecordingSetsHeightAndWidth()
23 Picture originalPicture = new Picture(); in copyConstructor()
26 Picture copiedPicture = new Picture(originalPicture); in copyConstructor()
/external/flac/src/test_grabbag/picture/
Dmain.c1 /* test_picture - Simple tester for picture routines in grabbag
87 obj->data.picture.type, in test_one_picture()
88 obj->data.picture.type < FLAC__STREAM_METADATA_PICTURE_TYPE_UNDEFINED? in test_one_picture()
89 FLAC__StreamMetadata_Picture_TypeString[obj->data.picture.type] : "UNDEFINED", in test_one_picture()
90 obj->data.picture.mime_type, in test_one_picture()
91 obj->data.picture.description, in test_one_picture()
92 obj->data.picture.width, in test_one_picture()
93 obj->data.picture.height, in test_one_picture()
94 obj->data.picture.depth, in test_one_picture()
95 obj->data.picture.colors, in test_one_picture()
[all …]
/external/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c48 templat.max_references = priv->picture.h264.num_ref_frames; in vid_dec_h264_BeginFrame()
59 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
70 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
72 priv->picture.h264.slice_count = 0; in vid_dec_h264_BeginFrame()
73 priv->codec->begin_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_BeginFrame()
117 priv->codec->end_frame(priv->codec, priv->target, &priv->picture.base); in vid_dec_h264_EndFrame()
121 priv->picture.h264.frame_num_list[0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
122 priv->picture.h264.field_order_cnt_list[0][0] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
123 priv->picture.h264.field_order_cnt_list[0][1] = priv->picture.h264.frame_num; in vid_dec_h264_EndFrame()
125 top_field_first = priv->picture.h264.field_order_cnt[0] < priv->picture.h264.field_order_cnt[1]; in vid_dec_h264_EndFrame()
[all …]
/external/webp/examples/
Dcwebp.c306 // Dumps a picture as a PGM file using the IMC4 layout.
307 static int DumpPicture(const WebPPicture* const picture, const char* PGM_name) { in DumpPicture() argument
310 const int uv_width = (picture->width + 1) / 2; in DumpPicture()
311 const int uv_height = (picture->height + 1) / 2; in DumpPicture()
312 const int stride = (picture->width + 1) & ~1; in DumpPicture()
313 const uint8_t* src_y = picture->y; in DumpPicture()
314 const uint8_t* src_u = picture->u; in DumpPicture()
315 const uint8_t* src_v = picture->v; in DumpPicture()
316 const uint8_t* src_a = picture->a; in DumpPicture()
318 WebPPictureHasTransparency(picture) ? picture->height : 0; in DumpPicture()
[all …]
/external/python/uritemplates/tests/fixtures/
Dextended-tests.json7 "fields" : ["id", "name", "picture"],
32 "/person?fields=id,name,picture&first_name=John&last.name=Doe&token=12345",
33 "/person?fields=id,picture,name&first_name=John&last.name=Doe&token=12345",
34 "/person?fields=picture,name,id&first_name=John&last.name=Doe&token=12345",
35 "/person?fields=picture,id,name&first_name=John&last.name=Doe&token=12345",
36 "/person?fields=name,picture,id&first_name=John&last.name=Doe&token=12345",
37 "/person?fields=name,id,picture&first_name=John&last.name=Doe&token=12345"]
60 "fields" : ["id", "name", "picture"],
72 "/person/albums?fields=id,name,picture&token=12345",
73 "/person/albums?fields=id,picture,name&token=12345",
[all …]
/external/flac/test/metaflac-test-files/
Dcase59-expect.meta47 type: 6 (PICTURE)
60 type: 6 (PICTURE)
73 type: 6 (PICTURE)
86 type: 6 (PICTURE)
99 type: 6 (PICTURE)
112 type: 6 (PICTURE)
125 type: 6 (PICTURE)
138 type: 6 (PICTURE)
151 type: 6 (PICTURE)
164 type: 6 (PICTURE)
[all …]
Dcase58-expect.meta47 type: 6 (PICTURE)
60 type: 6 (PICTURE)
73 type: 6 (PICTURE)
86 type: 6 (PICTURE)
99 type: 6 (PICTURE)
112 type: 6 (PICTURE)
125 type: 6 (PICTURE)
138 type: 6 (PICTURE)
151 type: 6 (PICTURE)
164 type: 6 (PICTURE)
[all …]
Dcase57-expect.meta47 type: 6 (PICTURE)
60 type: 6 (PICTURE)
73 type: 6 (PICTURE)
86 type: 6 (PICTURE)
99 type: 6 (PICTURE)
112 type: 6 (PICTURE)
125 type: 6 (PICTURE)
138 type: 6 (PICTURE)
151 type: 6 (PICTURE)
164 type: 6 (PICTURE)
[all …]
/external/libmpeg2/decoder/
Dimpeg2d_globals.c46 /* frame prediction in P frame picture */
49 /* field prediction in P frame picture */
52 /* frame prediction in B frame picture */
55 /* field prediction in B frame picture */
58 /* dual prime prediction in P frame picture */
62 /* field prediction in P field picture */
64 /* 16x8 prediction in P field picture */
66 /* field prediction in B field picture */
68 /* 16x8 prediction in B field picture */
70 /* dual prime prediction in P field picture */
[all …]

12345678910>>...53